]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/sim/Makefile.am
reconstruction on simulated raw data added
[u/mrichter/AliRoot.git] / HLT / sim / Makefile.am
CommitLineData
22c6240d 1# $Id$
2# Makefile template for the Alice HLT simulation framework
3
4MODULE = HLTsim
5
6SUBDIRS =
7
8EXTRA_DIST =
9
22c6240d 10# library definition
11lib_LTLIBRARIES = libHLTsim.la
12
13# version info for the library
14LIBRARY_VERSION = "$(LIBHLTSIM_VERSION):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 libHLTsim.pkg
18# includes another common configuration file
19MODDIR = $(top_srcdir)
20PKGDEF = $(MODDIR)/libHLTsim.pkg
21include $(top_srcdir)/libHLTsim.pkg
22
95316e9f 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)/|"))
22c6240d 30# library sources
31libHLTsim_la_SOURCES = $(MODULE_SRCS)
32
33# library headers
34pkginclude_HEADERS = $(MODULE_HDRS)
35
36# linker flags
37libHLTsim_la_LDFLAGS = -L@ROOTLIBDIR@ \
38 @ROOTLIBS@ \
39 -version-info $(LIBRARY_VERSION)
40
41# automatic generation of data and time of library build
42COMPILE_INFO = HLTSimCompileInfo.cxx
43
44# set the file name for the generated root dictionary
45DICTCPP = HLTsim-DICT.cxx
46nodist_libHLTsim_la_SOURCES = $(COMPILE_INFO) \
47 $(DICTCPP)
48
49CLEANFILES = $(COMPILE_INFO)
50
51include $(top_srcdir)/make.dict
52
53$(COMPILE_INFO): $(libHLTsim_la_SOURCES) $(pkginclude_HEADERS) $(noinst_HEADERS) Makefile.am
54 @echo '//automatically generated compilation info' > $@
55 @echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@
56 @echo '//add changes in Makefile.am' >> $@
57 @echo 'extern "C" void CompileInfo( char*& date, char*& time)' >> $@
58 @echo '{date=__DATE__; time=__TIME__; return;}' >> $@