2 # Makefile template for the Alice HLT offline QA
11 lib_LTLIBRARIES = libHLTqadm.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 libHLTqadm.pkg
18 # includes another common configuration file
19 MODDIR = $(top_srcdir)
20 PKGDEF = $(MODDIR)/libHLTqadm.pkg
21 include $(top_srcdir)/libHLTqadm.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 libHLTqadm_la_SOURCES = $(MODULE_SRCS)
34 pkginclude_HEADERS = $(MODULE_HDRS)
37 libHLTqadm_la_LDFLAGS = -L@ROOTLIBDIR@ \
41 -version-info $(LIBRARY_VERSION)
43 # automatic generation of data and time of library build
44 COMPILE_INFO = HLTqadmCompileInfo.cxx
46 # set the file name for the generated root dictionary
47 DICTCPP = HLTqadm-DICT.cxx
48 nodist_libHLTqadm_la_SOURCES = $(COMPILE_INFO) \
51 CLEANFILES = $(COMPILE_INFO)
53 include $(top_srcdir)/make.dict
55 $(COMPILE_INFO): $(libHLTqadm_la_SOURCES) $(pkginclude_HEADERS) $(noinst_HEADERS) Makefile.am
56 @echo '//automatically generated compilation info' > $@
57 @echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@
58 @echo '//add changes in Makefile.am' >> $@
59 @echo 'extern "C" void CompileInfo(const char*& date, const char*& time)' >> $@
60 @echo '{date=__DATE__; time=__TIME__; return;}' >> $@