]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/PHOS/Makefile.am
83cecd70fee4232b61397ce2e2343546d8ed669e
[u/mrichter/AliRoot.git] / HLT / PHOS / Makefile.am
1 # $Id$
2 # Makefile template for the Alice HLT PHOS library
3
4 MODULE                          = AliHLTPHOS
5
6 AM_CPPFLAGS                     = @ALIROOT_CPPFLAGS@ \
7                                   -I$(top_srcdir)/BASE
8
9 # library definition
10 lib_LTLIBRARIES                 =  libAliHLTPHOS.la
11
12 # library sources
13 libAliHLTPHOS_la_SOURCES        = AliHLTPHOSPulseGenerator.cxx \
14                                   AliHLTPHOSRawAnalyzerPeakFinder.cxx \
15                                   AliHLTPHOSRawAnalyzerCrude.cxx \
16                                   AliHLTPHOSRawAnalyzerKLevel.cxx \
17                                   AliHLTPHOSRawAnalyzerLMS.cxx \
18                                   AliHLTPHOSRawAnalyzerChiSquareFit.cxx \
19                                   AliHLTPHOSRawAnalyzer.cxx \
20                                   AliHLTPHOSEmcCalibData.cxx \
21                                   AliHLTPHOSRawAnalyzerComponent.cxx \
22                                   AliHLTPHOSRawAnalyzerCrudeComponent.cxx \
23                                   AliHLTPHOSRawAnalyzerPeakFinderComponent.cxx \
24                                   AliHLTPHOSDefinitions.cxx \
25                                   AliHLTPHOSModuleMergerComponent.cxx \
26                                   PeakFinderTest.cxx
27
28 # class header files, the link definition for the root dictionary
29 # will be created from the names of the header files
30 CLASS_HDRS                      = AliHLTPHOSPulseGenerator.h \
31                                   AliHLTPHOSRawAnalyzer.h \
32                                   AliHLTPHOSRawAnalyzerPeakFinder.h \
33                                   AliHLTPHOSRawAnalyzerCrude.h \
34                                   AliHLTPHOSRawAnalyzerKLevel.h \
35                                   AliHLTPHOSRawAnalyzerLMS.h \
36                                   AliHLTPHOSRawAnalyzerChiSquareFit.h \
37                                   AliHLTPHOSEmcCalibData.h \
38                                   AliHLTPHOSRawAnalyzerComponent.h \
39                                   AliHLTPHOSRawAnalyzerCrudeComponent.h \
40                                   AliHLTPHOSRawAnalyzerPeakFinderComponent.h \
41                                   AliHLTPHOSDefinitions.h \
42                                   AliHLTPHOSModuleMergerComponent.h \
43                                   AliHLTPHOSRcuCellEnergyData.h \
44                                   AliHLTPHOSModuleCellEnergyData.h
45
46 pkginclude_HEADERS              = $(CLASS_HDRS) \
47                                   AliHLTPHOSCommonDefs.h
48
49 # version info and linking flags for the library
50 libAliHLTPHOS_la_LDFLAGS        = -L@ROOTLIBDIR@ \
51                                   @ROOTLIBS@ \
52                                   @ALIROOT_LDFLAGS@ \
53                                   @ALIROOT_LIBS@ \
54                                   -version-info 0:0:0
55
56 # automatic generation of data and time of library build
57 COMPILE_INFO                    =  AliHLTPHOSCompileInfo.cxx
58
59 # set the file name for the generated root dictionary
60 DICTCPP                         =  AliHLTPHOS-DICT.cxx
61 # add additional include files which are necessary for the compilation of the 
62 # dictionary files and which are not part of the CLASS_HDRS
63 DICTINCLUDE                     = 
64
65 nodist_libAliHLTPHOS_la_SOURCES = $(COMPILE_INFO) \
66                                   $(DICTCPP)
67
68 CLEANFILES                      = $(COMPILE_INFO)
69
70 include $(top_srcdir)/make.dict
71
72 $(COMPILE_INFO): $(libAliHLTPHOS_la_SOURCES) $(pkginclude_HEADERS) $(noinst_HEADERS) Makefile.am
73         @echo '//automatically generated compilation info' > $@
74         @echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@
75         @echo '//add changes in Makefile.am' >> $@
76         @echo '#include <iostream>' >> $@
77         @echo 'void $(MODULE)CompileInfo( char*& date, char*& time)' >> $@
78         @echo '{date=__DATE__; time=__TIME__; return;}' >> $@
79         @echo >> $@
80         @echo 'void __init()'>> $@
81         @echo '{std::cout << "lib$(MODULE) build on " << __DATE__ << " - " << __TIME__ << std::endl;}'>> $@