]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/global/Makefile.am
add SPD to plots
[u/mrichter/AliRoot.git] / HLT / global / Makefile.am
CommitLineData
ec6160d5 1# $Id$
2# Makefile template for the Alice HLT global library
3
4MODULE = AliHLTGlobal
5
6EXTRA_DIST =
7
8# library definition
9lib_LTLIBRARIES = libAliHLTGlobal.la
10
11# version info for the library
b00f5a54 12LIBRARY_VERSION = '1:0:0'
ec6160d5 13
14# MODDIR is set by the AliRoot build system and denotes the topdir
15# of the module, we must set it since the package definition libAliHLTGlobal.pkg
16# includes another common configuration file
17MODDIR = $(top_srcdir)
18PKGDEF = $(MODDIR)/libAliHLTGlobal.pkg
19include $(top_srcdir)/libAliHLTGlobal.pkg
20
21# compiler flags
22AM_CPPFLAGS = -DMODULE=$(MODULE) \
23 $(PACKCXXFLAGS) \
24 $(foreach i, $(EINCLUDE), \
25 $(shell echo $(i) | sed -e "/HLT\//!d" -e "s|HLT/|-I$(top_srcdir)/|")) \
26 $(foreach i, $(EINCLUDE), \
27 $(shell echo $(i) | sed -e "/HLT\//d" -e "s|^|-I$(ALICE_ROOT)/|"))
28# library sources
29libAliHLTGlobal_la_SOURCES = $(MODULE_SRCS)
30
31# library headers
32pkginclude_HEADERS = $(MODULE_HDRS)
33
34# additional link def file
35EXTRA_DIST +=$(MODULE_DHDR)
36
0cd1ba6e 37libAliHLTGlobal_la_LIBADD = $(top_builddir)/BASE/util/libAliHLTUtil.la
ec6160d5 38# version info for the library
39libAliHLTGlobal_la_LDFLAGS = -L@ROOTLIBDIR@ \
40 @ROOTLIBS@ \
41 @HLTBASE_LDFLAGS@ \
42 @ALIROOT_LDFLAGS@ \
43 @ALIROOT_LIBS@ \
44 @ALIGLOBAL_LIBS@ \
45 -version-info $(LIBRARY_VERSION)
46
47# automatic generation of data and time of library build
48COMPILE_INFO = AliHLTGlobalCompileInfo.cxx
49
50# set the file name for the generated root dictionary
51DICTCPP = AliHLTGlobal-DICT.cxx
52nodist_libAliHLTGlobal_la_SOURCES = $(COMPILE_INFO) \
53 $(DICTCPP)
54
55CLEANFILES = $(COMPILE_INFO)
56
57include $(top_srcdir)/make.dict
58
59SUBDIRS = .
60
61$(COMPILE_INFO): $(libAliHLTGlobal_la_SOURCES) $(pkginclude_HEADERS) $(noinst_HEADERS) Makefile.am
62 @echo '//automatically generated compilation info' > $@
63 @echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@
64 @echo '//add changes in Makefile.am' >> $@
65 @echo 'extern "C" void CompileInfo(const char*& date, const char*& time)' >> $@
66 @echo '{date=__DATE__; time=__TIME__; return;}' >> $@