]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/Makefile.am
improved robustness; format specifications changed from variables to defines to be...
[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 \
b521659f 45 $(SAMPLE_DIR) \
46 $(TPC_DIR) \
5e3820e2 47 $(RCU_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 \
60 libAliHLTHOMER.pkg \
242bb794 61 libAliHLTUtil.pkg \
2d7ff710 62 libAliHLTSample.pkg \
3cde846d 63 libAliHLTPHOS.pkg \
dfaa582a 64 libAliHLTTPC.pkg \
0f51f5b8 65 libAliHLTTRD.pkg \
5c561c5b 66 libAliHLTMUON.pkg \
e89e6b23 67 libAliHLTComp.pkg \
3daf4fbc 68 libAliHLTTrigger.pkg \
2d7ff710 69 hlt.conf
70
b521659f 71DIST_SUBDIRS = $(SUBDIRS)
72
242bb794 73# this is a special target to create a stand-alone package from the SampleLib
2d7ff710 74SampleLibPkg: Makefile $(top_srcdir)/SampleLib/*
75 @tmpdir=/tmp/$(USER)/$@ ; \
76 if test -d $@ ; then \
77 cp -ruv $(top_srcdir)/SampleLib/* $@; \
78 cp -uv $(top_srcdir)/libAliHLTSample.pkg $@; \
79 cp -uv $(top_srcdir)/acinclude.m4 $@; \
80 else \
81 (test ! -d $$tmpdir || rm $$tmpdir); \
82 echo "creating package in tmp dir $$tmpdir" ; \
83 mkdir -p $$tmpdir && \
84 (cp -r $(top_srcdir)/SampleLib/* $$tmpdir ; \
85 cp -uv $(top_srcdir)/libAliHLTSample.pkg $$tmpdir ; \
86 cp -uv $(top_srcdir)/acinclude.m4 $$tmpdir; \
87 (echo 'running autoreconf -f -i' ;cd $$tmpdir ; autoreconf -f -i) ; \
88 echo moving $$tmpdir to `pwd`; mv $$tmpdir . ) \
89 fi
90
91clean-local:
92 (test ! -d SampleLibPkg || rm -rf SampleLibPkg)
93
b521659f 94#
95# EOF
96#