4463a47dab59e49b7b5829156ee44ea624137822
[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:1: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                     = @HLTBASE_CPPFLAGS@ \
26                                   @ALIROOT_CPPFLAGS@ \
27                                   @ROOTCFLAGS@ \
28                                   -I$(top_srcdir)/BASE \
29                                   -I$(top_srcdir)/MUON \
30                                   -I$(top_srcdir)/MUON/OnlineAnalysis \
31                                   -I$(top_srcdir)/MUON/OfflineInterface \
32                                   -I$(ALICE_ROOT)/MUON \
33                                   -I$(ALICE_ROOT)/STEER \
34                                   -I$(ALICE_ROOT)/RAW
35
36 # linking flags of the library
37 libAliHLTMUON_la_LDFLAGS        = -L@ROOTLIBDIR@ \
38                                   @ROOTLIBS@ \
39                                   @HLTBASE_LDFLAGS@ \
40                                   @ALIROOT_LDFLAGS@ \
41                                   @ALIROOT_LIBS@ \
42                                   -version-info $(LIBRARY_VERSION)
43
44 # automatic generation of data and time of library build
45 COMPILE_INFO                    =  AliHLTMUONCompileInfo.cxx
46
47 # set the file name for the generated root dictionary
48 DICTCPP                         =  AliHLTMUON-DICT.cxx
49 nodist_libAliHLTMUON_la_SOURCES =  $(COMPILE_INFO) \
50                                    $(DICTCPP)
51
52 CLEANFILES                      = $(COMPILE_INFO)
53
54 include $(top_srcdir)/make.dict
55
56 $(COMPILE_INFO): $(libAliHLTTPC_la_SOURCES) $(pkginclude_HEADERS) $(noinst_HEADERS) Makefile.am
57         @echo '//automatically generated compilation info' > $@
58         @echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@
59         @echo '//add changes in Makefile.am' >> $@
60         @echo 'extern "C" void CompileInfo( char*& date, char*& time)' >> $@
61         @echo '{date=__DATE__; time=__TIME__; return;}' >> $@