forked from log4cplus/log4cplus
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Makefile.am.tpl
64 lines (57 loc) · 1.76 KB
/
Makefile.am.tpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
[= AutoGen5 template -*- Mode: scheme -*-
am
=][=
(use-modules (ice-9 ftw))
=]## Generated by Autogen from [= (tpl-file) =]
AM_CPPFLAGS = -I$(top_srcdir)/include \
-I$(top_srcdir)/threadpool \
-I$(top_builddir)/include \
-I$(top_srcdir)/catch/extras \
-DCATCH_CONFIG_PREFIX_ALL=1 \
@LOG4CPLUS_NDEBUG@
AM_CXXFLAGS=@LOG4CPLUS_PROFILING_CXXFLAGS@ @LOG4CPLUS_LTO_CXXFLAGS@
AM_LDFLAGS=@LOG4CPLUS_PROFILING_LDFLAGS@ @LOG4CPLUS_LTO_LDFLAGS@
ACLOCAL_AMFLAGS = -I m4
EXTRA_DIST = ChangeLog log4cplus.pc.in
SUBDIRS = include
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = log4cplus.pc
if ENABLE_VERSION_INFO_OPTION
VERSION_INFO_OPTION=-version-info @LT_VERSION@
else
VERSION_INFO_OPTION=-avoid-version
endif
if ENABLE_RELEASE_OPTION
RELEASE_OPTION=-release @LT_RELEASE@
else
RELEASE_OPTION=
endif
LOG4CPLUS_VERSION_LT_FLAGS=$(VERSION_INFO_OPTION) $(RELEASE_OPTION)
INCLUDES_SRC_PATH = $(top_srcdir)/include/log4cplus
liblog4cplus_la_file = $(top_builddir)/liblog4cplus.la
if BUILD_WITH_WCHAR_T_SUPPORT
liblog4cplusU_la_file = $(top_builddir)/liblog4cplusU.la
endif
# The tests add to this using += operator, so it needs to be initialized to
# empty first.
noinst_PROGRAMS=
[= FOR src-dirs =][=
(let ((files (list)))
(define (emit-am-file-ftw-cb filename statinfo flag)
(begin
(if (and (string-suffix-ci? ".am" filename))
(set! files (append! files (list filename))))
#t))
(begin
(ftw (get "name") emit-am-file-ftw-cb)
(set! files (sort! files string<?))
(emit "\n")
(for-each
(lambda (x)
(if (not (string-null? (get "conditional")))
(emit "if " (get "conditional") "\n"))
(emit "include %D%/" x "\n")
(if (not (string-null? (get "conditional")))
(emit "endif\n")))
files)))
=][= ENDFOR =]