bugfix, added missing header file
[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                           libAliHLTPHOS.pkg \
26                           hlt.conf
27
28 DIST_SUBDIRS            = $(SUBDIRS)
29
30 SampleLibPkg: Makefile $(top_srcdir)/SampleLib/*
31         @tmpdir=/tmp/$(USER)/$@ ; \
32         if test -d $@ ; then \
33           cp -ruv $(top_srcdir)/SampleLib/* $@; \
34           cp -uv $(top_srcdir)/libAliHLTSample.pkg $@; \
35           cp -uv $(top_srcdir)/acinclude.m4 $@; \
36         else \
37           (test ! -d $$tmpdir || rm $$tmpdir); \
38           echo "creating package in tmp dir $$tmpdir" ; \
39           mkdir -p $$tmpdir && \
40           (cp -r $(top_srcdir)/SampleLib/* $$tmpdir ; \
41           cp -uv $(top_srcdir)/libAliHLTSample.pkg $$tmpdir ; \
42           cp -uv $(top_srcdir)/acinclude.m4 $$tmpdir; \
43           (echo 'running autoreconf -f -i' ;cd $$tmpdir ; autoreconf -f -i) ; \
44           echo moving $$tmpdir to `pwd`; mv $$tmpdir . ) \
45         fi
46
47 clean-local: 
48         (test ! -d SampleLibPkg || rm -rf SampleLibPkg)
49
50 #
51 # EOF
52 #