Add standard configuration object for ZDC reconstruction in HLT
[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 \
73c1ebf5 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
fe8738cf 24if EN_HLT_CALO
25CALO_DIR=CALO
26endif
27
c160eda8 28if EN_HLT_PHOS
29PHOS_DIR=PHOS
30endif
31
fe8738cf 32if EN_HLT_EMCAL
33EMCAL_DIR=EMCAL
34endif
35
0f51f5b8 36if EN_HLT_TRD
37TRD_DIR=TRD
38endif
39
50a3793d 40if EN_HLT_FMD
41FMD_DIR=FMD
42endif
43
5c561c5b 44if EN_HLT_MUON
45MUON_DIR=MUON
46endif
47
e89e6b23 48if EN_HLT_COMP
49COMP_DIR=comp
50endif
51
d6e2c707 52if EN_HLT_TRIGGER
3daf4fbc 53TRIGGER_DIR=trigger
d6e2c707 54endif
55
56if EN_HLT_ITS
57ITS_DIR=ITS
58endif
3daf4fbc 59
ec6160d5 60if EN_HLT_GLOBAL
61GLOBAL_DIR=global
62endif
63
33daad3d 64if EN_HLT_JET
65JET_DIR=JET
66endif
67
aed3e6fc 68if EN_HLT_VZERO
69VZERO_DIR=VZERO
70endif
71
73c1ebf5 72if EN_HLT_QA
73QA_DIR=QA
74endif
ec6160d5 75
b521659f 76SUBDIRS = BASE \
7233bc62 77 $(ALIROOT_DEP) \
c3800c65 78 $(RCU_DIR) \
b521659f 79 $(SAMPLE_DIR) \
80 $(TPC_DIR) \
fe8738cf 81 $(CALO_DIR) \
c160eda8 82 $(PHOS_DIR) \
fe8738cf 83 $(EMCAL_DIR) \
0f51f5b8 84 $(TRD_DIR) \
50a3793d 85 $(FMD_DIR) \
5c561c5b 86 $(MUON_DIR) \
e89e6b23 87 $(COMP_DIR) \
3daf4fbc 88 $(TRIGGER_DIR) \
d6e2c707 89 $(ITS_DIR) \
ec6160d5 90 $(GLOBAL_DIR) \
73c1ebf5 91 $(JET_DIR) \
aed3e6fc 92 $(VZERO_DIR) \
73c1ebf5 93 $(QA_DIR) \
b521659f 94 doc
95
2d7ff710 96EXTRA_DIST = libHLTbase.pkg \
d098ebd4 97 libHLTinterface.pkg \
4cbaf07b 98 libHLTsim.pkg \
99 libHLTrec.pkg \
8f471af0 100 libHLTshuttle.pkg \
a3c9b745 101 libHLTpendolino.pkg \
73c1ebf5 102 libHLTqadm.pkg \
4cbaf07b 103 libAliHLTHOMER.pkg \
242bb794 104 libAliHLTUtil.pkg \
2d7ff710 105 libAliHLTSample.pkg \
3cde846d 106 libAliHLTPHOS.pkg \
dfaa582a 107 libAliHLTTPC.pkg \
0f51f5b8 108 libAliHLTTRD.pkg \
5dded172 109 libAliHLTFMD.pkg \
5c561c5b 110 libAliHLTMUON.pkg \
e89e6b23 111 libAliHLTComp.pkg \
3daf4fbc 112 libAliHLTTrigger.pkg \
8f471af0 113 libAliHLTRCU.pkg \
114 libAliHLTITS.pkg \
5dded172 115 libAliHLTEMCAL.pkg \
ec6160d5 116 libAliHLTGlobal.pkg \
33daad3d 117 libAliHLTJet.pkg \
aed3e6fc 118 libAliHLTVZERO.pkg \
8f471af0 119 exa/sample-component1.C \
120 exa/monitoring.C \
7233bc62 121 hlt.conf \
122 .revision
2d7ff710 123
b521659f 124DIST_SUBDIRS = $(SUBDIRS)
125
242bb794 126# this is a special target to create a stand-alone package from the SampleLib
2d7ff710 127SampleLibPkg: Makefile $(top_srcdir)/SampleLib/*
128 @tmpdir=/tmp/$(USER)/$@ ; \
129 if test -d $@ ; then \
130 cp -ruv $(top_srcdir)/SampleLib/* $@; \
131 cp -uv $(top_srcdir)/libAliHLTSample.pkg $@; \
132 cp -uv $(top_srcdir)/acinclude.m4 $@; \
133 else \
134 (test ! -d $$tmpdir || rm $$tmpdir); \
135 echo "creating package in tmp dir $$tmpdir" ; \
136 mkdir -p $$tmpdir && \
137 (cp -r $(top_srcdir)/SampleLib/* $$tmpdir ; \
138 cp -uv $(top_srcdir)/libAliHLTSample.pkg $$tmpdir ; \
139 cp -uv $(top_srcdir)/acinclude.m4 $$tmpdir; \
140 (echo 'running autoreconf -f -i' ;cd $$tmpdir ; autoreconf -f -i) ; \
141 echo moving $$tmpdir to `pwd`; mv $$tmpdir . ) \
142 fi
143
144clean-local:
145 (test ! -d SampleLibPkg || rm -rf SampleLibPkg)
146
7233bc62 147svn-update:
148 @cd $(top_srcdir) ;\
149 revision=`svn info 2> /dev/null | grep "Revision:" | cut -d ' ' -f 2 | tr -d '\n'` ;\
150 last=`svn info 2> /dev/null | grep "Last Changed Rev:" | cut -d ' ' -f 4 | cut -d '/' -f 4 | tr -d '\n'` ;\
151 if test "x$$revision" != "x" && test $$last -gt $$revision; then \
152 echo "The SVN copy is not up-to-date (revision $$revision - last update $$last), please 'svn update'"; \
153 exit -1; \
154 fi
155
156.revision: svn-update
157 @cd $(top_srcdir) ;\
158 svn info 2> /dev/null | grep "Revision:" | cut -d ' ' -f 2 | tr -d '\n' > $@
b521659f 159#
160# EOF
161#