]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/Makefile.am
completely re-worked TPC CA tracking code (Sergey/Ivan)
[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                           $(SAMPLE_DIR) \
37                           $(TPC_DIR) \
38                           $(PHOS_DIR) \
39                           $(TRD_DIR) \
40                           $(MUON_DIR) \
41                           $(COMP_DIR) \
42                           $(TRIGGER_DIR) \
43                           doc
44
45 EXTRA_DIST              = libHLTbase.pkg \
46                           libHLTinterface.pkg \
47                           libHLTsim.pkg \
48                           libHLTrec.pkg \
49                           libAliHLTHOMER.pkg \
50                           libAliHLTUtil.pkg \
51                           libAliHLTSample.pkg \
52                           libAliHLTPHOS.pkg \
53                           libAliHLTTPC.pkg \
54                           libAliHLTTRD.pkg \
55                           libAliHLTMUON.pkg \
56                           libAliHLTComp.pkg \
57                           libAliHLTTrigger.pkg \
58                           hlt.conf
59
60 DIST_SUBDIRS            = $(SUBDIRS)
61
62 # this is a special target to create a stand-alone package from the SampleLib
63 SampleLibPkg: Makefile $(top_srcdir)/SampleLib/*
64         @tmpdir=/tmp/$(USER)/$@ ; \
65         if test -d $@ ; then \
66           cp -ruv $(top_srcdir)/SampleLib/* $@; \
67           cp -uv $(top_srcdir)/libAliHLTSample.pkg $@; \
68           cp -uv $(top_srcdir)/acinclude.m4 $@; \
69         else \
70           (test ! -d $$tmpdir || rm $$tmpdir); \
71           echo "creating package in tmp dir $$tmpdir" ; \
72           mkdir -p $$tmpdir && \
73           (cp -r $(top_srcdir)/SampleLib/* $$tmpdir ; \
74           cp -uv $(top_srcdir)/libAliHLTSample.pkg $$tmpdir ; \
75           cp -uv $(top_srcdir)/acinclude.m4 $$tmpdir; \
76           (echo 'running autoreconf -f -i' ;cd $$tmpdir ; autoreconf -f -i) ; \
77           echo moving $$tmpdir to `pwd`; mv $$tmpdir . ) \
78         fi
79
80 clean-local: 
81         (test ! -d SampleLibPkg || rm -rf SampleLibPkg)
82
83 #
84 # EOF
85 #