]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/TPCLib/Makefile.am
bugfix: corrected defines to use right default algorithms
[u/mrichter/AliRoot.git] / HLT / TPCLib / Makefile.am
index 4f303555ec0317c91b44fefd4616bd15580be296..292ad3b325cb871b7976c9425c36cc8b267fe1a1 100644 (file)
@@ -3,13 +3,7 @@
 
 MODULE                                 = AliHLTTPC
 
-EXTRA_DIST                     = AliHLTTPCLinkDef.h
-
-AM_CPPFLAGS                    = @ALIROOT_CPPFLAGS@         \
-                                 -I$(srcdir)                \
-                                 -I$(srcdir)/tracking       \
-                                 -I$(top_srcdir)/BASE       \
-                                 -I$(top_srcdir)/BASE/util
+EXTRA_DIST                     = 
 
 # generation of the TPC Pad mapping tables for the 
 # AliHLTTPCDigitReaderRaw reader
@@ -38,6 +32,13 @@ MODDIR                               = $(top_srcdir)
 PKGDEF                         = $(MODDIR)/libAliHLTTPC.pkg
 include $(top_srcdir)/libAliHLTTPC.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
 libAliHLTTPC_la_SOURCES                = $(MODULE_SRCS)
 
@@ -50,6 +51,7 @@ libAliHLTTPC_la_LDFLAGS               = -L@ROOTLIBDIR@ \
                                  @ROOTLIBS@ \
                                  @ALIROOT_LDFLAGS@ \
                                  @ALIROOT_LIBS@ \
+                                 @ALITPC_LIBS@ \
                                  -version-info  $(LIBRARY_VERSION)
 
 # automatic generation of data and time of library build