#
if !WITHONLYLAUNCHER
bin_PROGRAMS = SALOME_LauncherServer TestLauncher
+else
+ bin_PROGRAMS = TestLauncher
endif
SALOME_LauncherServer_SOURCES =\
TestLauncher_SOURCES = TestLauncher.cxx
-TestLauncher_CPPFLAGS = @LIBXML_INCLUDES@ -I$(srcdir)/../ResourcesManager
+TestLauncher_CPPFLAGS = @LIBXML_INCLUDES@ -I$(srcdir)/../ResourcesManager @LIBBATCH_INCLUDES@
+
+if WITH_LIBBATCH
+ TestLauncher_CPPFLAGS += -DWITH_LIBBATCH
+endif
TestLauncher_LDADD = @LIBXML_LIBS@ ../ResourcesManager/libResourcesManager.la libLauncher.la @LIBBATCH_LIBS@