optional reset of histograms for every event (Gaute)
[u/mrichter/AliRoot.git] / HLT / Makefile.am
CommitLineData
b521659f 1# $Id$
2# Makefile template for the Alice HLT framework and components
3
4
7233bc62 5if HAVE_ALIROOT
6ALIROOT_DEP=sim \
7 rec \
ff4edcee 8 shuttle \
9 pendolino
7233bc62 10endif
11
b521659f 12if EN_HLT_SAMPLE
13SAMPLE_DIR=SampleLib
14endif
15
16if EN_HLT_TPC
3daf4fbc 17TPC_DIR=TPCLib
b521659f 18endif
19
5e3820e2 20if EN_HLT_RCU
21RCU_DIR=RCU
22endif
23
c160eda8 24if EN_HLT_PHOS
25PHOS_DIR=PHOS
26endif
27
0f51f5b8 28if EN_HLT_TRD
29TRD_DIR=TRD
30endif
31
5c561c5b 32if EN_HLT_MUON
33MUON_DIR=MUON
34endif
35
e89e6b23 36if EN_HLT_COMP
37COMP_DIR=comp
38endif
39
d6e2c707 40if EN_HLT_TRIGGER
3daf4fbc 41TRIGGER_DIR=trigger
d6e2c707 42endif
43
44if EN_HLT_ITS
45ITS_DIR=ITS
46endif
3daf4fbc 47
b521659f 48SUBDIRS = BASE \
7233bc62 49 $(ALIROOT_DEP) \
c3800c65 50 $(RCU_DIR) \
b521659f 51 $(SAMPLE_DIR) \
52 $(TPC_DIR) \
c160eda8 53 $(PHOS_DIR) \
0f51f5b8 54 $(TRD_DIR) \
5c561c5b 55 $(MUON_DIR) \
e89e6b23 56 $(COMP_DIR) \
3daf4fbc 57 $(TRIGGER_DIR) \
d6e2c707 58 $(ITS_DIR) \
b521659f 59 doc
60
2d7ff710 61EXTRA_DIST = libHLTbase.pkg \
d098ebd4 62 libHLTinterface.pkg \
4cbaf07b 63 libHLTsim.pkg \
64 libHLTrec.pkg \
8f471af0 65 libHLTshuttle.pkg \
4cbaf07b 66 libAliHLTHOMER.pkg \
242bb794 67 libAliHLTUtil.pkg \
2d7ff710 68 libAliHLTSample.pkg \
3cde846d 69 libAliHLTPHOS.pkg \
dfaa582a 70 libAliHLTTPC.pkg \
0f51f5b8 71 libAliHLTTRD.pkg \
5c561c5b 72 libAliHLTMUON.pkg \
e89e6b23 73 libAliHLTComp.pkg \
3daf4fbc 74 libAliHLTTrigger.pkg \
8f471af0 75 libAliHLTRCU.pkg \
76 libAliHLTITS.pkg \
77 exa/sample-component1.C \
78 exa/monitoring.C \
7233bc62 79 hlt.conf \
80 .revision
2d7ff710 81
b521659f 82DIST_SUBDIRS = $(SUBDIRS)
83
242bb794 84# this is a special target to create a stand-alone package from the SampleLib
2d7ff710 85SampleLibPkg: Makefile $(top_srcdir)/SampleLib/*
86 @tmpdir=/tmp/$(USER)/$@ ; \
87 if test -d $@ ; then \
88 cp -ruv $(top_srcdir)/SampleLib/* $@; \
89 cp -uv $(top_srcdir)/libAliHLTSample.pkg $@; \
90 cp -uv $(top_srcdir)/acinclude.m4 $@; \
91 else \
92 (test ! -d $$tmpdir || rm $$tmpdir); \
93 echo "creating package in tmp dir $$tmpdir" ; \
94 mkdir -p $$tmpdir && \
95 (cp -r $(top_srcdir)/SampleLib/* $$tmpdir ; \
96 cp -uv $(top_srcdir)/libAliHLTSample.pkg $$tmpdir ; \
97 cp -uv $(top_srcdir)/acinclude.m4 $$tmpdir; \
98 (echo 'running autoreconf -f -i' ;cd $$tmpdir ; autoreconf -f -i) ; \
99 echo moving $$tmpdir to `pwd`; mv $$tmpdir . ) \
100 fi
101
102clean-local:
103 (test ! -d SampleLibPkg || rm -rf SampleLibPkg)
104
7233bc62 105svn-update:
106 @cd $(top_srcdir) ;\
107 revision=`svn info 2> /dev/null | grep "Revision:" | cut -d ' ' -f 2 | tr -d '\n'` ;\
108 last=`svn info 2> /dev/null | grep "Last Changed Rev:" | cut -d ' ' -f 4 | cut -d '/' -f 4 | tr -d '\n'` ;\
109 if test "x$$revision" != "x" && test $$last -gt $$revision; then \
110 echo "The SVN copy is not up-to-date (revision $$revision - last update $$last), please 'svn update'"; \
111 exit -1; \
112 fi
113
114.revision: svn-update
115 @cd $(top_srcdir) ;\
116 svn info 2> /dev/null | grep "Revision:" | cut -d ' ' -f 2 | tr -d '\n' > $@
b521659f 117#
118# EOF
119#