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