]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/Makefile.am
coding violations and compilation warnings fixed (Sergey)
[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_RCU
14 RCU_DIR=RCU
15 endif
16
17 if EN_HLT_PHOS
18 PHOS_DIR=PHOS
19 endif
20
21 if EN_HLT_TRD
22 TRD_DIR=TRD
23 endif
24
25 if EN_HLT_MUON
26 MUON_DIR=MUON
27 endif
28
29 if EN_HLT_COMP
30 COMP_DIR=comp
31 endif
32
33 #if EN_HLT_TRIGGER
34 TRIGGER_DIR=trigger
35 #endif
36
37 SUBDIRS                 = BASE \
38                           sim \
39                           rec \
40                           shuttle \
41                           $(SAMPLE_DIR) \
42                           $(TPC_DIR) \
43                           $(RCU_DIR) \
44                           $(PHOS_DIR) \
45                           $(TRD_DIR) \
46                           $(MUON_DIR) \
47                           $(COMP_DIR) \
48                           $(TRIGGER_DIR) \
49                           doc
50
51 EXTRA_DIST              = libHLTbase.pkg \
52                           libHLTinterface.pkg \
53                           libHLTsim.pkg \
54                           libHLTrec.pkg \
55                           libAliHLTHOMER.pkg \
56                           libAliHLTUtil.pkg \
57                           libAliHLTSample.pkg \
58                           libAliHLTPHOS.pkg \
59                           libAliHLTTPC.pkg \
60                           libAliHLTTRD.pkg \
61                           libAliHLTMUON.pkg \
62                           libAliHLTComp.pkg \
63                           libAliHLTTrigger.pkg \
64                           hlt.conf
65
66 DIST_SUBDIRS            = $(SUBDIRS)
67
68 # this is a special target to create a stand-alone package from the SampleLib
69 SampleLibPkg: Makefile $(top_srcdir)/SampleLib/*
70         @tmpdir=/tmp/$(USER)/$@ ; \
71         if test -d $@ ; then \
72           cp -ruv $(top_srcdir)/SampleLib/* $@; \
73           cp -uv $(top_srcdir)/libAliHLTSample.pkg $@; \
74           cp -uv $(top_srcdir)/acinclude.m4 $@; \
75         else \
76           (test ! -d $$tmpdir || rm $$tmpdir); \
77           echo "creating package in tmp dir $$tmpdir" ; \
78           mkdir -p $$tmpdir && \
79           (cp -r $(top_srcdir)/SampleLib/* $$tmpdir ; \
80           cp -uv $(top_srcdir)/libAliHLTSample.pkg $$tmpdir ; \
81           cp -uv $(top_srcdir)/acinclude.m4 $$tmpdir; \
82           (echo 'running autoreconf -f -i' ;cd $$tmpdir ; autoreconf -f -i) ; \
83           echo moving $$tmpdir to `pwd`; mv $$tmpdir . ) \
84         fi
85
86 clean-local: 
87         (test ! -d SampleLibPkg || rm -rf SampleLibPkg)
88
89 #
90 # EOF
91 #