]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/Makefile.am
libAliHLTITS added to HLT build system; minor compilation warnings removed
[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 if EN_HLT_ITS
38 ITS_DIR=ITS
39 endif
40
41 SUBDIRS                 = BASE \
42                           sim \
43                           rec \
44                           shuttle \
45                           $(SAMPLE_DIR) \
46                           $(TPC_DIR) \
47                           $(RCU_DIR) \
48                           $(PHOS_DIR) \
49                           $(TRD_DIR) \
50                           $(MUON_DIR) \
51                           $(COMP_DIR) \
52                           $(TRIGGER_DIR) \
53                           $(ITS_DIR) \
54                           doc
55
56 EXTRA_DIST              = libHLTbase.pkg \
57                           libHLTinterface.pkg \
58                           libHLTsim.pkg \
59                           libHLTrec.pkg \
60                           libAliHLTHOMER.pkg \
61                           libAliHLTUtil.pkg \
62                           libAliHLTSample.pkg \
63                           libAliHLTPHOS.pkg \
64                           libAliHLTTPC.pkg \
65                           libAliHLTTRD.pkg \
66                           libAliHLTMUON.pkg \
67                           libAliHLTComp.pkg \
68                           libAliHLTTrigger.pkg \
69                           hlt.conf
70
71 DIST_SUBDIRS            = $(SUBDIRS)
72
73 # this is a special target to create a stand-alone package from the SampleLib
74 SampleLibPkg: 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
91 clean-local: 
92         (test ! -d SampleLibPkg || rm -rf SampleLibPkg)
93
94 #
95 # EOF
96 #