2 # Makefile template for the Alice HLT PHOS library
6 EXTRA_DIST = AliHLTPHOSLinkDef.h
8 AM_CPPFLAGS = @ALIROOT_CPPFLAGS@ \
10 -I$(top_srcdir)/BASE \
11 -I$(top_srcdir)/BASE/util
15 lib_LTLIBRARIES = libAliHLTPHOS.la
18 libAliHLTPHOS_la_SOURCES = AliHLTPHOSPulseGenerator.cxx \
19 AliHLTPHOSRawAnalyzerPeakFinder.cxx \
20 AliHLTPHOSRawAnalyzerCrude.cxx \
21 AliHLTPHOSRawAnalyzerKLevel.cxx \
22 AliHLTPHOSRawAnalyzerLMS.cxx \
23 AliHLTPHOSRawAnalyzerChiSquareFit.cxx \
24 AliHLTPHOSRawAnalyzer.cxx \
25 AliHLTPHOSEmcCalibData.cxx \
26 AliHLTPHOSRawAnalyzerComponent.cxx \
27 AliHLTPHOSRawAnalyzerCrudeComponent.cxx \
28 AliHLTPHOSRawAnalyzerPeakFinderComponent.cxx \
29 AliHLTPHOSDefinitions.cxx \
30 AliHLTPHOSModuleMergerComponent.cxx \
31 AliHLTPHOSFileWriterComponent.cxx \
32 AliHLTPHOSFileWriter.cxx \
33 AliHLTPHOSDDLPackedFileWriter.cxx \
34 AliHLTPHOSCellEnergiesFileWriter.cxx \
35 AliHLTPHOSHistogramProducerComponent.cxx \
36 AliHLTPHOSRcuHistogramProducer.cxx \
37 AliHLTPHOSRcuHistogramProducerComponent.cxx \
38 AliHLTPHOSDDLDecoderComponent.cxx \
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 \
49 AliHLTPHOSPhysicsAnalyzerPeakFitter.cxx \
50 AliHLTDDLDecoder.cxx \
52 AliHLTAltroBunch.cxx \
53 AliHLTPHOSMapper.cxx \
57 # class header files, the link definition for the root dictionary
58 # will be created from the names of the header files
59 CLASS_HDRS = AliHLTPHOSPulseGenerator.h \
60 AliHLTPHOSRawAnalyzer.h \
61 AliHLTPHOSRawAnalyzerPeakFinder.h \
62 AliHLTPHOSRawAnalyzerCrude.h \
63 AliHLTPHOSRawAnalyzerKLevel.h \
64 AliHLTPHOSRawAnalyzerLMS.h \
65 AliHLTPHOSRawAnalyzerChiSquareFit.h \
66 AliHLTPHOSEmcCalibData.h \
67 AliHLTPHOSRawAnalyzerComponent.h \
68 AliHLTPHOSRawAnalyzerCrudeComponent.h \
69 AliHLTPHOSRawAnalyzerPeakFinderComponent.h \
70 AliHLTPHOSModuleMergerComponent.h \
71 AliHLTPHOSFileWriterComponent.h \
72 AliHLTPHOSFileWriter.h \
73 AliHLTPHOSDDLPackedFileWriter.h \
74 AliHLTPHOSCellEnergiesFileWriter.h \
75 AliHLTPHOSRcuHistogramProducer.h \
76 AliHLTPHOSRcuHistogramProducerComponent.h \
77 AliHLTPHOSHistogramProducerComponent.h \
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 \
89 AliHLTPHOSPhysicsAnalyzerPeakFitter.h \
95 pkginclude_HEADERS = $(CLASS_HDRS) \
96 AliHLTPHOSCommonDefs.h \
97 AliHLTPHOSDefinitions.h \
98 AliHLTPHOSModuleCellEnergyDataStruct.h\
99 AliHLTPHOSRcuCellEnergyDataStruct.h \
100 AliHLTPHOSValidCellDataStruct.h\
101 AliHLTPHOSDataHeaderStruct.h \
102 AliHLTPHOSModuleCellAccumulatedEnergyDataStruct.h \
103 AliHLTPHOSModuleCellAverageEnergyDataStruct.h \
104 AliHLTPHOSRcuCellAccumulatedEnergyDataStruct.h \
105 AliHLTPHOSRcuCellAverageEnergyDataStruct.h \
106 AliHLTPHOSRcuChannelDataStruct.h \
107 AliHLTPHOSValidChannelDataStruct.h
108 AliHLTPHOSClusterDataStruct.h \
109 AliHLTPHOSRecPointDataStruct.h \
110 AliHLTPHOSPhysicsDefinitions.h \
111 AliHLTPHOSRecPointListDataStruct.h \
114 # version info and linking flags for the library
115 libAliHLTPHOS_la_LIBADD = $(top_builddir)/BASE/util/libAliHLTUtil.la
116 libAliHLTPHOS_la_LDFLAGS = -L@ROOTLIBDIR@ \
126 # automatic generation of data and time of library build
127 COMPILE_INFO = AliHLTPHOSCompileInfo.cxx
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
135 nodist_libAliHLTPHOS_la_SOURCES = $(COMPILE_INFO) \
138 CLEANFILES = $(COMPILE_INFO)
140 include $(top_srcdir)/make.dict
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;}' >> $@
150 @echo 'void __init()'>> $@
151 @echo '{std::cout << "lib$(MODULE) build on " << __DATE__ << " - " << __TIME__ << std::endl;}'>> $@