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