use excahnge container as input
[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.
46LIBRARY_VERSION = '0:0:0'
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
54noinst_HEADERS = $(MODULE_HDRS)
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) \
64 @HLTBASE_CPPFLAGS@ \
65 @ALIROOT_CPPFLAGS@ \
66 @ROOTCFLAGS@ \
67 $(foreach i, $(EINCLUDE), \
68 $(shell echo $(i) | sed -e "/HLT\//!d" -e "s|HLT/|-I$(top_srcdir)/|")) \
69 $(foreach i, $(EINCLUDE), \
70 $(shell echo $(i) | sed -e "/HLT\//d" -e "s|^|-I$(ALICE_ROOT)/|"))
71
72# linking flags of the library
73# This is the place to add further libraries if you are
74# using external modules. The AliRoot, ROOT and HLT base libraries
75# are added by default.
76# Also the version of the library
77#libAliHLTTPC_la_LIBADD = $(top_builddir)/BASE/TPCLib/libAliHLTTPC.la
78libAliHLTTrigger_la_LDFLAGS = -L@ROOTLIBDIR@ \
79 @ROOTLIBS@ \
80 @HLTBASE_LDFLAGS@ \
81 @ALIROOT_LDFLAGS@ \
82 @ALIROOT_LIBS@ \
83 -version-info $(LIBRARY_VERSION)
84
85# automatic generation of data and time of library build
86COMPILE_INFO = AliHLTTriggerCompileInfo.cxx
87
88# set the file name for the generated root dictionary
89DICTCPP = AliHLTTrigger-DICT.cxx
90nodist_libAliHLTTrigger_la_SOURCES= $(COMPILE_INFO) \
91 $(DICTCPP)
92
93CLEANFILES = $(COMPILE_INFO)
94
95include $(top_srcdir)/make.dict
96
97$(COMPILE_INFO): $(libAliHLTTrigger_la_SOURCES) $(pkginclude_HEADERS) $(noinst_HEADERS) Makefile.am
98 @echo '//automatically generated compilation info' > $@
99 @echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@
100 @echo '//add changes in Makefile.am' >> $@
101 @echo 'extern "C" void CompileInfo( char*& date, char*& time)' >> $@
102 @echo '{date=__DATE__; time=__TIME__; return;}' >> $@