]>
Commit | Line | Data |
---|---|---|
e7918895 | 1 | # $Id: Makefile.am $ |
2 | # Makefile for the Alice HLT VZERO library | |
3 | ||
4 | MODULE = AliHLTVZERO | |
5 | ||
6 | ################################################################### | |
7 | ||
8 | EXTRA_DIST = | |
9 | ||
10 | MODDIR = $(top_srcdir) | |
11 | PKGDEF = $(MODDIR)/libAliHLTVZERO.pkg | |
12 | include $(top_srcdir)/libAliHLTVZERO.pkg | |
13 | ||
14 | ################################################################### | |
15 | ||
16 | # library definition | |
17 | lib_LTLIBRARIES = libAliHLTVZERO.la | |
18 | ||
19 | # version info for the library | |
20 | LIBRARY_VERSION = '0:0:0' | |
21 | ||
22 | # library sources | |
23 | # The source files are specified in libAliHLTVZERO.pkg | |
24 | libAliHLTVZERO_la_SOURCES = $(MODULE_SRCS) | |
25 | ||
26 | # library headers | |
27 | # The header files are specified in libAliHLTVZERO.pkg | |
28 | noinst_HEADERS = $(MODULE_HDRS) | |
29 | ||
30 | ################################################################### | |
31 | ||
32 | # compilation flags of the library | |
33 | AM_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 | #libAliHLTVZERO_la_LIBADD = $(top_builddir)/BASE/util/libAliHLTUtil.la | |
44 | libAliHLTVZERO_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 | |
54 | COMPILE_INFO = AliHLTVZEROCompileInfo.cxx | |
55 | ||
56 | # set the file name for the generated root dictionary | |
57 | DICTCPP = AliHLTVZERO-DICT.cxx | |
58 | nodist_libAliHLTVZERO_la_SOURCES= $(COMPILE_INFO) \ | |
59 | $(DICTCPP) | |
60 | ||
61 | CLEANFILES = $(COMPILE_INFO) | |
62 | ||
63 | ############################################################################### | |
64 | ||
65 | include $(top_srcdir)/make.dict | |
66 | ||
67 | ################################################################### | |
68 | ||
69 | $(COMPILE_INFO): $(libAliHLTVZERO_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;}' >> $@ |