]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/rec/Makefile.am
restoring backward compatibility for the AliLog trap after recent changes in AliLog...
[u/mrichter/AliRoot.git] / HLT / rec / Makefile.am
CommitLineData
22c6240d 1# $Id$
2# Makefile template for the Alice HLT reconstruction framework
3
4MODULE = HLTrec
5
652cf9d2 6SUBDIRS = . test
22c6240d 7
8EXTRA_DIST =
9
436c2d0c 10bin_SCRIPTS = startAliEVE-barrel-tracks.sh
11
22c6240d 12# library definition
13lib_LTLIBRARIES = libHLTrec.la
14
15# version info for the library
b00f5a54 16LIBRARY_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
21MODDIR = $(top_srcdir)
22PKGDEF = $(MODDIR)/libHLTrec.pkg
23include $(top_srcdir)/libHLTrec.pkg
24
95316e9f 25# compiler flags
26AM_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
33libHLTrec_la_SOURCES = $(MODULE_SRCS)
34
35# library headers
36pkginclude_HEADERS = $(MODULE_HDRS)
37
38# linker flags
39libHLTrec_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
46COMPILE_INFO = HLTRecCompileInfo.cxx
47
48# set the file name for the generated root dictionary
49DICTCPP = HLTrec-DICT.cxx
50nodist_libHLTrec_la_SOURCES = $(COMPILE_INFO) \
51 $(DICTCPP)
52
53CLEANFILES = $(COMPILE_INFO)
54
55include $(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;}' >> $@