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