commented debug output
[u/mrichter/AliRoot.git] / HLT / Makefile.am
CommitLineData
b521659f 1# $Id$
2# Makefile template for the Alice HLT framework and components
3
4
5if EN_HLT_SAMPLE
6SAMPLE_DIR=SampleLib
7endif
8
9if EN_HLT_TPC
10TPC_DIR=TPCLib
11endif
12
c160eda8 13if EN_HLT_PHOS
14PHOS_DIR=PHOS
15endif
16
0f51f5b8 17if EN_HLT_TRD
18TRD_DIR=TRD
19endif
20
5c561c5b 21if EN_HLT_MUON
22MUON_DIR=MUON
23endif
24
e89e6b23 25if EN_HLT_COMP
26COMP_DIR=comp
27endif
28
b521659f 29SUBDIRS = BASE \
4cbaf07b 30 sim \
31 rec \
b521659f 32 $(SAMPLE_DIR) \
33 $(TPC_DIR) \
c160eda8 34 $(PHOS_DIR) \
0f51f5b8 35 $(TRD_DIR) \
5c561c5b 36 $(MUON_DIR) \
e89e6b23 37 $(COMP_DIR) \
b521659f 38 doc
39
2d7ff710 40EXTRA_DIST = libHLTbase.pkg \
d098ebd4 41 libHLTinterface.pkg \
4cbaf07b 42 libHLTsim.pkg \
43 libHLTrec.pkg \
44 libAliHLTHOMER.pkg \
242bb794 45 libAliHLTUtil.pkg \
2d7ff710 46 libAliHLTSample.pkg \
3cde846d 47 libAliHLTPHOS.pkg \
dfaa582a 48 libAliHLTTPC.pkg \
0f51f5b8 49 libAliHLTTRD.pkg \
5c561c5b 50 libAliHLTMUON.pkg \
e89e6b23 51 libAliHLTComp.pkg \
2d7ff710 52 hlt.conf
53
b521659f 54DIST_SUBDIRS = $(SUBDIRS)
55
242bb794 56# this is a special target to create a stand-alone package from the SampleLib
2d7ff710 57SampleLibPkg: Makefile $(top_srcdir)/SampleLib/*
58 @tmpdir=/tmp/$(USER)/$@ ; \
59 if test -d $@ ; then \
60 cp -ruv $(top_srcdir)/SampleLib/* $@; \
61 cp -uv $(top_srcdir)/libAliHLTSample.pkg $@; \
62 cp -uv $(top_srcdir)/acinclude.m4 $@; \
63 else \
64 (test ! -d $$tmpdir || rm $$tmpdir); \
65 echo "creating package in tmp dir $$tmpdir" ; \
66 mkdir -p $$tmpdir && \
67 (cp -r $(top_srcdir)/SampleLib/* $$tmpdir ; \
68 cp -uv $(top_srcdir)/libAliHLTSample.pkg $$tmpdir ; \
69 cp -uv $(top_srcdir)/acinclude.m4 $$tmpdir; \
70 (echo 'running autoreconf -f -i' ;cd $$tmpdir ; autoreconf -f -i) ; \
71 echo moving $$tmpdir to `pwd`; mv $$tmpdir . ) \
72 fi
73
74clean-local:
75 (test ! -d SampleLibPkg || rm -rf SampleLibPkg)
76
b521659f 77#
78# EOF
79#