Started the implemetation of the online analysis
[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 AM_CPPFLAGS                     = @ALIROOT_CPPFLAGS@ \
7                                   -I$(top_srcdir)/BASE
8
9 # library definition
10 lib_LTLIBRARIES                 =  libAliHLTPHOS.la
11
12 # library sources
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 \
25                                   PeakFinderTest.cxx
26
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 
41
42 pkginclude_HEADERS              = $(CLASS_HDRS) \
43                                   AliHLTPHOSCommonDefs.h
44
45 # version info and linking flags for the library
46 libAliHLTPHOS_la_LDFLAGS        = -L@ROOTLIBDIR@ \
47                                   @ROOTLIBS@ \
48                                   @ALIROOT_LDFLAGS@ \
49                                   @ALIROOT_LIBS@ \
50                                   -version-info 0:0:0
51
52 # automatic generation of data and time of library build
53 COMPILE_INFO                    =  AliHLTPHOSCompileInfo.cxx
54
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
59 DICTINCLUDE                     = 
60
61 nodist_libAliHLTPHOS_la_SOURCES = $(COMPILE_INFO) \
62                                   $(DICTCPP)
63
64 CLEANFILES                      = $(COMPILE_INFO)
65
66 include $(top_srcdir)/make.dict
67
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;}' >> $@
75         @echo >> $@
76         @echo 'void __init()'>> $@
77         @echo '{std::cout << "lib$(MODULE) build on " << __DATE__ << " - " << __TIME__ << std::endl;}'>> $@