Updating libraries for standalone build process and removing duplicate entry in AliHL...
[u/mrichter/AliRoot.git] / HLT / MUON / Makefile.am
1 # $Id$
2 # Makefile for the Alice dimuon HLT library
3
4 MODULE                          = AliHLTMUON
5
6 EXTRA_DIST                      = 
7
8 MODDIR                          = $(top_srcdir)
9 PKGDEF                          = $(MODDIR)/libAliHLTMUON.pkg
10 include $(top_srcdir)/libAliHLTMUON.pkg
11
12 lib_LTLIBRARIES                 =  libAliHLTMUON.la
13
14 LIBRARY_VERSION                 = '0:9:0'
15
16 # library sources
17 # The source files are specified in libAliHLTMUON.pkg
18 libAliHLTMUON_la_SOURCES        =  $(MODULE_SRCS)
19
20 # library headers
21 # The header files are specified in libAliHLTMUON.pkg
22 noinst_HEADERS                  =  $(MODULE_HDRS)
23
24 # compilation flags of the library
25 AM_CPPFLAGS                     = -DMODULE=$(MODULE) \
26                                   @ROOTCFLAGS@ \
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)/|"))
31
32 # linking flags of the library
33 libAliHLTMUON_la_LIBADD         = $(top_builddir)/BASE/util/libAliHLTUtil.la
34 libAliHLTMUON_la_LDFLAGS        = -L@ROOTLIBDIR@ \
35                                   @ROOTLIBS@ \
36                                   @HLTBASE_LDFLAGS@ \
37                                   @ALIROOT_LDFLAGS@ \
38                                   @ALIROOT_LIBS@ \
39                                   -lRAWDatasim \
40                                   -lRAWDatarec \
41                                   -lRAWDatabase \
42                                   -lMUONcore \
43                                   -lMUONraw \
44                                   -lMUONbase \
45                                   -lMUONgeometry \
46                                   -lMUONmapping \
47                                   -lMUONcalib \
48                                   -lMUONsim \
49                                   -lMUONtrigger \
50                                   -lMUONevaluation \
51                                   -lMUONrec \
52                                   -lHLTbase \
53                                   -lAliHLTUtil \
54                                   -version-info $(LIBRARY_VERSION)
55
56 # automatic generation of data and time of library build
57 COMPILE_INFO                    =  AliHLTMUONCompileInfo.cxx
58
59 # set the file name for the generated root dictionary
60 DICTCPP                         =  AliHLTMUON-DICT.cxx
61 nodist_libAliHLTMUON_la_SOURCES =  $(COMPILE_INFO) \
62                                    $(DICTCPP)
63
64 CLEANFILES                      = $(COMPILE_INFO)
65
66 include $(top_srcdir)/make.dict
67
68 $(COMPILE_INFO): $(libAliHLTTPC_la_SOURCES) $(pkginclude_HEADERS) $(noinst_HEADERS) Makefile.am
69         @echo '//automatically generated compilation info' > $@
70         @echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@
71         @echo '//add changes in Makefile.am' >> $@
72         @echo 'extern "C" void CompileInfo( char*& date, char*& time)' >> $@
73         @echo '{date=__DATE__; time=__TIME__; return;}' >> $@