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