]>
Commit | Line | Data |
---|---|---|
c160eda8 | 1 | # $Id$ |
2 | # Makefile template for the Alice HLT PHOS library | |
3 | ||
4 | MODULE = AliHLTPHOS | |
5 | ||
3cde846d | 6 | EXTRA_DIST = AliHLTPHOSLinkDef.h |
7 | ||
c160eda8 | 8 | AM_CPPFLAGS = @ALIROOT_CPPFLAGS@ \ |
d6e6cb01 | 9 | -I@ALICE_ROOT@/PHOS \ |
a742f6f8 | 10 | -I$(top_srcdir)/BASE \ |
11 | -I$(top_srcdir)/BASE/util | |
c160eda8 | 12 | |
7f985641 | 13 | |
c160eda8 | 14 | # library definition |
15 | lib_LTLIBRARIES = libAliHLTPHOS.la | |
16 | ||
17 | # library sources | |
65116e10 | 18 | libAliHLTPHOS_la_SOURCES = AliHLTPHOSPulseGenerator.cxx \ |
2f475e8c | 19 | AliHLTPHOSRawAnalyzerPeakFinder.cxx \ |
20 | AliHLTPHOSRawAnalyzerCrude.cxx \ | |
21 | AliHLTPHOSRawAnalyzerKLevel.cxx \ | |
22 | AliHLTPHOSRawAnalyzerLMS.cxx \ | |
23 | AliHLTPHOSRawAnalyzerChiSquareFit.cxx \ | |
24 | AliHLTPHOSRawAnalyzer.cxx \ | |
65116e10 | 25 | AliHLTPHOSEmcCalibData.cxx \ |
2f475e8c | 26 | AliHLTPHOSRawAnalyzerComponent.cxx \ |
27 | AliHLTPHOSRawAnalyzerCrudeComponent.cxx \ | |
28 | AliHLTPHOSRawAnalyzerPeakFinderComponent.cxx \ | |
0a211711 | 29 | AliHLTPHOSDefinitions.cxx \ |
10540789 | 30 | AliHLTPHOSModuleMergerComponent.cxx \ |
acd526ae | 31 | AliHLTPHOSFileWriterComponent.cxx \ |
02ba4bec | 32 | AliHLTPHOSFileWriter.cxx \ |
33 | AliHLTPHOSDDLPackedFileWriter.cxx \ | |
34 | AliHLTPHOSCellEnergiesFileWriter.cxx \ | |
7fb6a8e4 | 35 | AliHLTPHOSHistogramProducerComponent.cxx \ |
82c2cb3a | 36 | AliHLTPHOSRcuHistogramProducer.cxx \ |
37 | AliHLTPHOSRcuHistogramProducerComponent.cxx \ | |
f8d420c2 | 38 | AliHLTPHOSDDLDecoderComponent.cxx \ |
8119e88b | 39 | AliHLTPHOSDataCorruptor.cxx \ |
40 | AliHLTPHOSDataQualityMonitor.cxx \ | |
41 | AliHLTPHOSRcuDataQualityMonitorComponent.cxx \ | |
42 | AliHLTPHOSProcessor.cxx \ | |
43 | AliHLTPHOSClusterizer.cxx \ | |
44 | AliHLTPHOSClusterizerComponent.cxx \ | |
45 | AliHLTPHOSPhysicsAnalyzerSpectrum.cxx \ | |
46 | AliHLTPHOSPhysicsAnalyzerSpectrumComponent.cxx \ | |
47 | AliHLTPHOSPhysicsAnalyzer.cxx \ | |
48 | AliHLTPHOSPhysicsDefinitions.cxx \ | |
7b0fee08 | 49 | AliHLTPHOSPhysicsAnalyzerPeakFitter.cxx \ |
50 | AliHLTDDLDecoder.cxx \ | |
51 | AliHLTAltroData.cxx \ | |
52 | AliHLTAltroBunch.cxx \ | |
53 | AliHLTPHOSMapper.cxx \ | |
3660804b | 54 | PeakFinderTest.cxx |
c160eda8 | 55 | |
7b0fee08 | 56 | |
c160eda8 | 57 | # class header files, the link definition for the root dictionary |
58 | # will be created from the names of the header files | |
65116e10 | 59 | CLASS_HDRS = AliHLTPHOSPulseGenerator.h \ |
eccb54e8 | 60 | AliHLTPHOSRawAnalyzer.h \ |
2f475e8c | 61 | AliHLTPHOSRawAnalyzerPeakFinder.h \ |
62 | AliHLTPHOSRawAnalyzerCrude.h \ | |
63 | AliHLTPHOSRawAnalyzerKLevel.h \ | |
64 | AliHLTPHOSRawAnalyzerLMS.h \ | |
65 | AliHLTPHOSRawAnalyzerChiSquareFit.h \ | |
65116e10 | 66 | AliHLTPHOSEmcCalibData.h \ |
2f475e8c | 67 | AliHLTPHOSRawAnalyzerComponent.h \ |
68 | AliHLTPHOSRawAnalyzerCrudeComponent.h \ | |
0a211711 | 69 | AliHLTPHOSRawAnalyzerPeakFinderComponent.h \ |
10540789 | 70 | AliHLTPHOSModuleMergerComponent.h \ |
c9d0ec1f | 71 | AliHLTPHOSFileWriterComponent.h \ |
72 | AliHLTPHOSFileWriter.h \ | |
73 | AliHLTPHOSDDLPackedFileWriter.h \ | |
7fb6a8e4 | 74 | AliHLTPHOSCellEnergiesFileWriter.h \ |
82c2cb3a | 75 | AliHLTPHOSRcuHistogramProducer.h \ |
76 | AliHLTPHOSRcuHistogramProducerComponent.h \ | |
f8d420c2 | 77 | AliHLTPHOSHistogramProducerComponent.h \ |
8119e88b | 78 | AliHLTPHOSDDLDecoderComponent.h \ |
79 | AliHLTPHOSDataCorruptor.h \ | |
80 | AliHLTPHOSDataQualityMonitor.h \ | |
81 | AliHLTPHOSRcuDataQualityMonitorComponent.h \ | |
82 | AliHLTPHOSProcessor.h \ | |
83 | AliHLTPHOSClusterizer.h \ | |
84 | AliHLTPHOSClusterizerComponent.h \ | |
85 | AliHLTPHOSPhysicsAnalyzerSpectrum.h \ | |
86 | AliHLTPHOSPhysicsAnalyzerSpectrumComponent.h \ | |
87 | AliHLTPHOSPhysicsAnalyzer.h \ | |
88 | AliHLTPHOSPhysicsDefinitions.h \ | |
7b0fee08 | 89 | AliHLTPHOSPhysicsAnalyzerPeakFitter.h \ |
90 | AliHLTDDLDecoder.h \ | |
91 | AliHLTAltroData.h \ | |
92 | AliHLTPHOSMapper.h \ | |
93 | AliHLTPHOSMapper.h | |
2f0931cb | 94 | |
eccb54e8 | 95 | pkginclude_HEADERS = $(CLASS_HDRS) \ |
2f0931cb | 96 | AliHLTPHOSCommonDefs.h \ |
97 | AliHLTPHOSDefinitions.h \ | |
98 | AliHLTPHOSModuleCellEnergyDataStruct.h\ | |
99 | AliHLTPHOSRcuCellEnergyDataStruct.h \ | |
02ba4bec | 100 | AliHLTPHOSValidCellDataStruct.h\ |
7fb6a8e4 | 101 | AliHLTPHOSDataHeaderStruct.h \ |
102 | AliHLTPHOSModuleCellAccumulatedEnergyDataStruct.h \ | |
82c2cb3a | 103 | AliHLTPHOSModuleCellAverageEnergyDataStruct.h \ |
104 | AliHLTPHOSRcuCellAccumulatedEnergyDataStruct.h \ | |
f8d420c2 | 105 | AliHLTPHOSRcuCellAverageEnergyDataStruct.h \ |
106 | AliHLTPHOSRcuChannelDataStruct.h \ | |
7b0fee08 | 107 | AliHLTPHOSValidChannelDataStruct.h |
8119e88b | 108 | AliHLTPHOSClusterDataStruct.h \ |
109 | AliHLTPHOSRecPointDataStruct.h \ | |
110 | AliHLTPHOSPhysicsDefinitions.h \ | |
7b0fee08 | 111 | AliHLTPHOSRecPointListDataStruct.h \ |
112 | PhosConst.h | |
c160eda8 | 113 | |
114 | # version info and linking flags for the library | |
a742f6f8 | 115 | libAliHLTPHOS_la_LIBADD = $(top_builddir)/BASE/util/libAliHLTUtil.la |
c160eda8 | 116 | libAliHLTPHOS_la_LDFLAGS = -L@ROOTLIBDIR@ \ |
117 | @ROOTLIBS@ \ | |
118 | @ALIROOT_LDFLAGS@ \ | |
119 | @ALIROOT_LIBS@ \ | |
d6e6cb01 | 120 | -lRAWDatasim \ |
121 | -lPHOSbase \ | |
122 | -lPHOSsim \ | |
123 | -lPHOSrec \ | |
c160eda8 | 124 | -version-info 0:0:0 |
125 | ||
126 | # automatic generation of data and time of library build | |
127 | COMPILE_INFO = AliHLTPHOSCompileInfo.cxx | |
128 | ||
129 | # set the file name for the generated root dictionary | |
130 | DICTCPP = AliHLTPHOS-DICT.cxx | |
131 | # add additional include files which are necessary for the compilation of the | |
132 | # dictionary files and which are not part of the CLASS_HDRS | |
133 | DICTINCLUDE = | |
134 | ||
135 | nodist_libAliHLTPHOS_la_SOURCES = $(COMPILE_INFO) \ | |
136 | $(DICTCPP) | |
137 | ||
138 | CLEANFILES = $(COMPILE_INFO) | |
139 | ||
140 | include $(top_srcdir)/make.dict | |
141 | ||
142 | $(COMPILE_INFO): $(libAliHLTPHOS_la_SOURCES) $(pkginclude_HEADERS) $(noinst_HEADERS) Makefile.am | |
143 | @echo '//automatically generated compilation info' > $@ | |
144 | @echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@ | |
145 | @echo '//add changes in Makefile.am' >> $@ | |
146 | @echo '#include <iostream>' >> $@ | |
147 | @echo 'void $(MODULE)CompileInfo( char*& date, char*& time)' >> $@ | |
148 | @echo '{date=__DATE__; time=__TIME__; return;}' >> $@ | |
149 | @echo >> $@ | |
150 | @echo 'void __init()'>> $@ | |
151 | @echo '{std::cout << "lib$(MODULE) build on " << __DATE__ << " - " << __TIME__ << std::endl;}'>> $@ |