# e.g. for libHLTbase, MODULE=HLTbase
MODULE = HLTbase
-SUBDIRS = . util
+if EN_HLT_UTIL
+UTIL_DIR=util
+endif
-EXTRA_DIST = HLTbaseLinkDef.h
+SUBDIRS = . $(UTIL_DIR) interface HOMER test
-AM_CPPFLAGS = -DMODULE=$(MODULE)
+EXTRA_DIST =
bin_SCRIPTS = setenv.sh setenv.csh
lib_LTLIBRARIES = libHLTbase.la
# version info for the library
-LIBRARY_VERSION = '4:0:1'
+LIBRARY_VERSION = '9:0:0'
# MODDIR is set by the AliRoot build system and denotes the topdir
# of the module, we must set it since the package definition libHLTbase.pkg
PKGDEF = $(MODDIR)/libHLTbase.pkg
include $(top_srcdir)/libHLTbase.pkg
+# compiler flags
+AM_CPPFLAGS = -DMODULE=$(MODULE) \
+ $(foreach i, $(EINCLUDE), \
+ $(shell echo $(i) | sed -e "/HLT\//!d" -e "s|HLT/|-I$(top_srcdir)/|")) \
+ $(foreach i, $(EINCLUDE), \
+ $(shell echo $(i) | sed -e "/HLT\//d" -e "s|^|-I$(ALICE_ROOT)/|"))
+
# library sources
libHLTbase_la_SOURCES = $(MODULE_SRCS)
# linker flags
libHLTbase_la_LDFLAGS = -L@ROOTLIBDIR@ \
@ROOTLIBS@ \
+ @ALIHLTBASE_LIBS@ \
-version-info $(LIBRARY_VERSION)
# automatic generation of data and time of library build
@echo '//automatically generated compilation info' > $@
@echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@
@echo '//add changes in Makefile.am' >> $@
- @echo 'void $(MODULE)CompileInfo( char*& date, char*& time)' >> $@
+ @echo 'void $(MODULE)CompileInfo(const char*& date, const char*& time)' >> $@
@echo '{date=__DATE__; time=__TIME__; return;}' >> $@