]>
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 \ | |
7b0fee08 | 45 | AliHLTPHOSPhysicsAnalyzerPeakFitter.cxx \ |
46 | AliHLTDDLDecoder.cxx \ | |
47 | AliHLTAltroData.cxx \ | |
48 | AliHLTAltroBunch.cxx \ | |
49 | AliHLTPHOSMapper.cxx \ | |
fee1a544 | 50 | AliHLTPHOSRcuProcessor.cxx \ |
86dd2649 | 51 | AliHLTPHOSBase.cxx |
52 | ||
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 \ | |
7b0fee08 | 83 | AliHLTPHOSPhysicsAnalyzerPeakFitter.h \ |
84 | AliHLTDDLDecoder.h \ | |
85 | AliHLTAltroData.h \ | |
86 | AliHLTPHOSMapper.h \ | |
fee1a544 | 87 | AliHLTPHOSRcuProcessor.h \ |
d2b84453 | 88 | AliHLTPHOSBase.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 \ | |
86dd2649 | 107 | AliHLTPHOSRecPointListDataStruct.h |
c160eda8 | 108 | |
109 | # version info and linking flags for the library | |
a742f6f8 | 110 | libAliHLTPHOS_la_LIBADD = $(top_builddir)/BASE/util/libAliHLTUtil.la |
c160eda8 | 111 | libAliHLTPHOS_la_LDFLAGS = -L@ROOTLIBDIR@ \ |
112 | @ROOTLIBS@ \ | |
113 | @ALIROOT_LDFLAGS@ \ | |
114 | @ALIROOT_LIBS@ \ | |
d6e6cb01 | 115 | -lRAWDatasim \ |
116 | -lPHOSbase \ | |
117 | -lPHOSsim \ | |
118 | -lPHOSrec \ | |
c160eda8 | 119 | -version-info 0:0:0 |
120 | ||
121 | # automatic generation of data and time of library build | |
122 | COMPILE_INFO = AliHLTPHOSCompileInfo.cxx | |
123 | ||
124 | # set the file name for the generated root dictionary | |
125 | DICTCPP = AliHLTPHOS-DICT.cxx | |
126 | # add additional include files which are necessary for the compilation of the | |
127 | # dictionary files and which are not part of the CLASS_HDRS | |
128 | DICTINCLUDE = | |
129 | ||
130 | nodist_libAliHLTPHOS_la_SOURCES = $(COMPILE_INFO) \ | |
131 | $(DICTCPP) | |
132 | ||
133 | CLEANFILES = $(COMPILE_INFO) | |
134 | ||
135 | include $(top_srcdir)/make.dict | |
136 | ||
137 | $(COMPILE_INFO): $(libAliHLTPHOS_la_SOURCES) $(pkginclude_HEADERS) $(noinst_HEADERS) Makefile.am | |
138 | @echo '//automatically generated compilation info' > $@ | |
139 | @echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@ | |
140 | @echo '//add changes in Makefile.am' >> $@ | |
141 | @echo '#include <iostream>' >> $@ | |
142 | @echo 'void $(MODULE)CompileInfo( char*& date, char*& time)' >> $@ | |
143 | @echo '{date=__DATE__; time=__TIME__; return;}' >> $@ | |
144 | @echo >> $@ | |
145 | @echo 'void __init()'>> $@ | |
146 | @echo '{std::cout << "lib$(MODULE) build on " << __DATE__ << " - " << __TIME__ << std::endl;}'>> $@ |