Commit d276936cd389aba175255ea684fee98b55cfce0f

Authored by knodlseder
1 parent ab3d8d54

add mwl interface

configure.ac
... ... @@ -339,6 +339,9 @@ fi
339 339 dnl =========================================
340 340 dnl Checks for instrument specific interfaces
341 341 dnl =========================================
  342 +#
  343 +AM_CONDITIONAL(WITH_INST_MWL, test "xyes" = "xyes")
  344 +
342 345 # Checks for the existence of instrument specific interfaces
343 346 AC_CHECK_FILE([inst/Makefile.am],
344 347 [with_inst=yes],
... ... @@ -387,22 +390,17 @@ AC_CONFIG_FILES([Makefile
387 390 src/obs/Makefile
388 391 src/model/Makefile
389 392 src/app/Makefile
  393 + inst/Makefile
  394 + inst/mwl/Makefile
390 395 include/Makefile
391 396 test/Makefile
392 397 pyext/Makefile
393 398 pyext/setup.py
394 399 gammalib.pc])
395   -if test "x$with_inst" = "xyes"; then
396   - AC_CONFIG_FILES([inst/Makefile])
397   -fi
398 400 if test "x$with_cta" = "xyes"; then
399 401 AC_CONFIG_FILES([inst/cta/Makefile])
400   -# AC_CONFIG_FILES([inst/cta/pyext/Makefile])
401   -# AC_CONFIG_FILES([inst/cta/pyext/setup.py])
402 402 fi
403 403 if test "x$with_lat" = "xyes"; then
404 404 AC_CONFIG_FILES([inst/lat/Makefile])
405   -# AC_CONFIG_FILES([inst/lat/pyext/Makefile])
406   -# AC_CONFIG_FILES([inst/lat/pyext/setup.py])
407 405 fi
408 406 AC_OUTPUT
... ...
inst/Makefile.am
... ... @@ -9,5 +9,5 @@ INST_LAT = lat
9 9 endif
10 10  
11 11 # Set sub directories
12   -SUBDIRS = $(INST_CTA) $(INST_LAT)
  12 +SUBDIRS = mwl $(INST_CTA) $(INST_LAT)
13 13  
... ...