]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/PHOS/Makefile.am
bugfix, added missing header file
[u/mrichter/AliRoot.git] / HLT / PHOS / Makefile.am
1 # $Id$
2 # Makefile template for the Alice HLT PHOS library
3
4 MODULE                          = AliHLTPHOS
5
6 EXTRA_DIST                      = AliHLTPHOSLinkDef.h
7
8 AM_CPPFLAGS                     = @ALIROOT_CPPFLAGS@ \
9                                   -I$(top_srcdir)/BASE
10
11 # library definition
12 lib_LTLIBRARIES                 =  libAliHLTPHOS.la
13
14 # library sources
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 \
32                                   PeakFinderTest.cxx
33
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
52
53 pkginclude_HEADERS              = $(CLASS_HDRS) \
54                                   AliHLTPHOSCommonDefs.h \
55                                   AliHLTPHOSDefinitions.h \
56                                   AliHLTPHOSModuleCellEnergyDataStruct.h\
57                                   AliHLTPHOSRcuCellEnergyDataStruct.h \
58                                   AliHLTPHOSValidCellDataStruct.h\
59                                   AliHLTPHOSDataHeaderStruct.h
60
61 # version info and linking flags for the library
62 libAliHLTPHOS_la_LDFLAGS        = -L@ROOTLIBDIR@ \
63                                   @ROOTLIBS@ \
64                                   @ALIROOT_LDFLAGS@ \
65                                   @ALIROOT_LIBS@ \
66                                   -version-info 0:0:0
67
68 # automatic generation of data and time of library build
69 COMPILE_INFO                    =  AliHLTPHOSCompileInfo.cxx
70
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
75 DICTINCLUDE                     = 
76
77 nodist_libAliHLTPHOS_la_SOURCES = $(COMPILE_INFO) \
78                                   $(DICTCPP)
79
80 CLEANFILES                      = $(COMPILE_INFO)
81
82 include $(top_srcdir)/make.dict
83
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;}' >> $@
91         @echo >> $@
92         @echo 'void __init()'>> $@
93         @echo '{std::cout << "lib$(MODULE) build on " << __DATE__ << " - " << __TIME__ << std::endl;}'>> $@