]>
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 | ||
0f51f5b8 | 17 | if EN_HLT_TRD |
18 | TRD_DIR=TRD | |
19 | endif | |
20 | ||
b521659f | 21 | SUBDIRS = BASE \ |
22 | $(SAMPLE_DIR) \ | |
23 | $(TPC_DIR) \ | |
c160eda8 | 24 | $(PHOS_DIR) \ |
0f51f5b8 | 25 | $(TRD_DIR) \ |
b521659f | 26 | doc |
27 | ||
2d7ff710 | 28 | EXTRA_DIST = libHLTbase.pkg \ |
29 | libAliHLTSample.pkg \ | |
3cde846d | 30 | libAliHLTPHOS.pkg \ |
dfaa582a | 31 | libAliHLTTPC.pkg \ |
0f51f5b8 | 32 | libAliHLTTRD.pkg \ |
2d7ff710 | 33 | hlt.conf |
34 | ||
b521659f | 35 | DIST_SUBDIRS = $(SUBDIRS) |
36 | ||
2d7ff710 | 37 | SampleLibPkg: Makefile $(top_srcdir)/SampleLib/* |
38 | @tmpdir=/tmp/$(USER)/$@ ; \ | |
39 | if test -d $@ ; then \ | |
40 | cp -ruv $(top_srcdir)/SampleLib/* $@; \ | |
41 | cp -uv $(top_srcdir)/libAliHLTSample.pkg $@; \ | |
42 | cp -uv $(top_srcdir)/acinclude.m4 $@; \ | |
43 | else \ | |
44 | (test ! -d $$tmpdir || rm $$tmpdir); \ | |
45 | echo "creating package in tmp dir $$tmpdir" ; \ | |
46 | mkdir -p $$tmpdir && \ | |
47 | (cp -r $(top_srcdir)/SampleLib/* $$tmpdir ; \ | |
48 | cp -uv $(top_srcdir)/libAliHLTSample.pkg $$tmpdir ; \ | |
49 | cp -uv $(top_srcdir)/acinclude.m4 $$tmpdir; \ | |
50 | (echo 'running autoreconf -f -i' ;cd $$tmpdir ; autoreconf -f -i) ; \ | |
51 | echo moving $$tmpdir to `pwd`; mv $$tmpdir . ) \ | |
52 | fi | |
53 | ||
54 | clean-local: | |
55 | (test ! -d SampleLibPkg || rm -rf SampleLibPkg) | |
56 | ||
b521659f | 57 | # |
58 | # EOF | |
59 | # |