]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/TPCLib/Makefile.am
converting to component registration by library agent - getting rid of global objects
[u/mrichter/AliRoot.git] / HLT / TPCLib / Makefile.am
index 4f303555ec0317c91b44fefd4616bd15580be296..e78cba68e531ecc8aae97a5d4624371c5d5284db 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
@@ -29,7 +23,7 @@ endif
 lib_LTLIBRARIES                        =  libAliHLTTPC.la
 
 # version info for the library
-LIBRARY_VERSION                        = '4:0:1'
+LIBRARY_VERSION                        = '6:0:3'
 
 # MODDIR is set by the AliRoot build system and denotes the topdir
 # of the module, we must set it since the package definition libAliHLTTPC.pkg
@@ -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)
 
@@ -45,11 +46,13 @@ libAliHLTTPC_la_SOURCES             = $(MODULE_SRCS)
 pkginclude_HEADERS             = $(MODULE_HDRS)
 
 # linker flags
-libAliHLTTPC_la_LIBADD         = $(top_builddir)/BASE/util/libAliHLTUtil.la
+libAliHLTTPC_la_LIBADD         = $(top_builddir)/BASE/util/libAliHLTUtil.la \
+                                 $(top_builddir)/RCU/libAliHLTRCU.la
 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
@@ -66,7 +69,7 @@ CLEANFILES                    = $(COMPILE_INFO) \
 
 include $(top_srcdir)/make.dict
 
-SUBDIRS                        = . OnlineDisplay
+SUBDIRS                        = . test OnlineDisplay
 
 $(TPC_MAPPING_INC): $(TPC_MAPPING_NOINST_PGM)
        ./$<