]>
Commit | Line | Data |
---|---|---|
22c6240d | 1 | # $Id$ |
2 | # Makefile template for the Alice HLT reconstruction framework | |
3 | ||
4 | MODULE = HLTrec | |
5 | ||
652cf9d2 | 6 | SUBDIRS = . test |
22c6240d | 7 | |
8 | EXTRA_DIST = | |
9 | ||
436c2d0c | 10 | bin_SCRIPTS = startAliEVE-barrel-tracks.sh |
11 | ||
22c6240d | 12 | # library definition |
13 | lib_LTLIBRARIES = libHLTrec.la | |
14 | ||
15 | # version info for the library | |
b00f5a54 | 16 | LIBRARY_VERSION = "$(LIBHLTREC_VERSION):0:0" |
22c6240d | 17 | |
18 | # MODDIR is set by the AliRoot build system and denotes the topdir | |
19 | # of the module, we must set it since the package definition libHLTrec.pkg | |
20 | # includes another common configuration file | |
21 | MODDIR = $(top_srcdir) | |
22 | PKGDEF = $(MODDIR)/libHLTrec.pkg | |
23 | include $(top_srcdir)/libHLTrec.pkg | |
24 | ||
95316e9f | 25 | # compiler flags |
26 | AM_CPPFLAGS = -DMODULE=$(MODULE) \ | |
27 | $(PACKCXXFLAGS) \ | |
28 | $(foreach i, $(EINCLUDE), \ | |
29 | $(shell echo $(i) | sed -e "/HLT\//!d" -e "s|HLT/|-I$(top_srcdir)/|")) \ | |
30 | $(foreach i, $(EINCLUDE), \ | |
31 | $(shell echo $(i) | sed -e "/HLT\//d" -e "s|^|-I$(ALICE_ROOT)/|")) | |
22c6240d | 32 | # library sources |
33 | libHLTrec_la_SOURCES = $(MODULE_SRCS) | |
34 | ||
35 | # library headers | |
36 | pkginclude_HEADERS = $(MODULE_HDRS) | |
37 | ||
38 | # linker flags | |
39 | libHLTrec_la_LDFLAGS = -L@ROOTLIBDIR@ \ | |
40 | @ROOTLIBS@ \ | |
db95fec3 | 41 | @ALIROOT_LDFLAGS@ \ |
42 | @ALIROOT_LIBS@ \ | |
22c6240d | 43 | -version-info $(LIBRARY_VERSION) |
44 | ||
45 | # automatic generation of data and time of library build | |
46 | COMPILE_INFO = HLTRecCompileInfo.cxx | |
47 | ||
48 | # set the file name for the generated root dictionary | |
49 | DICTCPP = HLTrec-DICT.cxx | |
50 | nodist_libHLTrec_la_SOURCES = $(COMPILE_INFO) \ | |
51 | $(DICTCPP) | |
52 | ||
53 | CLEANFILES = $(COMPILE_INFO) | |
54 | ||
55 | include $(top_srcdir)/make.dict | |
56 | ||
57 | $(COMPILE_INFO): $(libHLTrec_la_SOURCES) $(pkginclude_HEADERS) $(noinst_HEADERS) Makefile.am | |
58 | @echo '//automatically generated compilation info' > $@ | |
59 | @echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@ | |
60 | @echo '//add changes in Makefile.am' >> $@ | |
179be78e | 61 | @echo 'extern "C" void CompileInfo(const char*& date, const char*& time)' >> $@ |
22c6240d | 62 | @echo '{date=__DATE__; time=__TIME__; return;}' >> $@ |