merged branch tag HLT-v0-7-Rev00 to HEAD
[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
099441dd 6EXTRA_DIST = HLTPHOSLinkDef.h
3cde846d 7
c160eda8 8AM_CPPFLAGS = @ALIROOT_CPPFLAGS@ \
d6e6cb01 9 -I@ALICE_ROOT@/PHOS \
a742f6f8 10 -I$(top_srcdir)/BASE \
11 -I$(top_srcdir)/BASE/util
c160eda8 12
7f985641 13
c160eda8 14# library definition
15lib_LTLIBRARIES = libAliHLTPHOS.la
16
17# library sources
65116e10 18libAliHLTPHOS_la_SOURCES = AliHLTPHOSPulseGenerator.cxx \
2f475e8c 19 AliHLTPHOSRawAnalyzerPeakFinder.cxx \
20 AliHLTPHOSRawAnalyzerCrude.cxx \
21 AliHLTPHOSRawAnalyzerKLevel.cxx \
22 AliHLTPHOSRawAnalyzerLMS.cxx \
23 AliHLTPHOSRawAnalyzerChiSquareFit.cxx \
24 AliHLTPHOSRawAnalyzer.cxx \
65116e10 25 AliHLTPHOSEmcCalibData.cxx \
2f475e8c 26 AliHLTPHOSRawAnalyzerComponent.cxx \
27 AliHLTPHOSRawAnalyzerCrudeComponent.cxx \
28 AliHLTPHOSRawAnalyzerPeakFinderComponent.cxx \
0a211711 29 AliHLTPHOSDefinitions.cxx \
acd526ae 30 AliHLTPHOSFileWriterComponent.cxx \
02ba4bec 31 AliHLTPHOSFileWriter.cxx \
32 AliHLTPHOSDDLPackedFileWriter.cxx \
33 AliHLTPHOSCellEnergiesFileWriter.cxx \
82c2cb3a 34 AliHLTPHOSRcuHistogramProducer.cxx \
35 AliHLTPHOSRcuHistogramProducerComponent.cxx \
8119e88b 36 AliHLTPHOSDataCorruptor.cxx \
37 AliHLTPHOSDataQualityMonitor.cxx \
38 AliHLTPHOSRcuDataQualityMonitorComponent.cxx \
39 AliHLTPHOSProcessor.cxx \
40 AliHLTPHOSClusterizer.cxx \
41 AliHLTPHOSClusterizerComponent.cxx \
42 AliHLTPHOSPhysicsAnalyzerSpectrum.cxx \
43 AliHLTPHOSPhysicsAnalyzerSpectrumComponent.cxx \
44 AliHLTPHOSPhysicsAnalyzer.cxx \
7b0fee08 45 AliHLTPHOSPhysicsAnalyzerPeakFitter.cxx \
46 AliHLTDDLDecoder.cxx \
47 AliHLTAltroData.cxx \
48 AliHLTAltroBunch.cxx \
49 AliHLTPHOSMapper.cxx \
fee1a544 50 AliHLTPHOSRcuProcessor.cxx \
9c9d15d6 51 AliHLTPHOSDDLDecoderComponent.cxx \
86dd2649 52 AliHLTPHOSBase.cxx
53
c160eda8 54
7b0fee08 55
c160eda8 56# class header files, the link definition for the root dictionary
57# will be created from the names of the header files
65116e10 58CLASS_HDRS = AliHLTPHOSPulseGenerator.h \
2f475e8c 59 AliHLTPHOSRawAnalyzerPeakFinder.h \
60 AliHLTPHOSRawAnalyzerCrude.h \
61 AliHLTPHOSRawAnalyzerKLevel.h \
62 AliHLTPHOSRawAnalyzerLMS.h \
63 AliHLTPHOSRawAnalyzerChiSquareFit.h \
65116e10 64 AliHLTPHOSEmcCalibData.h \
2f475e8c 65 AliHLTPHOSRawAnalyzerComponent.h \
66 AliHLTPHOSRawAnalyzerCrudeComponent.h \
0a211711 67 AliHLTPHOSRawAnalyzerPeakFinderComponent.h \
c9d0ec1f 68 AliHLTPHOSFileWriterComponent.h \
69 AliHLTPHOSFileWriter.h \
70 AliHLTPHOSDDLPackedFileWriter.h \
7fb6a8e4 71 AliHLTPHOSCellEnergiesFileWriter.h \
82c2cb3a 72 AliHLTPHOSRcuHistogramProducer.h \
73 AliHLTPHOSRcuHistogramProducerComponent.h \
8119e88b 74 AliHLTPHOSDataCorruptor.h \
75 AliHLTPHOSDataQualityMonitor.h \
76 AliHLTPHOSRcuDataQualityMonitorComponent.h \
77 AliHLTPHOSProcessor.h \
78 AliHLTPHOSClusterizer.h \
79 AliHLTPHOSClusterizerComponent.h \
80 AliHLTPHOSPhysicsAnalyzerSpectrum.h \
81 AliHLTPHOSPhysicsAnalyzerSpectrumComponent.h \
82 AliHLTPHOSPhysicsAnalyzer.h \
7b0fee08 83 AliHLTPHOSPhysicsAnalyzerPeakFitter.h \
84 AliHLTDDLDecoder.h \
85 AliHLTAltroData.h \
86 AliHLTPHOSMapper.h \
fee1a544 87 AliHLTPHOSRcuProcessor.h \
d2b84453 88 AliHLTPHOSBase.h \
9c9d15d6 89 AliHLTPHOSDDLDecoderComponent.h \
7b0fee08 90 AliHLTPHOSMapper.h
2f0931cb 91
eccb54e8 92pkginclude_HEADERS = $(CLASS_HDRS) \
2f0931cb 93 AliHLTPHOSCommonDefs.h \
c018a1bd 94 AliHLTPHOSConstants.h \
95 AliHLTAltroBunch.h \
96 AliHLTPHOSRecPointListDataStruct.h \
97 AliHLTPHOSRecPointDataStruct.h \
98 AliHLTPHOSClusterDataStruct.h \
9c9d15d6 99 AliHLTPHOSRawAnalyzer.h \
2f0931cb 100 AliHLTPHOSDefinitions.h \
101 AliHLTPHOSModuleCellEnergyDataStruct.h\
102 AliHLTPHOSRcuCellEnergyDataStruct.h \
02ba4bec 103 AliHLTPHOSValidCellDataStruct.h\
7fb6a8e4 104 AliHLTPHOSDataHeaderStruct.h \
105 AliHLTPHOSModuleCellAccumulatedEnergyDataStruct.h \
82c2cb3a 106 AliHLTPHOSModuleCellAverageEnergyDataStruct.h \
107 AliHLTPHOSRcuCellAccumulatedEnergyDataStruct.h \
f8d420c2 108 AliHLTPHOSRcuCellAverageEnergyDataStruct.h \
109 AliHLTPHOSRcuChannelDataStruct.h \
7b0fee08 110 AliHLTPHOSValidChannelDataStruct.h
8119e88b 111 AliHLTPHOSClusterDataStruct.h \
112 AliHLTPHOSRecPointDataStruct.h \
113 AliHLTPHOSPhysicsDefinitions.h \
86dd2649 114 AliHLTPHOSRecPointListDataStruct.h
c160eda8 115
116# version info and linking flags for the library
a742f6f8 117libAliHLTPHOS_la_LIBADD = $(top_builddir)/BASE/util/libAliHLTUtil.la
c160eda8 118libAliHLTPHOS_la_LDFLAGS = -L@ROOTLIBDIR@ \
119 @ROOTLIBS@ \
120 @ALIROOT_LDFLAGS@ \
121 @ALIROOT_LIBS@ \
d6e6cb01 122 -lRAWDatasim \
123 -lPHOSbase \
124 -lPHOSsim \
125 -lPHOSrec \
c160eda8 126 -version-info 0:0:0
127
128# automatic generation of data and time of library build
129COMPILE_INFO = AliHLTPHOSCompileInfo.cxx
130
131# set the file name for the generated root dictionary
132DICTCPP = AliHLTPHOS-DICT.cxx
133# add additional include files which are necessary for the compilation of the
134# dictionary files and which are not part of the CLASS_HDRS
135DICTINCLUDE =
136
137nodist_libAliHLTPHOS_la_SOURCES = $(COMPILE_INFO) \
138 $(DICTCPP)
139
140CLEANFILES = $(COMPILE_INFO)
141
142include $(top_srcdir)/make.dict
143
144$(COMPILE_INFO): $(libAliHLTPHOS_la_SOURCES) $(pkginclude_HEADERS) $(noinst_HEADERS) Makefile.am
145 @echo '//automatically generated compilation info' > $@
146 @echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@
147 @echo '//add changes in Makefile.am' >> $@
148 @echo '#include <iostream>' >> $@
149 @echo 'void $(MODULE)CompileInfo( char*& date, char*& time)' >> $@
150 @echo '{date=__DATE__; time=__TIME__; return;}' >> $@
151 @echo >> $@
152 @echo 'void __init()'>> $@
153 @echo '{std::cout << "lib$(MODULE) build on " << __DATE__ << " - " << __TIME__ << std::endl;}'>> $@