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