2 # Makefile template for the Alice HLT PHOS library
6 AM_CPPFLAGS = @ALIROOT_CPPFLAGS@ \
10 lib_LTLIBRARIES = libAliHLTPHOS.la
13 libAliHLTPHOS_la_SOURCES = AliHLTPHOSPulseGenerator.cxx \
14 AliHLTPHOSRawAnalyzerPeakFinder.cxx \
15 AliHLTPHOSRawAnalyzerCrude.cxx \
16 AliHLTPHOSRawAnalyzerKLevel.cxx \
17 AliHLTPHOSRawAnalyzerLMS.cxx \
18 AliHLTPHOSRawAnalyzerChiSquareFit.cxx \
19 AliHLTPHOSRawAnalyzer.cxx \
20 AliHLTPHOSEmcCalibData.cxx \
21 AliHLTPHOSRawAnalyzerComponent.cxx \
22 AliHLTPHOSRawAnalyzerCrudeComponent.cxx \
23 AliHLTPHOSRawAnalyzerPeakFinderComponent.cxx \
24 AliHLTPHOSDefinitions.cxx \
27 # class header files, the link definition for the root dictionary
28 # will be created from the names of the header files
29 CLASS_HDRS = AliHLTPHOSPulseGenerator.h \
30 AliHLTPHOSRawAnalyzer.h \
31 AliHLTPHOSRawAnalyzerPeakFinder.h \
32 AliHLTPHOSRawAnalyzerCrude.h \
33 AliHLTPHOSRawAnalyzerKLevel.h \
34 AliHLTPHOSRawAnalyzerLMS.h \
35 AliHLTPHOSRawAnalyzerChiSquareFit.h \
36 AliHLTPHOSEmcCalibData.h \
37 AliHLTPHOSRawAnalyzerComponent.h \
38 AliHLTPHOSRawAnalyzerCrudeComponent.h \
39 AliHLTPHOSRawAnalyzerPeakFinderComponent.h \
40 AliHLTPHOSDefinitions.h
42 pkginclude_HEADERS = $(CLASS_HDRS) \
43 AliHLTPHOSCommonDefs.h
45 # version info and linking flags for the library
46 libAliHLTPHOS_la_LDFLAGS = -L@ROOTLIBDIR@ \
52 # automatic generation of data and time of library build
53 COMPILE_INFO = AliHLTPHOSCompileInfo.cxx
55 # set the file name for the generated root dictionary
56 DICTCPP = AliHLTPHOS-DICT.cxx
57 # add additional include files which are necessary for the compilation of the
58 # dictionary files and which are not part of the CLASS_HDRS
61 nodist_libAliHLTPHOS_la_SOURCES = $(COMPILE_INFO) \
64 CLEANFILES = $(COMPILE_INFO)
66 include $(top_srcdir)/make.dict
68 $(COMPILE_INFO): $(libAliHLTPHOS_la_SOURCES) $(pkginclude_HEADERS) $(noinst_HEADERS) Makefile.am
69 @echo '//automatically generated compilation info' > $@
70 @echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@
71 @echo '//add changes in Makefile.am' >> $@
72 @echo '#include <iostream>' >> $@
73 @echo 'void $(MODULE)CompileInfo( char*& date, char*& time)' >> $@
74 @echo '{date=__DATE__; time=__TIME__; return;}' >> $@
76 @echo 'void __init()'>> $@
77 @echo '{std::cout << "lib$(MODULE) build on " << __DATE__ << " - " << __TIME__ << std::endl;}'>> $@