]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/benchmark/Makefile.am
Removing obsolete mapping macro
[u/mrichter/AliRoot.git] / HLT / benchmark / Makefile.am
CommitLineData
ce5f90bf 1# $Id$
2# Makefile template for the Alice HLT benchmark routines
3
4MODULE = AliHLTBenchmark
5
6SUBDIRS = .
7
8EXTRA_DIST =
9
10bin_SCRIPTS =
11
12# library definition
13lib_LTLIBRARIES = libAliHLTBenchmark.la
14
15# version info for the library
16LIBRARY_VERSION = '0:0:0'
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 libAliHLTBenchmark.pkg
20# includes another common configuration file
21# that might become relevant if the library is also to be included into the
22# AliRoot build system
23# MODDIR = $(top_srcdir)
24# PKGDEF = $(MODDIR)/libAliHLTBenchmark.pkg
25# include $(top_srcdir)/libAliHLTBenchmark.pkg
26
27###### to be moved to libAliHLTBenchmark.pkg if included to AliRoot #############
28CLASS_HDRS:= AliHLTBenchExternalTrackComponent.h
29
30MODULE_SRCS= $(CLASS_HDRS:.h=.cxx)
31
32MODULE_HDRS:= $(CLASS_HDRS)
33
34EINCLUDE = HLT/BASE STEER
35#################################################################################
36
37# compiler flags
38AM_CPPFLAGS = -DMODULE=$(MODULE) \
39 $(foreach i, $(EINCLUDE), \
40 $(shell echo $(i) | sed -e "/HLT\//!d" -e "s|HLT/|-I$(top_srcdir)/|")) \
41 $(foreach i, $(EINCLUDE), \
42 $(shell echo $(i) | sed -e "/HLT\//d" -e "s|^|-I$(ALICE_ROOT)/|"))
43
44# library sources
45libAliHLTBenchmark_la_SOURCES = $(MODULE_SRCS)
46
47# library headers
48pkginclude_HEADERS = $(MODULE_HDRS)
49
50# linker flags
51libAliHLTBenchmark_la_LDFLAGS = -L@ROOTLIBDIR@ \
52 @ROOTLIBS@ \
53 -version-info $(LIBRARY_VERSION)
54
55# automatic generation of data and time of library build
56COMPILE_INFO = AliHLTBenchmarkCompileInfo.cxx
57
58# set the file name for the generated root dictionary
59DICTCPP = AliHLTBenchmark-DICT.cxx
60nodist_libAliHLTBenchmark_la_SOURCES = $(COMPILE_INFO) \
61 $(DICTCPP)
62
63CLEANFILES = $(COMPILE_INFO)
64
65include $(top_srcdir)/make.dict
66
67$(COMPILE_INFO): $(libAliHLTBenchmark_la_SOURCES) $(pkginclude_HEADERS) $(noinst_HEADERS) Makefile.am
68 @echo '//automatically generated compilation info' > $@
69 @echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@
70 @echo '//add changes in Makefile.am' >> $@
71 @echo 'extern "C" void CompileInfo(const char*& date, const char*& time)' >> $@
72 @echo '{date=__DATE__; time=__TIME__; return;}' >> $@