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 \
26 # class header files, the link definition for the root dictionary
27 # will be created from the names of the header files
28 CLASS_HDRS = AliHLTPHOSPulseGenerator.h \
29 AliHLTPHOSRawAnalyzer.h \
30 AliHLTPHOSRawAnalyzerPeakFinder.h \
31 AliHLTPHOSRawAnalyzerCrude.h \
32 AliHLTPHOSRawAnalyzerKLevel.h \
33 AliHLTPHOSRawAnalyzerLMS.h \
34 AliHLTPHOSRawAnalyzerChiSquareFit.h \
35 AliHLTPHOSEmcCalibData.h \
36 AliHLTPHOSRawAnalyzerComponent.h \
37 AliHLTPHOSRawAnalyzerCrudeComponent.h \
38 AliHLTPHOSRawAnalyzerPeakFinderComponent.h
41 pkginclude_HEADERS = $(CLASS_HDRS) \
42 AliHLTPHOSCommonDefs.h
44 # version info and linking flags for the library
45 libAliHLTPHOS_la_LDFLAGS = -L@ROOTLIBDIR@ \
51 # automatic generation of data and time of library build
52 COMPILE_INFO = AliHLTPHOSCompileInfo.cxx
54 # set the file name for the generated root dictionary
55 DICTCPP = AliHLTPHOS-DICT.cxx
56 # add additional include files which are necessary for the compilation of the
57 # dictionary files and which are not part of the CLASS_HDRS
60 nodist_libAliHLTPHOS_la_SOURCES = $(COMPILE_INFO) \
63 CLEANFILES = $(COMPILE_INFO)
65 include $(top_srcdir)/make.dict
67 $(COMPILE_INFO): $(libAliHLTPHOS_la_SOURCES) $(pkginclude_HEADERS) $(noinst_HEADERS) Makefile.am
68 @echo '//automatically generated compilation info' > $@
69 @echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@
70 @echo '//add changes in Makefile.am' >> $@
71 @echo '#include <iostream>' >> $@
72 @echo 'void $(MODULE)CompileInfo( char*& date, char*& time)' >> $@
73 @echo '{date=__DATE__; time=__TIME__; return;}' >> $@
75 @echo 'void __init()'>> $@
76 @echo '{std::cout << "lib$(MODULE) build on " << __DATE__ << " - " << __TIME__ << std::endl;}'>> $@