2 # Makefile template for the Alice HLT reconstruction framework
10 AM_CPPFLAGS = -DMODULE=$(MODULE) \
16 lib_LTLIBRARIES = libHLTrec.la
18 # version info for the library
19 LIBRARY_VERSION = "$(LIBHLTREC_VERSION):0:0"
21 # MODDIR is set by the AliRoot build system and denotes the topdir
22 # of the module, we must set it since the package definition libHLTrec.pkg
23 # includes another common configuration file
24 MODDIR = $(top_srcdir)
25 PKGDEF = $(MODDIR)/libHLTrec.pkg
26 include $(top_srcdir)/libHLTrec.pkg
29 libHLTrec_la_SOURCES = $(MODULE_SRCS)
32 pkginclude_HEADERS = $(MODULE_HDRS)
35 libHLTrec_la_LDFLAGS = -L@ROOTLIBDIR@ \
37 -version-info $(LIBRARY_VERSION)
39 # automatic generation of data and time of library build
40 COMPILE_INFO = HLTRecCompileInfo.cxx
42 # set the file name for the generated root dictionary
43 DICTCPP = HLTrec-DICT.cxx
44 nodist_libHLTrec_la_SOURCES = $(COMPILE_INFO) \
47 CLEANFILES = $(COMPILE_INFO)
49 include $(top_srcdir)/make.dict
51 $(COMPILE_INFO): $(libHLTrec_la_SOURCES) $(pkginclude_HEADERS) $(noinst_HEADERS) Makefile.am
52 @echo '//automatically generated compilation info' > $@
53 @echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@
54 @echo '//add changes in Makefile.am' >> $@
55 @echo 'extern "C" void CompileInfo( char*& date, char*& time)' >> $@
56 @echo '{date=__DATE__; time=__TIME__; return;}' >> $@