2 # Makefile template for the Alice HLT TPC library
8 AM_CPPFLAGS = @ALIROOT_CPPFLAGS@ \
10 -I$(srcdir)/tracking \
11 -I$(top_srcdir)/BASE \
12 -I$(top_srcdir)/BASE/util
14 # generation of the TPC Pad mapping tables for the
15 # AliHLTTPCDigitReaderRaw reader
17 TPC_MAPPING_NOINST_SRC = mapping2array.cxx
18 TPC_MAPPING_INC = mapping_array_out.inc
19 TPC_MAPPING_NOINST_PGM = mapping2array
20 TPC_MAPPING_COMPONENTS = AliHLTTPCDigitReaderRaw.cxx
23 noinst_PROGRAMS = $(TPC_MAPPING_NOINST_PGM)
25 mapping2array_SOURCES = $(TPC_MAPPING_NOINST_SRC)
29 lib_LTLIBRARIES = libAliHLTTPC.la
31 # version info for the library
32 LIBRARY_VERSION = '4:0:1'
34 # MODDIR is set by the AliRoot build system and denotes the topdir
35 # of the module, we must set it since the package definition libAliHLTTPC.pkg
36 # includes another common configuration file
37 MODDIR = $(top_srcdir)
38 PKGDEF = $(MODDIR)/libAliHLTTPC.pkg
39 include $(top_srcdir)/libAliHLTTPC.pkg
42 libAliHLTTPC_la_SOURCES = $(MODULE_SRCS)
45 pkginclude_HEADERS = $(MODULE_HDRS)
48 libAliHLTTPC_la_LIBADD = $(top_builddir)/BASE/util/libAliHLTUtil.la
49 libAliHLTTPC_la_LDFLAGS = -L@ROOTLIBDIR@ \
53 -version-info $(LIBRARY_VERSION)
55 # automatic generation of data and time of library build
56 COMPILE_INFO = AliHLTTPCCompileInfo.cxx
58 # set the file name for the generated root dictionary
59 DICTCPP = AliHLTTPC-DICT.cxx
60 nodist_libAliHLTTPC_la_SOURCES = $(COMPILE_INFO) \
63 BUILT_SOURCES = $(TPC_MAPPING_INC)
64 CLEANFILES = $(COMPILE_INFO) \
67 include $(top_srcdir)/make.dict
69 SUBDIRS = . OnlineDisplay
71 $(TPC_MAPPING_INC): $(TPC_MAPPING_NOINST_PGM)
74 $(COMPILE_INFO): $(libAliHLTTPC_la_SOURCES) $(pkginclude_HEADERS) $(noinst_HEADERS) Makefile.am
75 @echo '//automatically generated compilation info' > $@
76 @echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@
77 @echo '//add changes in Makefile.am' >> $@
78 @echo 'extern "C" void CompileInfo( char*& date, char*& time)' >> $@
79 @echo '{date=__DATE__; time=__TIME__; return;}' >> $@