HLT component for writing analyzed raw data to files
[u/mrichter/AliRoot.git] / HLT / PHOS / Makefile.am
CommitLineData
c160eda8 1# $Id$
2# Makefile template for the Alice HLT PHOS library
3
4MODULE = AliHLTPHOS
5
6AM_CPPFLAGS = @ALIROOT_CPPFLAGS@ \
7 -I$(top_srcdir)/BASE
8
9# library definition
10lib_LTLIBRARIES = libAliHLTPHOS.la
11
12# library sources
65116e10 13libAliHLTPHOS_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 \
0a211711 24 AliHLTPHOSDefinitions.cxx \
10540789 25 AliHLTPHOSModuleMergerComponent.cxx \
acd526ae 26 AliHLTPHOSFileWriterComponent.cxx \
3660804b 27 PeakFinderTest.cxx
c160eda8 28
29# class header files, the link definition for the root dictionary
30# will be created from the names of the header files
65116e10 31CLASS_HDRS = AliHLTPHOSPulseGenerator.h \
eccb54e8 32 AliHLTPHOSRawAnalyzer.h \
2f475e8c 33 AliHLTPHOSRawAnalyzerPeakFinder.h \
34 AliHLTPHOSRawAnalyzerCrude.h \
35 AliHLTPHOSRawAnalyzerKLevel.h \
36 AliHLTPHOSRawAnalyzerLMS.h \
37 AliHLTPHOSRawAnalyzerChiSquareFit.h \
65116e10 38 AliHLTPHOSEmcCalibData.h \
2f475e8c 39 AliHLTPHOSRawAnalyzerComponent.h \
40 AliHLTPHOSRawAnalyzerCrudeComponent.h \
0a211711 41 AliHLTPHOSRawAnalyzerPeakFinderComponent.h \
10540789 42 AliHLTPHOSDefinitions.h \
43 AliHLTPHOSModuleMergerComponent.h \
bde48b84 44 AliHLTPHOSRcuCellEnergyDataStruct.h \
45 AliHLTPHOSModuleCellEnergyDataStruct.h\
acd526ae 46 AliHLTPHOSFileWriterComponent.h \
bde48b84 47# AliHLTPHOSValidCellDataStruct.h
eccb54e8 48pkginclude_HEADERS = $(CLASS_HDRS) \
49 AliHLTPHOSCommonDefs.h
c160eda8 50
51# version info and linking flags for the library
52libAliHLTPHOS_la_LDFLAGS = -L@ROOTLIBDIR@ \
53 @ROOTLIBS@ \
54 @ALIROOT_LDFLAGS@ \
55 @ALIROOT_LIBS@ \
56 -version-info 0:0:0
57
58# automatic generation of data and time of library build
59COMPILE_INFO = AliHLTPHOSCompileInfo.cxx
60
61# set the file name for the generated root dictionary
62DICTCPP = AliHLTPHOS-DICT.cxx
63# add additional include files which are necessary for the compilation of the
64# dictionary files and which are not part of the CLASS_HDRS
65DICTINCLUDE =
66
67nodist_libAliHLTPHOS_la_SOURCES = $(COMPILE_INFO) \
68 $(DICTCPP)
69
70CLEANFILES = $(COMPILE_INFO)
71
72include $(top_srcdir)/make.dict
73
74$(COMPILE_INFO): $(libAliHLTPHOS_la_SOURCES) $(pkginclude_HEADERS) $(noinst_HEADERS) Makefile.am
75 @echo '//automatically generated compilation info' > $@
76 @echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@
77 @echo '//add changes in Makefile.am' >> $@
78 @echo '#include <iostream>' >> $@
79 @echo 'void $(MODULE)CompileInfo( char*& date, char*& time)' >> $@
80 @echo '{date=__DATE__; time=__TIME__; return;}' >> $@
81 @echo >> $@
82 @echo 'void __init()'>> $@
83 @echo '{std::cout << "lib$(MODULE) build on " << __DATE__ << " - " << __TIME__ << std::endl;}'>> $@