]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/BASE/Makefile.am
Cluster indices are published via AliKalmanTrack::GetClusterIndex()
[u/mrichter/AliRoot.git] / HLT / BASE / Makefile.am
index 5a9891c6b6e199a3c775add40de203e7130bcd43..a474be4791e60e925f3ddbc05db4ce9e5fbf9f4c 100644 (file)
@@ -8,11 +8,13 @@
 #    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
 
@@ -20,7 +22,7 @@ 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
@@ -29,6 +31,13 @@ MODDIR                               = $(top_srcdir)
 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)
 
@@ -38,6 +47,7 @@ pkginclude_HEADERS            = $(MODULE_HDRS)
 # linker flags
 libHLTbase_la_LDFLAGS          = -L@ROOTLIBDIR@ \
                                  @ROOTLIBS@ \
+                                 @ALIHLTBASE_LIBS@ \
                                  -version-info $(LIBRARY_VERSION)
 
 # automatic generation of data and time of library build
@@ -56,5 +66,5 @@ $(COMPILE_INFO): $(libHLTbase_la_SOURCES) $(pkginclude_HEADERS) $(noinst_HEADERS
        @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;}' >> $@