Macro to read survey points and generate alignment
[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
5e3820e2 13if EN_HLT_RCU
14RCU_DIR=RCU
15endif
16
c160eda8 17if EN_HLT_PHOS
18PHOS_DIR=PHOS
19endif
20
0f51f5b8 21if EN_HLT_TRD
22TRD_DIR=TRD
23endif
24
5c561c5b 25if EN_HLT_MUON
26MUON_DIR=MUON
27endif
28
e89e6b23 29if EN_HLT_COMP
30COMP_DIR=comp
31endif
32
d6e2c707 33if EN_HLT_TRIGGER
3daf4fbc 34TRIGGER_DIR=trigger
d6e2c707 35endif
36
37if EN_HLT_ITS
38ITS_DIR=ITS
39endif
3daf4fbc 40
b521659f 41SUBDIRS = BASE \
4cbaf07b 42 sim \
43 rec \
12ec5482 44 shuttle \
c3800c65 45 $(RCU_DIR) \
b521659f 46 $(SAMPLE_DIR) \
47 $(TPC_DIR) \
c160eda8 48 $(PHOS_DIR) \
0f51f5b8 49 $(TRD_DIR) \
5c561c5b 50 $(MUON_DIR) \
e89e6b23 51 $(COMP_DIR) \
3daf4fbc 52 $(TRIGGER_DIR) \
d6e2c707 53 $(ITS_DIR) \
b521659f 54 doc
55
2d7ff710 56EXTRA_DIST = libHLTbase.pkg \
d098ebd4 57 libHLTinterface.pkg \
4cbaf07b 58 libHLTsim.pkg \
59 libHLTrec.pkg \
8f471af0 60 libHLTshuttle.pkg \
4cbaf07b 61 libAliHLTHOMER.pkg \
242bb794 62 libAliHLTUtil.pkg \
2d7ff710 63 libAliHLTSample.pkg \
3cde846d 64 libAliHLTPHOS.pkg \
dfaa582a 65 libAliHLTTPC.pkg \
0f51f5b8 66 libAliHLTTRD.pkg \
5c561c5b 67 libAliHLTMUON.pkg \
e89e6b23 68 libAliHLTComp.pkg \
3daf4fbc 69 libAliHLTTrigger.pkg \
8f471af0 70 libAliHLTRCU.pkg \
71 libAliHLTITS.pkg \
72 exa/sample-component1.C \
73 exa/monitoring.C \
2d7ff710 74 hlt.conf
75
b521659f 76DIST_SUBDIRS = $(SUBDIRS)
77
242bb794 78# this is a special target to create a stand-alone package from the SampleLib
2d7ff710 79SampleLibPkg: Makefile $(top_srcdir)/SampleLib/*
80 @tmpdir=/tmp/$(USER)/$@ ; \
81 if test -d $@ ; then \
82 cp -ruv $(top_srcdir)/SampleLib/* $@; \
83 cp -uv $(top_srcdir)/libAliHLTSample.pkg $@; \
84 cp -uv $(top_srcdir)/acinclude.m4 $@; \
85 else \
86 (test ! -d $$tmpdir || rm $$tmpdir); \
87 echo "creating package in tmp dir $$tmpdir" ; \
88 mkdir -p $$tmpdir && \
89 (cp -r $(top_srcdir)/SampleLib/* $$tmpdir ; \
90 cp -uv $(top_srcdir)/libAliHLTSample.pkg $$tmpdir ; \
91 cp -uv $(top_srcdir)/acinclude.m4 $$tmpdir; \
92 (echo 'running autoreconf -f -i' ;cd $$tmpdir ; autoreconf -f -i) ; \
93 echo moving $$tmpdir to `pwd`; mv $$tmpdir . ) \
94 fi
95
96clean-local:
97 (test ! -d SampleLibPkg || rm -rf SampleLibPkg)
98
b521659f 99#
100# EOF
101#