]>
Commit | Line | Data |
---|---|---|
c160eda8 | 1 | # $Id$ |
2 | # Makefile template for the Alice HLT PHOS library | |
3 | ||
4 | MODULE = AliHLTPHOS | |
5 | ||
6 | AM_CPPFLAGS = @ALIROOT_CPPFLAGS@ \ | |
7 | -I$(top_srcdir)/BASE | |
8 | ||
9 | # library definition | |
10 | lib_LTLIBRARIES = libAliHLTPHOS.la | |
11 | ||
12 | # library sources | |
65116e10 | 13 | libAliHLTPHOS_la_SOURCES = AliHLTPHOSPulseGenerator.cxx \ |
2f475e8c | 14 | AliHLTPHOSRawAnalyzerPeakFinder.cxx \ |
15 | AliHLTPHOSRawAnalyzerCrude.cxx \ | |
16 | AliHLTPHOSRawAnalyzerKLevel.cxx \ | |
17 | AliHLTPHOSRawAnalyzerLMS.cxx \ | |
18 | AliHLTPHOSRawAnalyzerChiSquareFit.cxx \ | |
19 | AliHLTPHOSRawAnalyzer.cxx \ | |
65116e10 | 20 | AliHLTPHOSEmcCalibData.cxx \ |
2f475e8c | 21 | AliHLTPHOSRawAnalyzerComponent.cxx \ |
22 | AliHLTPHOSRawAnalyzerCrudeComponent.cxx \ | |
23 | AliHLTPHOSRawAnalyzerPeakFinderComponent.cxx \ | |
0a211711 | 24 | AliHLTPHOSDefinitions.cxx \ |
10540789 | 25 | AliHLTPHOSModuleMergerComponent.cxx \ |
3660804b | 26 | PeakFinderTest.cxx |
c160eda8 | 27 | |
28 | # class header files, the link definition for the root dictionary | |
29 | # will be created from the names of the header files | |
65116e10 | 30 | CLASS_HDRS = AliHLTPHOSPulseGenerator.h \ |
eccb54e8 | 31 | AliHLTPHOSRawAnalyzer.h \ |
2f475e8c | 32 | AliHLTPHOSRawAnalyzerPeakFinder.h \ |
33 | AliHLTPHOSRawAnalyzerCrude.h \ | |
34 | AliHLTPHOSRawAnalyzerKLevel.h \ | |
35 | AliHLTPHOSRawAnalyzerLMS.h \ | |
36 | AliHLTPHOSRawAnalyzerChiSquareFit.h \ | |
65116e10 | 37 | AliHLTPHOSEmcCalibData.h \ |
2f475e8c | 38 | AliHLTPHOSRawAnalyzerComponent.h \ |
39 | AliHLTPHOSRawAnalyzerCrudeComponent.h \ | |
0a211711 | 40 | AliHLTPHOSRawAnalyzerPeakFinderComponent.h \ |
10540789 | 41 | AliHLTPHOSDefinitions.h \ |
42 | AliHLTPHOSModuleMergerComponent.h \ | |
bde48b84 | 43 | AliHLTPHOSRcuCellEnergyDataStruct.h \ |
44 | AliHLTPHOSModuleCellEnergyDataStruct.h\ | |
45 | # AliHLTPHOSValidCellDataStruct.h | |
eccb54e8 | 46 | pkginclude_HEADERS = $(CLASS_HDRS) \ |
47 | AliHLTPHOSCommonDefs.h | |
c160eda8 | 48 | |
49 | # version info and linking flags for the library | |
50 | libAliHLTPHOS_la_LDFLAGS = -L@ROOTLIBDIR@ \ | |
51 | @ROOTLIBS@ \ | |
52 | @ALIROOT_LDFLAGS@ \ | |
53 | @ALIROOT_LIBS@ \ | |
54 | -version-info 0:0:0 | |
55 | ||
56 | # automatic generation of data and time of library build | |
57 | COMPILE_INFO = AliHLTPHOSCompileInfo.cxx | |
58 | ||
59 | # set the file name for the generated root dictionary | |
60 | DICTCPP = AliHLTPHOS-DICT.cxx | |
61 | # add additional include files which are necessary for the compilation of the | |
62 | # dictionary files and which are not part of the CLASS_HDRS | |
63 | DICTINCLUDE = | |
64 | ||
65 | nodist_libAliHLTPHOS_la_SOURCES = $(COMPILE_INFO) \ | |
66 | $(DICTCPP) | |
67 | ||
68 | CLEANFILES = $(COMPILE_INFO) | |
69 | ||
70 | include $(top_srcdir)/make.dict | |
71 | ||
72 | $(COMPILE_INFO): $(libAliHLTPHOS_la_SOURCES) $(pkginclude_HEADERS) $(noinst_HEADERS) Makefile.am | |
73 | @echo '//automatically generated compilation info' > $@ | |
74 | @echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@ | |
75 | @echo '//add changes in Makefile.am' >> $@ | |
76 | @echo '#include <iostream>' >> $@ | |
77 | @echo 'void $(MODULE)CompileInfo( char*& date, char*& time)' >> $@ | |
78 | @echo '{date=__DATE__; time=__TIME__; return;}' >> $@ | |
79 | @echo >> $@ | |
80 | @echo 'void __init()'>> $@ | |
81 | @echo '{std::cout << "lib$(MODULE) build on " << __DATE__ << " - " << __TIME__ << std::endl;}'>> $@ |