]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/PHOS/Makefile.am
- improvements in AliHLTFilePublisher/Writer
[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                                   PeakFinderTest.cxx
30
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
52
53 # version info and linking flags for the library
54 libAliHLTPHOS_la_LDFLAGS        = -L@ROOTLIBDIR@ \
55                                   @ROOTLIBS@ \
56                                   @ALIROOT_LDFLAGS@ \
57                                   @ALIROOT_LIBS@ \
58                                   -version-info 0:0:0
59
60 # automatic generation of data and time of library build
61 COMPILE_INFO                    =  AliHLTPHOSCompileInfo.cxx
62
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
67 DICTINCLUDE                     = 
68
69 nodist_libAliHLTPHOS_la_SOURCES = $(COMPILE_INFO) \
70                                   $(DICTCPP)
71
72 CLEANFILES                      = $(COMPILE_INFO)
73
74 include $(top_srcdir)/make.dict
75
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;}' >> $@
83         @echo >> $@
84         @echo 'void __init()'>> $@
85         @echo '{std::cout << "lib$(MODULE) build on " << __DATE__ << " - " << __TIME__ << std::endl;}'>> $@