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