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