| 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 |
| 32 |
|
| 33 |
## Programs |
| 34 |
|
| 35 |
if BUILD_TEST |
| 36 |
AM_TESTS_ENVIRONMENT=STP_MODULE_PATH=$(top_builddir)/src/main/.libs:$(top_builddir)/src/main STP_DATA_PATH=$(top_srcdir)/src/xml |
| 37 |
noinst_PROGRAMS = testdither escp2-weavetest unprint pcl-unprint bjc-unprint curve xml-curve pixma_parse gen-printer-list |
| 38 |
endif |
| 39 |
|
| 40 |
noinst_SCRIPTS=test-curve.test run-weavetest.test run-testdither.test |
| 41 |
|
| 42 |
escp2_weavetest_SOURCES = escp2-weavetest.c |
| 43 |
escp2_weavetest_LDADD = $(GUTENPRINT_LIBS) |
| 44 |
|
| 45 |
unprint_SOURCES = unprint.c |
| 46 |
unprint_LDADD = $(GUTENPRINT_LIBS) |
| 47 |
|
| 48 |
curve_SOURCES = curve.c |
| 49 |
curve_LDADD = $(GUTENPRINT_LIBS) |
| 50 |
|
| 51 |
pcl_unprint_SOURCES = pcl-unprint.c |
| 52 |
pcl_unprint_LDADD = $(GUTENPRINT_LIBS) |
| 53 |
|
| 54 |
bjc_unprint_SOURCES = bjc-unprint.c |
| 55 |
bjc_unprint_LDADD = $(GUTENPRINT_LIBS) |
| 56 |
|
| 57 |
testdither_SOURCES = testdither.c |
| 58 |
testdither_LDADD = $(GUTENPRINT_LIBS) |
| 59 |
|
| 60 |
xml_curve_SOURCES = xml-curve.c |
| 61 |
xml_curve_LDADD = $(GUTENPRINT_LIBS) |
| 62 |
|
| 63 |
gen_printer_list_SOURCES = gen-printer-list.c |
| 64 |
gen_printer_list_LDADD = $(GUTENPRINT_LIBS) |
| 65 |
|
| 66 |
pixma_parse_SOURCES = pixma_parse.c pixma_parse.h |
| 67 |
|
| 68 |
## Rules |
| 69 |
|
| 70 |
#run-weavetest: escp2-weavetest |
| 71 |
|
| 72 |
|
| 73 |
## Clean |
| 74 |
|
| 75 |
CLEANFILES = mixed-color-1bit.ppm |
| 76 |
MAINTAINERCLEANFILES = Makefile.in |
| 77 |
|
| 78 |
EXTRA_DIST = cyan-sweep.tif parse-escp2 run-weavetest.test run-testdither.test test-curve.test |