summaryrefslogtreecommitdiff
path: root/test/Makefile.am
blob: 56dd57f4f436411a4b57b4a2db2a678a7335cbec (plain)
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
## Copyright (C) 2000 Roger Leigh
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2, or (at your option)
## any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with this program.  If not, see <https://www.gnu.org/licenses/>.

## Process this file with automake to produce Makefile.in.

@SET_MAKE@

include $(top_srcdir)/scripts/global.mk

## Variables

LOCAL_CPPFLAGS = -I$(top_srcdir)/src/main $(GUTENPRINT_CFLAGS)

## run-weavetest is extremely time consuming and provides little value for
## release testing since the last material change was made in 2008.
## It is essentially a giant unit test for the weave code.
## testdither doesn't actually test anything; there appears to be no way
## for it to actually return anything.
TESTS = test-curve.test

## Programs

if BUILD_TEST
AM_TESTS_ENVIRONMENT=STP_MODULE_PATH=$(top_builddir)/src/main/.libs:$(top_builddir)/src/main STP_DATA_PATH=$(top_srcdir)/src/xml
noinst_PROGRAMS = testdither escp2-weavetest unprint pcl-unprint bjc-unprint curve xml-curve pixma_parse gen-printer-list
endif

noinst_SCRIPTS=test-curve.test run-weavetest.test run-testdither.test

escp2_weavetest_SOURCES = escp2-weavetest.c
escp2_weavetest_LDADD = $(GUTENPRINT_LIBS)

unprint_SOURCES = unprint.c
unprint_LDADD = $(GUTENPRINT_LIBS)

curve_SOURCES = curve.c
curve_LDADD = $(GUTENPRINT_LIBS)

pcl_unprint_SOURCES = pcl-unprint.c
pcl_unprint_LDADD = $(GUTENPRINT_LIBS)

bjc_unprint_SOURCES = bjc-unprint.c
bjc_unprint_LDADD = $(GUTENPRINT_LIBS)

testdither_SOURCES = testdither.c
testdither_LDADD = $(GUTENPRINT_LIBS)

xml_curve_SOURCES = xml-curve.c
xml_curve_LDADD = $(GUTENPRINT_LIBS)

gen_printer_list_SOURCES = gen-printer-list.c
gen_printer_list_LDADD = $(GUTENPRINT_LIBS)

pixma_parse_SOURCES = pixma_parse.c pixma_parse.h

## Rules

#run-weavetest: escp2-weavetest


## Clean

CLEANFILES = mixed-color-1bit.ppm
MAINTAINERCLEANFILES = Makefile.in

EXTRA_DIST = cyan-sweep.tif parse-escp2 run-weavetest.test run-testdither.test test-curve.test