-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.am
87 lines (73 loc) · 2.6 KB
/
Makefile.am
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include \
@LOG4CPLUS_NDEBUG@
AM_CXXFLAGS=@LOG4CPLUS_PROFILING_CXXFLAGS@
AM_LDFLAGS=@LOG4CPLUS_PROFILING_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
include src/Makefile.am
include tests/appender_test/Makefile.am
include tests/configandwatch_test/Makefile.am
include tests/customloglevel_test/Makefile.am
include tests/fileappender_test/Makefile.am
include tests/filter_test/Makefile.am
include tests/hierarchy_test/Makefile.am
include tests/loglog_test/Makefile.am
include tests/ndc_test/Makefile.am
include tests/ostream_test/Makefile.am
include tests/patternlayout_test/Makefile.am
include tests/performance_test/Makefile.am
include tests/priority_test/Makefile.am
include tests/propertyconfig_test/Makefile.am
include tests/socket_test/Makefile.am
include tests/timeformat_test/Makefile.am
include tests/thread_test/Makefile.am
include simpleserver/Makefile.am
include qt4debugappender/Makefile.am
include qt5debugappender/Makefile.am
include swig/Makefile.common.am
include swig/python/Makefile.am
TESTSUITE = tests/testsuite
AUTOTEST = $(AUTOM4TE) --language=Autotest
TESTSUITE_AT = \
tests/appender_test.at \
tests/configandwatch_test.at \
tests/customloglevel_test.at \
tests/fileappender_test.at \
tests/filter_test.at \
tests/hierarchy_test.at \
tests/loglog_test.at \
tests/ndc_test.at \
tests/ostream_test.at \
tests/patternlayout_test.at \
tests/priority_test.at \
tests/propertyconfig_test.at \
tests/thread_test.at \
tests/timeformat_test.at \
tests/local.at \
tests/testsuite.at
all: $(TESTSUITE)
$(TESTSUITE): $(TESTSUITE_AT)
cd "$(abs_top_srcdir)" && $(AUTOTEST) -I tests tests/testsuite.at -o $@
tests/atconfig: $(top_builddir)/config.status
cd "$(top_builddir)" && ./config.status tests/$@
check-local: tests/atconfig tests/atlocal $(TESTSUITE)
cd "$(top_builddir)/tests" && $(SHELL) $(abs_top_srcdir)/$(TESTSUITE) $(TESTSUITEFLAGS)
clean-local:
cd "$(top_builddir)/tests" && (test ! -f '$(abs_top_srcdir)/$(TESTSUITE)' || $(SHELL) '$(abs_top_srcdir)/$(TESTSUITE)' --clean)
EXTRA_DIST += tests/testsuite.at $(TESTSUITE) tests/atlocal.in