2 # Makefile template for the Alice HLT reconstruction framework
11 lib_LTLIBRARIES = libAliHLTComp.la
13 # version info for the library
14 LIBRARY_VERSION = "0:0:0"
16 # MODDIR is set by the AliRoot build system and denotes the topdir
17 # of the module, we must set it since the package definition libAliHLTComp.pkg
18 # includes another common configuration file
19 MODDIR = $(top_srcdir)
20 PKGDEF = $(MODDIR)/libAliHLTComp.pkg
21 include $(top_srcdir)/libAliHLTComp.pkg
24 AM_CPPFLAGS = -DMODULE=$(MODULE) \
26 $(foreach i, $(EINCLUDE), \
27 $(shell echo $(i) | sed -e "/HLT\//!d" -e "s|HLT/|-I$(top_srcdir)/|")) \
28 $(foreach i, $(EINCLUDE), \
29 $(shell echo $(i) | sed -e "/HLT\//d" -e "s|^|-I$(ALICE_ROOT)/|"))
31 libAliHLTComp_la_SOURCES = $(MODULE_SRCS)
34 pkginclude_HEADERS = $(MODULE_HDRS)
37 libAliHLTComp_la_LDFLAGS = -L@ROOTLIBDIR@ \
42 -version-info $(LIBRARY_VERSION)
44 # automatic generation of data and time of library build
45 COMPILE_INFO = AliHLTCompCompileInfo.cxx
47 # set the file name for the generated root dictionary
48 DICTCPP = AliHLTComp-DICT.cxx
49 nodist_libAliHLTComp_la_SOURCES = $(COMPILE_INFO) \
52 CLEANFILES = $(COMPILE_INFO)
54 include $(top_srcdir)/make.dict
56 $(COMPILE_INFO): $(libAliHLTComp_la_SOURCES) $(pkginclude_HEADERS) $(noinst_HEADERS) Makefile.am
57 @echo '//automatically generated compilation info' > $@
58 @echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@
59 @echo '//add changes in Makefile.am' >> $@
60 @echo 'extern "C" void CompileInfo(const char*& date, const char*& time)' >> $@
61 @echo '{date=__DATE__; time=__TIME__; return;}' >> $@