]>
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 | ||
5c561c5b | 21 | if EN_HLT_MUON |
22 | MUON_DIR=MUON | |
23 | endif | |
24 | ||
b521659f | 25 | SUBDIRS = BASE \ |
4cbaf07b | 26 | sim \ |
27 | rec \ | |
b521659f | 28 | $(SAMPLE_DIR) \ |
29 | $(TPC_DIR) \ | |
c160eda8 | 30 | $(PHOS_DIR) \ |
0f51f5b8 | 31 | $(TRD_DIR) \ |
5c561c5b | 32 | $(MUON_DIR) \ |
b521659f | 33 | doc |
34 | ||
2d7ff710 | 35 | EXTRA_DIST = libHLTbase.pkg \ |
d098ebd4 | 36 | libHLTinterface.pkg \ |
4cbaf07b | 37 | libHLTsim.pkg \ |
38 | libHLTrec.pkg \ | |
39 | libAliHLTHOMER.pkg \ | |
242bb794 | 40 | libAliHLTUtil.pkg \ |
2d7ff710 | 41 | libAliHLTSample.pkg \ |
3cde846d | 42 | libAliHLTPHOS.pkg \ |
dfaa582a | 43 | libAliHLTTPC.pkg \ |
0f51f5b8 | 44 | libAliHLTTRD.pkg \ |
5c561c5b | 45 | libAliHLTMUON.pkg \ |
2d7ff710 | 46 | hlt.conf |
47 | ||
b521659f | 48 | DIST_SUBDIRS = $(SUBDIRS) |
49 | ||
242bb794 | 50 | # this is a special target to create a stand-alone package from the SampleLib |
2d7ff710 | 51 | SampleLibPkg: Makefile $(top_srcdir)/SampleLib/* |
52 | @tmpdir=/tmp/$(USER)/$@ ; \ | |
53 | if test -d $@ ; then \ | |
54 | cp -ruv $(top_srcdir)/SampleLib/* $@; \ | |
55 | cp -uv $(top_srcdir)/libAliHLTSample.pkg $@; \ | |
56 | cp -uv $(top_srcdir)/acinclude.m4 $@; \ | |
57 | else \ | |
58 | (test ! -d $$tmpdir || rm $$tmpdir); \ | |
59 | echo "creating package in tmp dir $$tmpdir" ; \ | |
60 | mkdir -p $$tmpdir && \ | |
61 | (cp -r $(top_srcdir)/SampleLib/* $$tmpdir ; \ | |
62 | cp -uv $(top_srcdir)/libAliHLTSample.pkg $$tmpdir ; \ | |
63 | cp -uv $(top_srcdir)/acinclude.m4 $$tmpdir; \ | |
64 | (echo 'running autoreconf -f -i' ;cd $$tmpdir ; autoreconf -f -i) ; \ | |
65 | echo moving $$tmpdir to `pwd`; mv $$tmpdir . ) \ | |
66 | fi | |
67 | ||
68 | clean-local: | |
69 | (test ! -d SampleLibPkg || rm -rf SampleLibPkg) | |
70 | ||
b521659f | 71 | # |
72 | # EOF | |
73 | # |