]>
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@ \ |
a742f6f8 | 9 | -I$(top_srcdir)/BASE \ |
10 | -I$(top_srcdir)/BASE/util | |
c160eda8 | 11 | |
12 | # library definition | |
13 | lib_LTLIBRARIES = libAliHLTPHOS.la | |
14 | ||
15 | # library sources | |
65116e10 | 16 | libAliHLTPHOS_la_SOURCES = AliHLTPHOSPulseGenerator.cxx \ |
2f475e8c | 17 | AliHLTPHOSRawAnalyzerPeakFinder.cxx \ |
18 | AliHLTPHOSRawAnalyzerCrude.cxx \ | |
19 | AliHLTPHOSRawAnalyzerKLevel.cxx \ | |
20 | AliHLTPHOSRawAnalyzerLMS.cxx \ | |
21 | AliHLTPHOSRawAnalyzerChiSquareFit.cxx \ | |
22 | AliHLTPHOSRawAnalyzer.cxx \ | |
65116e10 | 23 | AliHLTPHOSEmcCalibData.cxx \ |
2f475e8c | 24 | AliHLTPHOSRawAnalyzerComponent.cxx \ |
25 | AliHLTPHOSRawAnalyzerCrudeComponent.cxx \ | |
26 | AliHLTPHOSRawAnalyzerPeakFinderComponent.cxx \ | |
0a211711 | 27 | AliHLTPHOSDefinitions.cxx \ |
10540789 | 28 | AliHLTPHOSModuleMergerComponent.cxx \ |
acd526ae | 29 | AliHLTPHOSFileWriterComponent.cxx \ |
02ba4bec | 30 | AliHLTPHOSFileWriter.cxx \ |
31 | AliHLTPHOSDDLPackedFileWriter.cxx \ | |
32 | AliHLTPHOSCellEnergiesFileWriter.cxx \ | |
7fb6a8e4 | 33 | AliHLTPHOSHistogramProducerComponent.cxx \ |
82c2cb3a | 34 | AliHLTPHOSRcuHistogramProducer.cxx \ |
35 | AliHLTPHOSRcuHistogramProducerComponent.cxx \ | |
3660804b | 36 | PeakFinderTest.cxx |
c160eda8 | 37 | |
38 | # class header files, the link definition for the root dictionary | |
39 | # will be created from the names of the header files | |
65116e10 | 40 | CLASS_HDRS = AliHLTPHOSPulseGenerator.h \ |
eccb54e8 | 41 | AliHLTPHOSRawAnalyzer.h \ |
2f475e8c | 42 | AliHLTPHOSRawAnalyzerPeakFinder.h \ |
43 | AliHLTPHOSRawAnalyzerCrude.h \ | |
44 | AliHLTPHOSRawAnalyzerKLevel.h \ | |
45 | AliHLTPHOSRawAnalyzerLMS.h \ | |
46 | AliHLTPHOSRawAnalyzerChiSquareFit.h \ | |
65116e10 | 47 | AliHLTPHOSEmcCalibData.h \ |
2f475e8c | 48 | AliHLTPHOSRawAnalyzerComponent.h \ |
49 | AliHLTPHOSRawAnalyzerCrudeComponent.h \ | |
0a211711 | 50 | AliHLTPHOSRawAnalyzerPeakFinderComponent.h \ |
10540789 | 51 | AliHLTPHOSModuleMergerComponent.h \ |
c9d0ec1f | 52 | AliHLTPHOSFileWriterComponent.h \ |
53 | AliHLTPHOSFileWriter.h \ | |
54 | AliHLTPHOSDDLPackedFileWriter.h \ | |
7fb6a8e4 | 55 | AliHLTPHOSCellEnergiesFileWriter.h \ |
82c2cb3a | 56 | AliHLTPHOSRcuHistogramProducer.h \ |
57 | AliHLTPHOSRcuHistogramProducerComponent.h \ | |
7fb6a8e4 | 58 | AliHLTPHOSHistogramProducerComponent.h |
2f0931cb | 59 | |
eccb54e8 | 60 | pkginclude_HEADERS = $(CLASS_HDRS) \ |
2f0931cb | 61 | AliHLTPHOSCommonDefs.h \ |
62 | AliHLTPHOSDefinitions.h \ | |
63 | AliHLTPHOSModuleCellEnergyDataStruct.h\ | |
64 | AliHLTPHOSRcuCellEnergyDataStruct.h \ | |
02ba4bec | 65 | AliHLTPHOSValidCellDataStruct.h\ |
7fb6a8e4 | 66 | AliHLTPHOSDataHeaderStruct.h \ |
67 | AliHLTPHOSModuleCellAccumulatedEnergyDataStruct.h \ | |
82c2cb3a | 68 | AliHLTPHOSModuleCellAverageEnergyDataStruct.h \ |
69 | AliHLTPHOSRcuCellAccumulatedEnergyDataStruct.h \ | |
70 | AliHLTPHOSRcuCellAverageEnergyDataStruct.h | |
71 | ||
c160eda8 | 72 | |
73 | # version info and linking flags for the library | |
a742f6f8 | 74 | libAliHLTPHOS_la_LIBADD = $(top_builddir)/BASE/util/libAliHLTUtil.la |
c160eda8 | 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;}'>> $@ |