added libHLTsim and libHLTrec
[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
b521659f 25SUBDIRS = BASE \
4cbaf07b 26 sim \
27 rec \
b521659f 28 $(SAMPLE_DIR) \
29 $(TPC_DIR) \
c160eda8 30 $(PHOS_DIR) \
0f51f5b8 31 $(TRD_DIR) \
5c561c5b 32 $(MUON_DIR) \
b521659f 33 doc
34
2d7ff710 35EXTRA_DIST = libHLTbase.pkg \
d098ebd4 36 libHLTinterface.pkg \
4cbaf07b 37 libHLTsim.pkg \
38 libHLTrec.pkg \
39 libAliHLTHOMER.pkg \
242bb794 40 libAliHLTUtil.pkg \
2d7ff710 41 libAliHLTSample.pkg \
3cde846d 42 libAliHLTPHOS.pkg \
dfaa582a 43 libAliHLTTPC.pkg \
0f51f5b8 44 libAliHLTTRD.pkg \
5c561c5b 45 libAliHLTMUON.pkg \
90ebac25 46 src/AliHLTReconstructor.h \
aa7f26de 47 src/AliHLTReconstructor.cxx \
2d7ff710 48 hlt.conf
49
b521659f 50DIST_SUBDIRS = $(SUBDIRS)
51
242bb794 52# this is a special target to create a stand-alone package from the SampleLib
2d7ff710 53SampleLibPkg: Makefile $(top_srcdir)/SampleLib/*
54 @tmpdir=/tmp/$(USER)/$@ ; \
55 if test -d $@ ; then \
56 cp -ruv $(top_srcdir)/SampleLib/* $@; \
57 cp -uv $(top_srcdir)/libAliHLTSample.pkg $@; \
58 cp -uv $(top_srcdir)/acinclude.m4 $@; \
59 else \
60 (test ! -d $$tmpdir || rm $$tmpdir); \
61 echo "creating package in tmp dir $$tmpdir" ; \
62 mkdir -p $$tmpdir && \
63 (cp -r $(top_srcdir)/SampleLib/* $$tmpdir ; \
64 cp -uv $(top_srcdir)/libAliHLTSample.pkg $$tmpdir ; \
65 cp -uv $(top_srcdir)/acinclude.m4 $$tmpdir; \
66 (echo 'running autoreconf -f -i' ;cd $$tmpdir ; autoreconf -f -i) ; \
67 echo moving $$tmpdir to `pwd`; mv $$tmpdir . ) \
68 fi
69
70clean-local:
71 (test ! -d SampleLibPkg || rm -rf SampleLibPkg)
72
b521659f 73#
74# EOF
75#