Starting buspatch on NB plane for station 1 & 2, real DDL sharing for station 3 ...
[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 \
29 libAliHLTSample.pkg \
3cde846d 30 libAliHLTPHOS.pkg \
0f51f5b8 31 libAliHLTTRD.pkg \
2d7ff710 32 hlt.conf
33
b521659f 34DIST_SUBDIRS = $(SUBDIRS)
35
2d7ff710 36SampleLibPkg: Makefile $(top_srcdir)/SampleLib/*
37 @tmpdir=/tmp/$(USER)/$@ ; \
38 if test -d $@ ; then \
39 cp -ruv $(top_srcdir)/SampleLib/* $@; \
40 cp -uv $(top_srcdir)/libAliHLTSample.pkg $@; \
41 cp -uv $(top_srcdir)/acinclude.m4 $@; \
42 else \
43 (test ! -d $$tmpdir || rm $$tmpdir); \
44 echo "creating package in tmp dir $$tmpdir" ; \
45 mkdir -p $$tmpdir && \
46 (cp -r $(top_srcdir)/SampleLib/* $$tmpdir ; \
47 cp -uv $(top_srcdir)/libAliHLTSample.pkg $$tmpdir ; \
48 cp -uv $(top_srcdir)/acinclude.m4 $$tmpdir; \
49 (echo 'running autoreconf -f -i' ;cd $$tmpdir ; autoreconf -f -i) ; \
50 echo moving $$tmpdir to `pwd`; mv $$tmpdir . ) \
51 fi
52
53clean-local:
54 (test ! -d SampleLibPkg || rm -rf SampleLibPkg)
55
b521659f 56#
57# EOF
58#