]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/Makefile.am
adding AliHLTAltroGenerator including unit test for simulation of Altro data and...
[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                           $(RCU_DIR) \
46                           $(SAMPLE_DIR) \
47                           $(TPC_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                           libHLTshuttle.pkg \
61                           libAliHLTHOMER.pkg \
62                           libAliHLTUtil.pkg \
63                           libAliHLTSample.pkg \
64                           libAliHLTPHOS.pkg \
65                           libAliHLTTPC.pkg \
66                           libAliHLTTRD.pkg \
67                           libAliHLTMUON.pkg \
68                           libAliHLTComp.pkg \
69                           libAliHLTTrigger.pkg \
70                           libAliHLTRCU.pkg \
71                           libAliHLTITS.pkg \
72                           exa/sample-component1.C \
73                           exa/monitoring.C \
74                           hlt.conf
75
76 DIST_SUBDIRS            = $(SUBDIRS)
77
78 # this is a special target to create a stand-alone package from the SampleLib
79 SampleLibPkg: Makefile $(top_srcdir)/SampleLib/*
80         @tmpdir=/tmp/$(USER)/$@ ; \
81         if test -d $@ ; then \
82           cp -ruv $(top_srcdir)/SampleLib/* $@; \
83           cp -uv $(top_srcdir)/libAliHLTSample.pkg $@; \
84           cp -uv $(top_srcdir)/acinclude.m4 $@; \
85         else \
86           (test ! -d $$tmpdir || rm $$tmpdir); \
87           echo "creating package in tmp dir $$tmpdir" ; \
88           mkdir -p $$tmpdir && \
89           (cp -r $(top_srcdir)/SampleLib/* $$tmpdir ; \
90           cp -uv $(top_srcdir)/libAliHLTSample.pkg $$tmpdir ; \
91           cp -uv $(top_srcdir)/acinclude.m4 $$tmpdir; \
92           (echo 'running autoreconf -f -i' ;cd $$tmpdir ; autoreconf -f -i) ; \
93           echo moving $$tmpdir to `pwd`; mv $$tmpdir . ) \
94         fi
95
96 clean-local: 
97         (test ! -d SampleLibPkg || rm -rf SampleLibPkg)
98
99 #
100 # EOF
101 #