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