]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/Makefile.am
Making check for zero explicit.
[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 SUBDIRS                 = BASE \
26                           sim \
27                           rec \
28                           $(SAMPLE_DIR) \
29                           $(TPC_DIR) \
30                           $(PHOS_DIR) \
31                           $(TRD_DIR) \
32                           $(MUON_DIR) \
33                           doc
34
35 EXTRA_DIST              = libHLTbase.pkg \
36                           libHLTinterface.pkg \
37                           libHLTsim.pkg \
38                           libHLTrec.pkg \
39                           libAliHLTHOMER.pkg \
40                           libAliHLTUtil.pkg \
41                           libAliHLTSample.pkg \
42                           libAliHLTPHOS.pkg \
43                           libAliHLTTPC.pkg \
44                           libAliHLTTRD.pkg \
45                           libAliHLTMUON.pkg \
46                           src/AliHLTReconstructor.h \
47                           src/AliHLTReconstructor.cxx \
48                           hlt.conf
49
50 DIST_SUBDIRS            = $(SUBDIRS)
51
52 # this is a special target to create a stand-alone package from the SampleLib
53 SampleLibPkg: Makefile $(top_srcdir)/SampleLib/*
54         @tmpdir=/tmp/$(USER)/$@ ; \
55         if test -d $@ ; then \
56           cp -ruv $(top_srcdir)/SampleLib/* $@; \
57           cp -uv $(top_srcdir)/libAliHLTSample.pkg $@; \
58           cp -uv $(top_srcdir)/acinclude.m4 $@; \
59         else \
60           (test ! -d $$tmpdir || rm $$tmpdir); \
61           echo "creating package in tmp dir $$tmpdir" ; \
62           mkdir -p $$tmpdir && \
63           (cp -r $(top_srcdir)/SampleLib/* $$tmpdir ; \
64           cp -uv $(top_srcdir)/libAliHLTSample.pkg $$tmpdir ; \
65           cp -uv $(top_srcdir)/acinclude.m4 $$tmpdir; \
66           (echo 'running autoreconf -f -i' ;cd $$tmpdir ; autoreconf -f -i) ; \
67           echo moving $$tmpdir to `pwd`; mv $$tmpdir . ) \
68         fi
69
70 clean-local: 
71         (test ! -d SampleLibPkg || rm -rf SampleLibPkg)
72
73 #
74 # EOF
75 #