Debian Codegraph @

test/Makefile.am

raw ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
1 ## Copyright (C) 2000 Roger Leigh
2 ##
3 ## This program is free software; you can redistribute it and/or modify
4 ## it under the terms of the GNU General Public License as published by
5 ## the Free Software Foundation; either version 2, or (at your option)
6 ## any later version.
7 ##
8 ## This program is distributed in the hope that it will be useful,
9 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
10 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 ## GNU General Public License for more details.
12 ##
13 ## You should have received a copy of the GNU General Public License
14 ## along with this program. If not, see <https://www.gnu.org/licenses/>.
15
16 ## Process this file with automake to produce Makefile.in.
17
18 @SET_MAKE@
19
20 include $(top_srcdir)/scripts/global.mk
21
22 ## Variables
23
24 LOCAL_CPPFLAGS = -I$(top_srcdir)/src/main $(GUTENPRINT_CFLAGS)
25
26 ## run-weavetest is extremely time consuming and provides little value for
27 ## release testing since the last material change was made in 2008.
28 ## It is essentially a giant unit test for the weave code.
29 ## testdither doesn't actually test anything; there appears to be no way
30 ## for it to actually return anything.
31 TESTS = test-curve.test run-weavetest.test run-testdither.test
32 run-testdither.log: run-weavetest.log
33 test-curve.log: run-testdither.log
34
35 ## Programs
36
37 if BUILD_TEST
38 AM_TESTS_ENVIRONMENT=STP_MODULE_PATH=$(top_builddir)/src/main/.libs:$(top_builddir)/src/main STP_DATA_PATH=$(top_srcdir)/src/xml
39 noinst_PROGRAMS = testdither escp2-weavetest unprint pcl-unprint bjc-unprint curve xml-curve pixma_parse gen-printer-list
40 endif
41
42 noinst_SCRIPTS=test-curve.test run-weavetest.test run-testdither.test
43
44 escp2_weavetest_SOURCES = escp2-weavetest.c
45 escp2_weavetest_LDADD = $(GUTENPRINT_LIBS)
46
47 unprint_SOURCES = unprint.c
48 unprint_LDADD = $(GUTENPRINT_LIBS)
49
50 curve_SOURCES = curve.c
51 curve_LDADD = $(GUTENPRINT_LIBS)
52
53 pcl_unprint_SOURCES = pcl-unprint.c
54 pcl_unprint_LDADD = $(GUTENPRINT_LIBS)
55
56 bjc_unprint_SOURCES = bjc-unprint.c
57 bjc_unprint_LDADD = $(GUTENPRINT_LIBS)
58
59 testdither_SOURCES = testdither.c
60 testdither_LDADD = $(GUTENPRINT_LIBS)
61
62 xml_curve_SOURCES = xml-curve.c
63 xml_curve_LDADD = $(GUTENPRINT_LIBS)
64
65 gen_printer_list_SOURCES = gen-printer-list.c
66 gen_printer_list_LDADD = $(GUTENPRINT_LIBS)
67
68 pixma_parse_SOURCES = pixma_parse.c pixma_parse.h
69
70 ## Rules
71
72 #run-weavetest: escp2-weavetest
73
74
75 ## Clean
76
77 CLEANFILES = mixed-color-1bit.ppm
78 MAINTAINERCLEANFILES = Makefile.in
79
80 EXTRA_DIST = cyan-sweep.tif parse-escp2 run-weavetest.test run-testdither.test test-curve.test