Fixing warnings
[u/mrichter/AliRoot.git] / HLT / MUON / Makefile.am
CommitLineData
5c561c5b 1# $Id$
2# Makefile for the Alice dimuon HLT library
3
4MODULE = AliHLTMUON
5
014e1e83 6EXTRA_DIST =
5c561c5b 7
8MODDIR = $(top_srcdir)
9PKGDEF = $(MODDIR)/libAliHLTMUON.pkg
10include $(top_srcdir)/libAliHLTMUON.pkg
11
76286e4c 12lib_LTLIBRARIES = libAliHLTMUON.la
5c561c5b 13
b00f5a54 14LIBRARY_VERSION = '2:0:0'
5c561c5b 15
16# library sources
76286e4c 17# The source files are specified in libAliHLTMUON.pkg
18libAliHLTMUON_la_SOURCES = $(MODULE_SRCS)
5c561c5b 19
20# library headers
76286e4c 21# The header files are specified in libAliHLTMUON.pkg
5c561c5b 22noinst_HEADERS = $(MODULE_HDRS)
23
24# compilation flags of the library
34e89120 25AM_CPPFLAGS = -DMODULE=$(MODULE) \
94cc9aab 26 @ROOTCFLAGS@ \
34e89120 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)/|"))
5c561c5b 31
32# linking flags of the library
122ac8b9 33libAliHLTMUON_la_LIBADD = $(top_builddir)/BASE/util/libAliHLTUtil.la
76286e4c 34libAliHLTMUON_la_LDFLAGS = -L@ROOTLIBDIR@ \
5c561c5b 35 @ROOTLIBS@ \
36 @HLTBASE_LDFLAGS@ \
37 @ALIROOT_LDFLAGS@ \
b3f74118 38 @ALIROOT_LIBS@ \
39 @ALIMUON_LIBS@ \
5c561c5b 40 -version-info $(LIBRARY_VERSION)
41
842fd76a 42# automatic generation of data and time of library build
43COMPILE_INFO = AliHLTMUONCompileInfo.cxx
44
5c561c5b 45# set the file name for the generated root dictionary
46DICTCPP = AliHLTMUON-DICT.cxx
842fd76a 47nodist_libAliHLTMUON_la_SOURCES = $(COMPILE_INFO) \
48 $(DICTCPP)
5c561c5b 49
842fd76a 50CLEANFILES = $(COMPILE_INFO)
5c561c5b 51
76286e4c 52include $(top_srcdir)/make.dict
5c561c5b 53
083a33ed 54$(COMPILE_INFO): $(libAliHLTMUON_la_SOURCES) $(pkginclude_HEADERS) $(noinst_HEADERS) Makefile.am
842fd76a 55 @echo '//automatically generated compilation info' > $@
56 @echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@
57 @echo '//add changes in Makefile.am' >> $@
179be78e 58 @echo 'extern "C" void CompileInfo(const char*& date, const char*& time)' >> $@
842fd76a 59 @echo '{date=__DATE__; time=__TIME__; return;}' >> $@