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