]>
Commit | Line | Data |
---|---|---|
b521659f | 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 | ||
c160eda8 | 13 | if EN_HLT_PHOS |
14 | PHOS_DIR=PHOS | |
15 | endif | |
16 | ||
b521659f | 17 | SUBDIRS = BASE \ |
18 | $(SAMPLE_DIR) \ | |
19 | $(TPC_DIR) \ | |
c160eda8 | 20 | $(PHOS_DIR) \ |
b521659f | 21 | doc |
22 | ||
2d7ff710 | 23 | EXTRA_DIST = libHLTbase.pkg \ |
24 | libAliHLTSample.pkg \ | |
25 | hlt.conf | |
26 | ||
b521659f | 27 | DIST_SUBDIRS = $(SUBDIRS) |
28 | ||
2d7ff710 | 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 | ||
b521659f | 49 | # |
50 | # EOF | |
51 | # |