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