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