]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/trigger/Makefile.am
Changed histogram output name.
[u/mrichter/AliRoot.git] / HLT / trigger / Makefile.am
CommitLineData
3daf4fbc 1# $Id$
2# Makefile template for the libAliHLTTrigger library
3
4# This files defines the autotools-based build system of the
5# libAliHLTTrigger library. All lines starting with a '#' are comments.
6# Note: Source files definitions must be made in libAliHLTTrigger.pkg
7
8MODULE = AliHLTTrigger
9
10EXTRA_DIST =
11
12# include the pkg definition which actually contains the source
13# file definitions
14MODDIR = $(top_srcdir)
15PKGDEF = $(MODDIR)/libAliHLTTrigger.pkg
16include $(top_srcdir)/libAliHLTTrigger.pkg
17
18
19# library definition
20# The lib_LTLIBRARIES variable is a fixed variable of the autotools build
21# system. All libraries defined by the Makefile template have to be added
22# here. Since we aim for separated directories for different libraries
23# there will be only one library.
24lib_LTLIBRARIES = libAliHLTTrigger.la
25
26# version info for the library
27# The libtool program is used to created the library, a version number can
28# be specified by using the -version-info flag. This flag accepts an argument
29# of the form current[:revision[:age]].
30# If either revision or age are omitted, they default to 0. Also note that
31# age must be less than or equal to the current interface number. Here are a
32# set of rules to help you update your library version information:
33#
34# 1. Start with version information of 0:0:0 for each libtool library.
35# 2. Update the version information only immediately before a public release
36# of your software. More frequent updates are unnecessary, and only
37# guarantee that the current interface number gets larger faster.
38# 3. If the library source code has changed at all since the last update,
39# then increment revision (c:r:a becomes c:r+1:a).
40# 4. If any interfaces have been added, removed, or changed since the last
41# update, increment current, and set revision to 0.
42# 5. If any interfaces have been added since the last public release, then
43# increment age.
44# 6. If any interfaces have been removed since the last public release, then
45# set age to 0.
b00f5a54 46LIBRARY_VERSION = '1:0:0'
3daf4fbc 47
48# library sources
49# The source files are specified in libAliHLTTrigger.pkg
50libAliHLTTrigger_la_SOURCES = $(MODULE_SRCS)
51
52# library headers
53# The header files are specified in libAliHLTTrigger.pkg
9ec3aa95 54pkginclude_HEADERS = $(MODULE_HDRS)
3daf4fbc 55
56# compilation flags of the library
57# This is the place to add further include directories if you are
58# using external modules. The AliRoot/STEER and ROOT directories
59# are the default include directories.
60# Include paths within the HLT modules are automatically taken from the
61# EINCLUDE variable of the pkg definition
62# other AliRoot dependencies might need to added
63AM_CPPFLAGS = -DMODULE=$(MODULE) \
9ec3aa95 64 -DPKGINCLUDEDIR=\"$(pkgincludedir)\" \
3daf4fbc 65 @HLTBASE_CPPFLAGS@ \
66 @ALIROOT_CPPFLAGS@ \
67 @ROOTCFLAGS@ \
68 $(foreach i, $(EINCLUDE), \
69 $(shell echo $(i) | sed -e "/HLT\//!d" -e "s|HLT/|-I$(top_srcdir)/|")) \
70 $(foreach i, $(EINCLUDE), \
71 $(shell echo $(i) | sed -e "/HLT\//d" -e "s|^|-I$(ALICE_ROOT)/|"))
72
73# linking flags of the library
74# This is the place to add further libraries if you are
75# using external modules. The AliRoot, ROOT and HLT base libraries
76# are added by default.
77# Also the version of the library
d94242e8 78libAliHLTTrigger_la_LIBADD = $(top_builddir)/BASE/util/libAliHLTUtil.la \
79 $(top_builddir)/TRD/libAliHLTTRD.la
80
3daf4fbc 81libAliHLTTrigger_la_LDFLAGS = -L@ROOTLIBDIR@ \
82 @ROOTLIBS@ \
83 @HLTBASE_LDFLAGS@ \
84 @ALIROOT_LDFLAGS@ \
85 @ALIROOT_LIBS@ \
86 -version-info $(LIBRARY_VERSION)
87
88# automatic generation of data and time of library build
89COMPILE_INFO = AliHLTTriggerCompileInfo.cxx
90
91# set the file name for the generated root dictionary
92DICTCPP = AliHLTTrigger-DICT.cxx
93nodist_libAliHLTTrigger_la_SOURCES= $(COMPILE_INFO) \
94 $(DICTCPP)
95
96CLEANFILES = $(COMPILE_INFO)
97
98include $(top_srcdir)/make.dict
99
ad6aeb02 100SUBDIRS = . test
101
3daf4fbc 102$(COMPILE_INFO): $(libAliHLTTrigger_la_SOURCES) $(pkginclude_HEADERS) $(noinst_HEADERS) Makefile.am
103 @echo '//automatically generated compilation info' > $@
104 @echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@
105 @echo '//add changes in Makefile.am' >> $@
cafc1a86 106 @echo 'extern "C" void CompileInfo( const char*& date, const char*& time)' >> $@
3daf4fbc 107 @echo '{date=__DATE__; time=__TIME__; return;}' >> $@