]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/Makefile.am
- changes according to coding conventions and documentation
[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 SUBDIRS                 = BASE \
18                           $(SAMPLE_DIR) \
19                           $(TPC_DIR) \
20                           $(PHOS_DIR) \
21                           doc
22
23 EXTRA_DIST              = libHLTbase.pkg \
24                           libAliHLTSample.pkg \
25                           hlt.conf
26
27 DIST_SUBDIRS            = $(SUBDIRS)
28
29 SampleLibPkg: Makefile $(top_srcdir)/SampleLib/*
30         @tmpdir=/tmp/$(USER)/$@ ; \
31         if test -d $@ ; then \
32           cp -ruv $(top_srcdir)/SampleLib/* $@; \
33           cp -uv $(top_srcdir)/libAliHLTSample.pkg $@; \
34           cp -uv $(top_srcdir)/acinclude.m4 $@; \
35         else \
36           (test ! -d $$tmpdir || rm $$tmpdir); \
37           echo "creating package in tmp dir $$tmpdir" ; \
38           mkdir -p $$tmpdir && \
39           (cp -r $(top_srcdir)/SampleLib/* $$tmpdir ; \
40           cp -uv $(top_srcdir)/libAliHLTSample.pkg $$tmpdir ; \
41           cp -uv $(top_srcdir)/acinclude.m4 $$tmpdir; \
42           (echo 'running autoreconf -f -i' ;cd $$tmpdir ; autoreconf -f -i) ; \
43           echo moving $$tmpdir to `pwd`; mv $$tmpdir . ) \
44         fi
45
46 clean-local: 
47         (test ! -d SampleLibPkg || rm -rf SampleLibPkg)
48
49 #
50 # EOF
51 #