aliroot integration
[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 \
2d7ff710 34 hlt.conf
35
b521659f 36DIST_SUBDIRS = $(SUBDIRS)
37
242bb794 38# this is a special target to create a stand-alone package from the SampleLib
2d7ff710 39SampleLibPkg: Makefile $(top_srcdir)/SampleLib/*
40 @tmpdir=/tmp/$(USER)/$@ ; \
41 if test -d $@ ; then \
42 cp -ruv $(top_srcdir)/SampleLib/* $@; \
43 cp -uv $(top_srcdir)/libAliHLTSample.pkg $@; \
44 cp -uv $(top_srcdir)/acinclude.m4 $@; \
45 else \
46 (test ! -d $$tmpdir || rm $$tmpdir); \
47 echo "creating package in tmp dir $$tmpdir" ; \
48 mkdir -p $$tmpdir && \
49 (cp -r $(top_srcdir)/SampleLib/* $$tmpdir ; \
50 cp -uv $(top_srcdir)/libAliHLTSample.pkg $$tmpdir ; \
51 cp -uv $(top_srcdir)/acinclude.m4 $$tmpdir; \
52 (echo 'running autoreconf -f -i' ;cd $$tmpdir ; autoreconf -f -i) ; \
53 echo moving $$tmpdir to `pwd`; mv $$tmpdir . ) \
54 fi
55
56clean-local:
57 (test ! -d SampleLibPkg || rm -rf SampleLibPkg)
58
b521659f 59#
60# EOF
61#