]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/ZDC/Makefile.am
New task to improve tracking resolution to simulate effect of upgraded ITS (Magnus...
[u/mrichter/AliRoot.git] / HLT / ZDC / Makefile.am
CommitLineData
9e239e96 1# $Id: Makefile.am $
2# Makefile for the Alice HLT ZDC library
3
4MODULE = AliHLTZDC
5
6###################################################################
7
8EXTRA_DIST =
9
10MODDIR = $(top_srcdir)
11PKGDEF = $(MODDIR)/libAliHLTZDC.pkg
12include $(top_srcdir)/libAliHLTZDC.pkg
13
14###################################################################
15
16# library definition
17lib_LTLIBRARIES = libAliHLTZDC.la
18
19# version info for the library
20LIBRARY_VERSION = '0:0:0'
21
22# library sources
23# The source files are specified in libAliHLTZDC.pkg
24libAliHLTZDC_la_SOURCES = $(MODULE_SRCS)
25
26# library headers
27# The header files are specified in libAliHLTZDC.pkg
28noinst_HEADERS = $(MODULE_HDRS)
29
30###################################################################
31
32# compilation flags of the library
33AM_CPPFLAGS = -DMODULE=$(MODULE) \
34 @HLTBASE_CPPFLAGS@ \
35 @ALIROOT_CPPFLAGS@ \
36 @ROOTCFLAGS@ \
37 $(foreach i, $(EINCLUDE), \
38 $(shell echo $(i) | sed -e "/HLT\//!d" -e "s|HLT/|-I$(top_srcdir)/|")) \
39 $(foreach i, $(EINCLUDE), \
40 $(shell echo $(i) | sed -e "/HLT\//d" -e "s|^|-I$(ALICE_ROOT)/|"))
41
42# linking flags of the library# linker flags
43#libAliHLTZDC_la_LIBADD = $(top_builddir)/BASE/util/libAliHLTUtil.la
44libAliHLTZDC_la_LDFLAGS = -L@ROOTLIBDIR@ \
45 @ROOTLIBS@ \
46 @HLTBASE_LDFLAGS@ \
47 @ALIROOT_LDFLAGS@ \
48 @ALIROOT_LIBS@ \
49 -version-info $(LIBRARY_VERSION)
50
51###############################################################################
52
53# automatic generation of data and time of library build
54COMPILE_INFO = AliHLTZDCCompileInfo.cxx
55
56# set the file name for the generated root dictionary
57DICTCPP = AliHLTZDC-DICT.cxx
58nodist_libAliHLTZDC_la_SOURCES = $(COMPILE_INFO) \
59 $(DICTCPP)
60
61CLEANFILES = $(COMPILE_INFO)
62
63###############################################################################
64
65include $(top_srcdir)/make.dict
66
67###################################################################
68
69$(COMPILE_INFO): $(libAliHLTZDC_la_SOURCES) $(pkginclude_HEADERS) $(noinst_HEADERS) Makefile.am
70 @echo '//automatically generated compilation info' > $@
71 @echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@
72 @echo '//add changes in Makefile.am' >> $@
73 @echo 'extern "C" void CompileInfo(const char*& date, const char*& time)' >> $@
74 @echo '{date=__DATE__; time=__TIME__; return;}' >> $@