1TESTS = testCategory testFixedContextCategory testNDC testPattern \
2	testErrorCollision testPriority testFilter testProperties \
3	testConfig testPropertyConfig testRollingFileAppender testDailyRollingFileAppender
4
5check_PROGRAMS = $(TESTS)
6check_DATA = log4cpp.init log4cpp.properties testProperties.properties \
7	testConfig.log4cpp.properties
8
9EXTRA_DIST = log4cpp.init log4cpp.properties testProperties.properties \
10	testConfig.log4cpp.properties \
11	testNTEventLog.cpp
12
13noinst_PROGRAMS = testmain testbench
14
15INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/src
16
17testmain_SOURCES = testmain.cpp
18testmain_LDADD = $(top_builddir)/src/liblog4cpp.la
19
20testCategory_SOURCES = testCategory.cpp
21testCategory_LDADD = $(top_builddir)/src/liblog4cpp.la
22
23testFixedContextCategory_SOURCES = testFixedContextCategory.cpp
24testFixedContextCategory_LDADD = $(top_builddir)/src/liblog4cpp.la
25
26testNDC_SOURCES = testNDC.cpp
27testNDC_LDADD = $(top_builddir)/src/liblog4cpp.la
28
29testPattern_SOURCES = testPattern.cpp
30testPattern_LDADD = $(top_builddir)/src/liblog4cpp.la
31
32testPriority_SOURCES = testPriority.cpp
33testPriority_LDADD = $(top_builddir)/src/liblog4cpp.la
34
35testConfig_SOURCES = testConfig.cpp
36testConfig_LDADD = $(top_builddir)/src/liblog4cpp.la
37
38testPropertyConfig_SOURCES = testPropertyConfig.cpp
39testPropertyConfig_LDADD = $(top_builddir)/src/liblog4cpp.la
40
41testFilter_SOURCES = testFilter.cpp
42testFilter_LDADD = $(top_builddir)/src/liblog4cpp.la
43
44testProperties_SOURCES = testProperties.cpp
45testProperties_LDADD = $(top_builddir)/src/liblog4cpp.la
46
47testbench_SOURCES = Clock.cpp Clock.hh testbench.cpp
48testbench_LDADD = $(top_builddir)/src/liblog4cpp.la
49
50testErrorCollision_SOURCES = testErrorCollision.cpp
51testErrorCollision_LDADD = $(top_builddir)/src/liblog4cpp.la
52
53testRollingFileAppender_SOURCES = testRollingFileAppender.cpp
54testRollingFileAppender_LDADD = $(top_builddir)/src/liblog4cpp.la
55
56testDailyRollingFileAppender_SOURCES = testDailyRollingFileAppender.cpp
57testDailyRollingFileAppender_LDADD = $(top_builddir)/src/liblog4cpp.la
58
59distclean-local:
60	$(RM) -f *.log
61