2 # Makefile template for the Alice HLT PHOS library
6 EXTRA_DIST = AliHLTPHOSLinkDef.h
8 AM_CPPFLAGS = @ALIROOT_CPPFLAGS@ \
12 lib_LTLIBRARIES = libAliHLTPHOS.la
15 libAliHLTPHOS_la_SOURCES = AliHLTPHOSPulseGenerator.cxx \
16 AliHLTPHOSRawAnalyzerPeakFinder.cxx \
17 AliHLTPHOSRawAnalyzerCrude.cxx \
18 AliHLTPHOSRawAnalyzerKLevel.cxx \
19 AliHLTPHOSRawAnalyzerLMS.cxx \
20 AliHLTPHOSRawAnalyzerChiSquareFit.cxx \
21 AliHLTPHOSRawAnalyzer.cxx \
22 AliHLTPHOSEmcCalibData.cxx \
23 AliHLTPHOSRawAnalyzerComponent.cxx \
24 AliHLTPHOSRawAnalyzerCrudeComponent.cxx \
25 AliHLTPHOSRawAnalyzerPeakFinderComponent.cxx \
26 AliHLTPHOSDefinitions.cxx \
27 AliHLTPHOSModuleMergerComponent.cxx \
28 AliHLTPHOSFileWriterComponent.cxx \
29 AliHLTPHOSFileWriter.cxx \
30 AliHLTPHOSDDLPackedFileWriter.cxx \
31 AliHLTPHOSCellEnergiesFileWriter.cxx \
34 # class header files, the link definition for the root dictionary
35 # will be created from the names of the header files
36 CLASS_HDRS = AliHLTPHOSPulseGenerator.h \
37 AliHLTPHOSRawAnalyzer.h \
38 AliHLTPHOSRawAnalyzerPeakFinder.h \
39 AliHLTPHOSRawAnalyzerCrude.h \
40 AliHLTPHOSRawAnalyzerKLevel.h \
41 AliHLTPHOSRawAnalyzerLMS.h \
42 AliHLTPHOSRawAnalyzerChiSquareFit.h \
43 AliHLTPHOSEmcCalibData.h \
44 AliHLTPHOSRawAnalyzerComponent.h \
45 AliHLTPHOSRawAnalyzerCrudeComponent.h \
46 AliHLTPHOSRawAnalyzerPeakFinderComponent.h \
47 AliHLTPHOSModuleMergerComponent.h \
48 AliHLTPHOSFileWriterComponent.h \
49 AliHLTPHOSFileWriter.h \
50 AliHLTPHOSDDLPackedFileWriter.h \
51 AliHLTPHOSCellEnergiesFileWriter.h
53 pkginclude_HEADERS = $(CLASS_HDRS) \
54 AliHLTPHOSCommonDefs.h \
55 AliHLTPHOSDefinitions.h \
56 AliHLTPHOSModuleCellEnergyDataStruct.h\
57 AliHLTPHOSRcuCellEnergyDataStruct.h \
58 AliHLTPHOSValidCellDataStruct.h\
59 AliHLTPHOSDataHeaderStruct.h
61 # version info and linking flags for the library
62 libAliHLTPHOS_la_LDFLAGS = -L@ROOTLIBDIR@ \
68 # automatic generation of data and time of library build
69 COMPILE_INFO = AliHLTPHOSCompileInfo.cxx
71 # set the file name for the generated root dictionary
72 DICTCPP = AliHLTPHOS-DICT.cxx
73 # add additional include files which are necessary for the compilation of the
74 # dictionary files and which are not part of the CLASS_HDRS
77 nodist_libAliHLTPHOS_la_SOURCES = $(COMPILE_INFO) \
80 CLEANFILES = $(COMPILE_INFO)
82 include $(top_srcdir)/make.dict
84 $(COMPILE_INFO): $(libAliHLTPHOS_la_SOURCES) $(pkginclude_HEADERS) $(noinst_HEADERS) Makefile.am
85 @echo '//automatically generated compilation info' > $@
86 @echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@
87 @echo '//add changes in Makefile.am' >> $@
88 @echo '#include <iostream>' >> $@
89 @echo 'void $(MODULE)CompileInfo( char*& date, char*& time)' >> $@
90 @echo '{date=__DATE__; time=__TIME__; return;}' >> $@
92 @echo 'void __init()'>> $@
93 @echo '{std::cout << "lib$(MODULE) build on " << __DATE__ << " - " << __TIME__ << std::endl;}'>> $@