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