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