2 # Makefile for the Alice dimuon HLT library
9 PKGDEF = $(MODDIR)/libAliHLTMUON.pkg
10 include $(top_srcdir)/libAliHLTMUON.pkg
12 lib_LTLIBRARIES = libAliHLTMUON.la
14 LIBRARY_VERSION = '2:0:0'
17 # The source files are specified in libAliHLTMUON.pkg
18 libAliHLTMUON_la_SOURCES = $(MODULE_SRCS)
21 # The header files are specified in libAliHLTMUON.pkg
22 noinst_HEADERS = $(MODULE_HDRS)
24 # compilation flags of the library
25 AM_CPPFLAGS = -DMODULE=$(MODULE) \
27 $(foreach i, $(EINCLUDE), \
28 $(shell echo $(i) | sed -e "/HLT\//!d" -e "s|HLT/|-I$(top_srcdir)/|")) \
29 $(foreach i, $(EINCLUDE), \
30 $(shell echo $(i) | sed -e "/HLT\//d" -e "s|^|-I$(ALICE_ROOT)/|"))
32 # linking flags of the library
33 libAliHLTMUON_la_LIBADD = $(top_builddir)/BASE/util/libAliHLTUtil.la
34 libAliHLTMUON_la_LDFLAGS = -L@ROOTLIBDIR@ \
40 -version-info $(LIBRARY_VERSION)
42 # automatic generation of data and time of library build
43 COMPILE_INFO = AliHLTMUONCompileInfo.cxx
45 # set the file name for the generated root dictionary
46 DICTCPP = AliHLTMUON-DICT.cxx
47 nodist_libAliHLTMUON_la_SOURCES = $(COMPILE_INFO) \
50 CLEANFILES = $(COMPILE_INFO)
52 include $(top_srcdir)/make.dict
54 $(COMPILE_INFO): $(libAliHLTMUON_la_SOURCES) $(pkginclude_HEADERS) $(noinst_HEADERS) Makefile.am
55 @echo '//automatically generated compilation info' > $@
56 @echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@
57 @echo '//add changes in Makefile.am' >> $@
58 @echo 'extern "C" void CompileInfo(const char*& date, const char*& time)' >> $@
59 @echo '{date=__DATE__; time=__TIME__; return;}' >> $@