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