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