Debian Codegraph @

src/test/Makefile.am

raw
1 ## -*- Mode: make; tab-width: 4; indent-tabs-mode: tabs -*-
2
3 target_test = test detection
4
5 check_PROGRAMS = $(target_test)
6
7 AM_CXXFLAGS = \
8 -DDETECTION_TEST_DIR=\"$(top_srcdir)/src/test/data\" \
9 -DTEST_DATA_DIR=\"$(top_srcdir)/src/test/data\" \
10 -I$(top_srcdir)/inc \
11 -I$(top_srcdir)/src/lib \
12 $(CPPUNIT_CFLAGS) \
13 $(REVENGE_CFLAGS) \
14 $(REVENGE_STREAM_CFLAGS) \
15 $(DEBUG_CXXFLAGS)
16
17 test_LDFLAGS = -L$(top_srcdir)/src/lib
18 test_LDADD = \
19 $(top_builddir)/src/lib/libqxp_internal.la \
20 $(CPPUNIT_LIBS) \
21 $(ICU_LIBS) \
22 $(REVENGE_LIBS) \
23 $(REVENGE_STREAM_LIBS)
24
25 test_SOURCES = \
26 test.cpp \
27 QXPBlockParserTest.cpp \
28 QXPDeobfuscatorTest.cpp \
29 QXPTextParserTest.cpp \
30 QXPTypesTest.cpp \
31 UtilsTest.cpp
32
33 detection_LDFLAGS = -L$(top_srcdir)/src/lib
34 detection_LDADD = \
35 $(top_builddir)/src/lib/libqxp-@QXP_MAJOR_VERSION@.@[email protected] \
36 $(CPPUNIT_LIBS) \
37 $(REVENGE_LIBS) \
38 $(REVENGE_STREAM_LIBS)
39
40 detection_SOURCES = \
41 test.cpp \
42 QXPDocumentTest.cpp
43
44
45 TESTS = $(target_test)
46
47 EXTRA_DIST = \
48 data/qxp1.zip \
49 data/qxp31mac \
50 data/qxp31win.qxd \
51 data/qxp33mac \
52 data/qxp33mac_text \
53 data/qxp33win.qxd \
54 data/qxp33win_text.qxd \
55 data/qxp4mac \
56 data/qxp4mac_text \
57 data/qxp4win.qxd \
58 data/qxp4win_text.qxd \
59 data/qxp5.qxd \
60 data/qxp6.qxd \
61 data/unsupported.zip
62
63 ## vim:set shiftwidth=4 tabstop=4 noexpandtab: