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 \
31 # class header files, the link definition for the root dictionary
32 # will be created from the names of the header files
33 CLASS_HDRS = AliHLTPHOSPulseGenerator.h \
34 AliHLTPHOSRawAnalyzer.h \
35 AliHLTPHOSRawAnalyzerPeakFinder.h \
36 AliHLTPHOSRawAnalyzerCrude.h \
37 AliHLTPHOSRawAnalyzerKLevel.h \
38 AliHLTPHOSRawAnalyzerLMS.h \
39 AliHLTPHOSRawAnalyzerChiSquareFit.h \
40 AliHLTPHOSEmcCalibData.h \
41 AliHLTPHOSRawAnalyzerComponent.h \
42 AliHLTPHOSRawAnalyzerCrudeComponent.h \
43 AliHLTPHOSRawAnalyzerPeakFinderComponent.h \
44 AliHLTPHOSDefinitions.h \
45 AliHLTPHOSModuleMergerComponent.h \
46 AliHLTPHOSRcuCellEnergyDataStruct.h \
47 AliHLTPHOSModuleCellEnergyDataStruct.h\
48 AliHLTPHOSFileWriterComponent.h \
49 # AliHLTPHOSValidCellDataStruct.h
50 pkginclude_HEADERS = $(CLASS_HDRS) \
51 AliHLTPHOSCommonDefs.h
53 # version info and linking flags for the library
54 libAliHLTPHOS_la_LDFLAGS = -L@ROOTLIBDIR@ \
60 # automatic generation of data and time of library build
61 COMPILE_INFO = AliHLTPHOSCompileInfo.cxx
63 # set the file name for the generated root dictionary
64 DICTCPP = AliHLTPHOS-DICT.cxx
65 # add additional include files which are necessary for the compilation of the
66 # dictionary files and which are not part of the CLASS_HDRS
69 nodist_libAliHLTPHOS_la_SOURCES = $(COMPILE_INFO) \
72 CLEANFILES = $(COMPILE_INFO)
74 include $(top_srcdir)/make.dict
76 $(COMPILE_INFO): $(libAliHLTPHOS_la_SOURCES) $(pkginclude_HEADERS) $(noinst_HEADERS) Makefile.am
77 @echo '//automatically generated compilation info' > $@
78 @echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@
79 @echo '//add changes in Makefile.am' >> $@
80 @echo '#include <iostream>' >> $@
81 @echo 'void $(MODULE)CompileInfo( char*& date, char*& time)' >> $@
82 @echo '{date=__DATE__; time=__TIME__; return;}' >> $@
84 @echo 'void __init()'>> $@
85 @echo '{std::cout << "lib$(MODULE) build on " << __DATE__ << " - " << __TIME__ << std::endl;}'>> $@