]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/Makefile.am
added libAliHLTTRD, added libAliHLTTPC to AliRoot build system
[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                           libAliHLTSample.pkg \
30                           libAliHLTPHOS.pkg \
31                           libAliHLTTRD.pkg \
32                           hlt.conf
33
34 DIST_SUBDIRS            = $(SUBDIRS)
35
36 SampleLibPkg: Makefile $(top_srcdir)/SampleLib/*
37         @tmpdir=/tmp/$(USER)/$@ ; \
38         if test -d $@ ; then \
39           cp -ruv $(top_srcdir)/SampleLib/* $@; \
40           cp -uv $(top_srcdir)/libAliHLTSample.pkg $@; \
41           cp -uv $(top_srcdir)/acinclude.m4 $@; \
42         else \
43           (test ! -d $$tmpdir || rm $$tmpdir); \
44           echo "creating package in tmp dir $$tmpdir" ; \
45           mkdir -p $$tmpdir && \
46           (cp -r $(top_srcdir)/SampleLib/* $$tmpdir ; \
47           cp -uv $(top_srcdir)/libAliHLTSample.pkg $$tmpdir ; \
48           cp -uv $(top_srcdir)/acinclude.m4 $$tmpdir; \
49           (echo 'running autoreconf -f -i' ;cd $$tmpdir ; autoreconf -f -i) ; \
50           echo moving $$tmpdir to `pwd`; mv $$tmpdir . ) \
51         fi
52
53 clean-local: 
54         (test ! -d SampleLibPkg || rm -rf SampleLibPkg)
55
56 #
57 # EOF
58 #