]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/Makefile.am
moved HLT preprocessor to libHLTshuttle; added HLT module preprocessor framework...
[u/mrichter/AliRoot.git] / HLT / Makefile.am
1 # $Id$
2 # Makefile template for the Alice HLT framework and components
3
4
5 if EN_HLT_SAMPLE
6 SAMPLE_DIR=SampleLib    
7 endif
8
9 if EN_HLT_TPC
10 TPC_DIR=TPCLib
11 endif
12
13 if EN_HLT_PHOS
14 PHOS_DIR=PHOS
15 endif
16
17 if EN_HLT_TRD
18 TRD_DIR=TRD
19 endif
20
21 if EN_HLT_MUON
22 MUON_DIR=MUON
23 endif
24
25 if EN_HLT_COMP
26 COMP_DIR=comp
27 endif
28
29 #if EN_HLT_TRIGGER
30 TRIGGER_DIR=trigger
31 #endif
32
33 SUBDIRS                 = BASE \
34                           sim \
35                           rec \
36                           shuttle \
37                           $(SAMPLE_DIR) \
38                           $(TPC_DIR) \
39                           $(PHOS_DIR) \
40                           $(TRD_DIR) \
41                           $(MUON_DIR) \
42                           $(COMP_DIR) \
43                           $(TRIGGER_DIR) \
44                           doc
45
46 EXTRA_DIST              = libHLTbase.pkg \
47                           libHLTinterface.pkg \
48                           libHLTsim.pkg \
49                           libHLTrec.pkg \
50                           libAliHLTHOMER.pkg \
51                           libAliHLTUtil.pkg \
52                           libAliHLTSample.pkg \
53                           libAliHLTPHOS.pkg \
54                           libAliHLTTPC.pkg \
55                           libAliHLTTRD.pkg \
56                           libAliHLTMUON.pkg \
57                           libAliHLTComp.pkg \
58                           libAliHLTTrigger.pkg \
59                           hlt.conf
60
61 DIST_SUBDIRS            = $(SUBDIRS)
62
63 # this is a special target to create a stand-alone package from the SampleLib
64 SampleLibPkg: 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
81 clean-local: 
82         (test ! -d SampleLibPkg || rm -rf SampleLibPkg)
83
84 #
85 # EOF
86 #