]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/PHOS/Makefile.am
HLT base
[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 EXTRA_DIST                      = AliHLTPHOSLinkDef.h
7
8 AM_CPPFLAGS                     = @ALIROOT_CPPFLAGS@ \
9                                   -I$(top_srcdir)/BASE \
10                                   -I$(top_srcdir)/BASE/util
11
12 # library definition
13 lib_LTLIBRARIES                 =  libAliHLTPHOS.la
14
15 # library sources
16 libAliHLTPHOS_la_SOURCES        = AliHLTPHOSPulseGenerator.cxx \
17                                   AliHLTPHOSRawAnalyzerPeakFinder.cxx \
18                                   AliHLTPHOSRawAnalyzerCrude.cxx \
19                                   AliHLTPHOSRawAnalyzerKLevel.cxx \
20                                   AliHLTPHOSRawAnalyzerLMS.cxx \
21                                   AliHLTPHOSRawAnalyzerChiSquareFit.cxx \
22                                   AliHLTPHOSRawAnalyzer.cxx \
23                                   AliHLTPHOSEmcCalibData.cxx \
24                                   AliHLTPHOSRawAnalyzerComponent.cxx \
25                                   AliHLTPHOSRawAnalyzerCrudeComponent.cxx \
26                                   AliHLTPHOSRawAnalyzerPeakFinderComponent.cxx \
27                                   AliHLTPHOSDefinitions.cxx \
28                                   AliHLTPHOSModuleMergerComponent.cxx \
29                                   AliHLTPHOSFileWriterComponent.cxx \
30                                   AliHLTPHOSFileWriter.cxx \
31                                   AliHLTPHOSDDLPackedFileWriter.cxx \
32                                   AliHLTPHOSCellEnergiesFileWriter.cxx \
33                                   AliHLTPHOSHistogramProducerComponent.cxx \
34                                   AliHLTPHOSRcuHistogramProducer.cxx \
35                                   AliHLTPHOSRcuHistogramProducerComponent.cxx \
36                                   PeakFinderTest.cxx
37
38 # class header files, the link definition for the root dictionary
39 # will be created from the names of the header files
40 CLASS_HDRS                      = AliHLTPHOSPulseGenerator.h \
41                                   AliHLTPHOSRawAnalyzer.h \
42                                   AliHLTPHOSRawAnalyzerPeakFinder.h \
43                                   AliHLTPHOSRawAnalyzerCrude.h \
44                                   AliHLTPHOSRawAnalyzerKLevel.h \
45                                   AliHLTPHOSRawAnalyzerLMS.h \
46                                   AliHLTPHOSRawAnalyzerChiSquareFit.h \
47                                   AliHLTPHOSEmcCalibData.h \
48                                   AliHLTPHOSRawAnalyzerComponent.h \
49                                   AliHLTPHOSRawAnalyzerCrudeComponent.h \
50                                   AliHLTPHOSRawAnalyzerPeakFinderComponent.h \
51                                   AliHLTPHOSModuleMergerComponent.h \
52                                   AliHLTPHOSFileWriterComponent.h \
53                                   AliHLTPHOSFileWriter.h \
54                                   AliHLTPHOSDDLPackedFileWriter.h \
55                                   AliHLTPHOSCellEnergiesFileWriter.h \
56                                   AliHLTPHOSRcuHistogramProducer.h \
57                                   AliHLTPHOSRcuHistogramProducerComponent.h \
58                                   AliHLTPHOSHistogramProducerComponent.h
59
60 pkginclude_HEADERS              = $(CLASS_HDRS) \
61                                   AliHLTPHOSCommonDefs.h \
62                                   AliHLTPHOSDefinitions.h \
63                                   AliHLTPHOSModuleCellEnergyDataStruct.h\
64                                   AliHLTPHOSRcuCellEnergyDataStruct.h \
65                                   AliHLTPHOSValidCellDataStruct.h\
66                                   AliHLTPHOSDataHeaderStruct.h \
67                                   AliHLTPHOSModuleCellAccumulatedEnergyDataStruct.h \
68                                   AliHLTPHOSModuleCellAverageEnergyDataStruct.h \
69                                   AliHLTPHOSRcuCellAccumulatedEnergyDataStruct.h \
70                                   AliHLTPHOSRcuCellAverageEnergyDataStruct.h
71
72
73 # version info and linking flags for the library
74 libAliHLTPHOS_la_LIBADD         = $(top_builddir)/BASE/util/libAliHLTUtil.la
75 libAliHLTPHOS_la_LDFLAGS        = -L@ROOTLIBDIR@ \
76                                   @ROOTLIBS@ \
77                                   @ALIROOT_LDFLAGS@ \
78                                   @ALIROOT_LIBS@ \
79                                   -version-info 0:0:0
80
81 # automatic generation of data and time of library build
82 COMPILE_INFO                    =  AliHLTPHOSCompileInfo.cxx
83
84 # set the file name for the generated root dictionary
85 DICTCPP                         =  AliHLTPHOS-DICT.cxx
86 # add additional include files which are necessary for the compilation of the 
87 # dictionary files and which are not part of the CLASS_HDRS
88 DICTINCLUDE                     = 
89
90 nodist_libAliHLTPHOS_la_SOURCES = $(COMPILE_INFO) \
91                                   $(DICTCPP)
92
93 CLEANFILES                      = $(COMPILE_INFO)
94
95 include $(top_srcdir)/make.dict
96
97 $(COMPILE_INFO): $(libAliHLTPHOS_la_SOURCES) $(pkginclude_HEADERS) $(noinst_HEADERS) Makefile.am
98         @echo '//automatically generated compilation info' > $@
99         @echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@
100         @echo '//add changes in Makefile.am' >> $@
101         @echo '#include <iostream>' >> $@
102         @echo 'void $(MODULE)CompileInfo( char*& date, char*& time)' >> $@
103         @echo '{date=__DATE__; time=__TIME__; return;}' >> $@
104         @echo >> $@
105         @echo 'void __init()'>> $@
106         @echo '{std::cout << "lib$(MODULE) build on " << __DATE__ << " - " << __TIME__ << std::endl;}'>> $@