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
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
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)
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
include $(top_srcdir)/make.dict
-SUBDIRS = . OnlineDisplay
+SUBDIRS = . test OnlineDisplay
$(TPC_MAPPING_INC): $(TPC_MAPPING_NOINST_PGM)
./$<