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