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
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)
@ROOTLIBS@ \
@ALIROOT_LDFLAGS@ \
@ALIROOT_LIBS@ \
+ @ALITPC_LIBS@ \
-version-info $(LIBRARY_VERSION)
# automatic generation of data and time of library build