1# Makefile.in generated by automake 1.14 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994-2013 Free Software Foundation, Inc.
5
6# This Makefile.in is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it,
8# with or without modifications, as long as this notice is preserved.
9
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13# PARTICULAR PURPOSE.
14
15@SET_MAKE@
16
17VPATH = @srcdir@
18am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
19am__make_running_with_option = \
20  case $${target_option-} in \
21      ?) ;; \
22      *) echo "am__make_running_with_option: internal error: invalid" \
23              "target option '$${target_option-}' specified" >&2; \
24         exit 1;; \
25  esac; \
26  has_opt=no; \
27  sane_makeflags=$$MAKEFLAGS; \
28  if $(am__is_gnu_make); then \
29    sane_makeflags=$$MFLAGS; \
30  else \
31    case $$MAKEFLAGS in \
32      *\\[\ \	]*) \
33        bs=\\; \
34        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
35          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
36    esac; \
37  fi; \
38  skip_next=no; \
39  strip_trailopt () \
40  { \
41    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
42  }; \
43  for flg in $$sane_makeflags; do \
44    test $$skip_next = yes && { skip_next=no; continue; }; \
45    case $$flg in \
46      *=*|--*) continue;; \
47        -*I) strip_trailopt 'I'; skip_next=yes;; \
48      -*I?*) strip_trailopt 'I';; \
49        -*O) strip_trailopt 'O'; skip_next=yes;; \
50      -*O?*) strip_trailopt 'O';; \
51        -*l) strip_trailopt 'l'; skip_next=yes;; \
52      -*l?*) strip_trailopt 'l';; \
53      -[dEDm]) skip_next=yes;; \
54      -[JT]) skip_next=yes;; \
55    esac; \
56    case $$flg in \
57      *$$target_option*) has_opt=yes; break;; \
58    esac; \
59  done; \
60  test $$has_opt = yes
61am__make_dryrun = (target_option=n; $(am__make_running_with_option))
62am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
63pkgdatadir = $(datadir)/@PACKAGE@
64pkgincludedir = $(includedir)/@PACKAGE@
65pkglibdir = $(libdir)/@PACKAGE@
66pkglibexecdir = $(libexecdir)/@PACKAGE@
67am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
68install_sh_DATA = $(install_sh) -c -m 644
69install_sh_PROGRAM = $(install_sh) -c
70install_sh_SCRIPT = $(install_sh) -c
71INSTALL_HEADER = $(INSTALL_DATA)
72transform = $(program_transform_name)
73NORMAL_INSTALL = :
74PRE_INSTALL = :
75POST_INSTALL = :
76NORMAL_UNINSTALL = :
77PRE_UNINSTALL = :
78POST_UNINSTALL = :
79build_triplet = @build@
80host_triplet = @host@
81bin_PROGRAMS = scalex$(EXEEXT) scalerx$(EXEEXT)
82subdir = .
83DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
84	$(top_srcdir)/configure $(am__configure_deps) \
85	$(srcdir)/config.h.in AUTHORS COPYING README compile \
86	config.guess config.sub install-sh missing
87ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
88am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
89	$(top_srcdir)/configure.ac
90am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
91	$(ACLOCAL_M4)
92am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
93 configure.lineno config.status.lineno
94mkinstalldirs = $(install_sh) -d
95CONFIG_HEADER = config.h
96CONFIG_CLEAN_FILES =
97CONFIG_CLEAN_VPATH_FILES =
98am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"
99PROGRAMS = $(bin_PROGRAMS)
100am_scalerx_OBJECTS = scalerx.$(OBJEXT) getopt.$(OBJEXT) file.$(OBJEXT) \
101	pixel.$(OBJEXT)
102scalerx_OBJECTS = $(am_scalerx_OBJECTS)
103scalerx_LDADD = $(LDADD)
104am_scalex_OBJECTS = scalex.$(OBJEXT) scalebit.$(OBJEXT) \
105	getopt.$(OBJEXT) file.$(OBJEXT) scale2x.$(OBJEXT) \
106	scale3x.$(OBJEXT)
107scalex_OBJECTS = $(am_scalex_OBJECTS)
108scalex_LDADD = $(LDADD)
109AM_V_P = $(am__v_P_@AM_V@)
110am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
111am__v_P_0 = false
112am__v_P_1 = :
113AM_V_GEN = $(am__v_GEN_@AM_V@)
114am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
115am__v_GEN_0 = @echo "  GEN     " $@;
116am__v_GEN_1 =
117AM_V_at = $(am__v_at_@AM_V@)
118am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
119am__v_at_0 = @
120am__v_at_1 =
121DEFAULT_INCLUDES = -I.@am__isrc@
122depcomp =
123am__depfiles_maybe =
124COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
125	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
126AM_V_CC = $(am__v_CC_@AM_V@)
127am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
128am__v_CC_0 = @echo "  CC      " $@;
129am__v_CC_1 =
130CCLD = $(CC)
131LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
132AM_V_CCLD = $(am__v_CCLD_@AM_V@)
133am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
134am__v_CCLD_0 = @echo "  CCLD    " $@;
135am__v_CCLD_1 =
136SOURCES = $(scalerx_SOURCES) $(scalex_SOURCES)
137DIST_SOURCES = $(scalerx_SOURCES) $(scalex_SOURCES)
138am__can_run_installinfo = \
139  case $$AM_UPDATE_INFO_DIR in \
140    n|no|NO) false;; \
141    *) (install-info --version) >/dev/null 2>&1;; \
142  esac
143am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
144am__vpath_adj = case $$p in \
145    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
146    *) f=$$p;; \
147  esac;
148am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
149am__install_max = 40
150am__nobase_strip_setup = \
151  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
152am__nobase_strip = \
153  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
154am__nobase_list = $(am__nobase_strip_setup); \
155  for p in $$list; do echo "$$p $$p"; done | \
156  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
157  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
158    if (++n[$$2] == $(am__install_max)) \
159      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
160    END { for (dir in files) print dir, files[dir] }'
161am__base_list = \
162  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
163  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
164am__uninstall_files_from_dir = { \
165  test -z "$$files" \
166    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
167    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
168         $(am__cd) "$$dir" && rm -f $$files; }; \
169  }
170man1dir = $(mandir)/man1
171NROFF = nroff
172MANS = $(man_MANS)
173am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
174	$(LISP)config.h.in
175# Read a list of newline-separated strings from the standard input,
176# and print each of them once, without duplicates.  Input order is
177# *not* preserved.
178am__uniquify_input = $(AWK) '\
179  BEGIN { nonempty = 0; } \
180  { items[$$0] = 1; nonempty = 1; } \
181  END { if (nonempty) { for (i in items) print i; }; } \
182'
183# Make sure the list of sources is unique.  This is necessary because,
184# e.g., the same source file might be shared among _SOURCES variables
185# for different programs/libraries.
186am__define_uniq_tagged_files = \
187  list='$(am__tagged_files)'; \
188  unique=`for i in $$list; do \
189    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
190  done | $(am__uniquify_input)`
191ETAGS = etags
192CTAGS = ctags
193CSCOPE = cscope
194AM_RECURSIVE_TARGETS = cscope
195DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
196distdir = $(PACKAGE)-$(VERSION)
197top_distdir = $(distdir)
198am__remove_distdir = \
199  if test -d "$(distdir)"; then \
200    find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
201      && rm -rf "$(distdir)" \
202      || { sleep 5 && rm -rf "$(distdir)"; }; \
203  else :; fi
204am__post_remove_distdir = $(am__remove_distdir)
205DIST_ARCHIVES = $(distdir).tar.gz
206GZIP_ENV = --best
207DIST_TARGETS = dist-gzip
208distuninstallcheck_listfiles = find . -type f -print
209am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
210  | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
211distcleancheck_listfiles = find . -type f -print
212ACLOCAL = @ACLOCAL@
213ALLOCA = @ALLOCA@
214AMTAR = @AMTAR@
215AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
216AUTOCONF = @AUTOCONF@
217AUTOHEADER = @AUTOHEADER@
218AUTOMAKE = @AUTOMAKE@
219AWK = @AWK@
220CC = @CC@
221CFLAGS = @CFLAGS@
222CPP = @CPP@
223CPPFLAGS = @CPPFLAGS@
224CYGPATH_W = @CYGPATH_W@
225DEFS = @DEFS@
226ECHO_C = @ECHO_C@
227ECHO_N = @ECHO_N@
228ECHO_T = @ECHO_T@
229EGREP = @EGREP@
230EXEEXT = @EXEEXT@
231GREP = @GREP@
232INSTALL = @INSTALL@
233INSTALL_DATA = @INSTALL_DATA@
234INSTALL_PROGRAM = @INSTALL_PROGRAM@
235INSTALL_SCRIPT = @INSTALL_SCRIPT@
236INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
237LDFLAGS = @LDFLAGS@
238LIBOBJS = @LIBOBJS@
239LIBS = @LIBS@
240LTLIBOBJS = @LTLIBOBJS@
241MAKEINFO = @MAKEINFO@
242MKDIR_P = @MKDIR_P@
243OBJEXT = @OBJEXT@
244PACKAGE = @PACKAGE@
245PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
246PACKAGE_NAME = @PACKAGE_NAME@
247PACKAGE_STRING = @PACKAGE_STRING@
248PACKAGE_TARNAME = @PACKAGE_TARNAME@
249PACKAGE_URL = @PACKAGE_URL@
250PACKAGE_VERSION = @PACKAGE_VERSION@
251PATH_SEPARATOR = @PATH_SEPARATOR@
252SET_MAKE = @SET_MAKE@
253SHELL = @SHELL@
254STRIP = @STRIP@
255TESTENV = @TESTENV@
256VERSION = @VERSION@
257WINE = @WINE@
258abs_builddir = @abs_builddir@
259abs_srcdir = @abs_srcdir@
260abs_top_builddir = @abs_top_builddir@
261abs_top_srcdir = @abs_top_srcdir@
262ac_ct_CC = @ac_ct_CC@
263am__leading_dot = @am__leading_dot@
264am__tar = @am__tar@
265am__untar = @am__untar@
266bindir = @bindir@
267build = @build@
268build_alias = @build_alias@
269build_cpu = @build_cpu@
270build_os = @build_os@
271build_vendor = @build_vendor@
272builddir = @builddir@
273datadir = @datadir@
274datarootdir = @datarootdir@
275docdir = @docdir@
276dvidir = @dvidir@
277exec_prefix = @exec_prefix@
278host = @host@
279host_alias = @host_alias@
280host_cpu = @host_cpu@
281host_os = @host_os@
282host_vendor = @host_vendor@
283htmldir = @htmldir@
284includedir = @includedir@
285infodir = @infodir@
286install_sh = @install_sh@
287libdir = @libdir@
288libexecdir = @libexecdir@
289localedir = @localedir@
290localstatedir = @localstatedir@
291mandir = @mandir@
292mkdir_p = @mkdir_p@
293oldincludedir = @oldincludedir@
294pdfdir = @pdfdir@
295prefix = @prefix@
296program_transform_name = @program_transform_name@
297psdir = @psdir@
298sbindir = @sbindir@
299sharedstatedir = @sharedstatedir@
300srcdir = @srcdir@
301sysconfdir = @sysconfdir@
302target_alias = @target_alias@
303top_build_prefix = @top_build_prefix@
304top_builddir = @top_builddir@
305top_srcdir = @top_srcdir@
306EXTRA_DIST = \
307	scale2x.h scale3x.h \
308	README AUTHORS COPYING HISTORY \
309	example/mslug2-1.png \
310	example/mslug2-1x.png \
311	example/mslug2-2.png \
312	example/mslug2-2x.png \
313	example/mslug2-3.png \
314	example/mslug2-3x.png \
315	example/mslug2-4.png \
316	example/mslug2-4x.png \
317	example/test-1.png \
318	example/test-1x.png \
319	example/test-2.png \
320	example/test-2x.png \
321	example/test-3.png \
322	example/test-3x.png \
323	example/test-4.png \
324	example/test-4x.png \
325	test/basn0g01.png \
326	test/basn0g02.png \
327	test/basn0g04.png \
328	test/basn0g08.png \
329	test/basn0g16.png \
330	test/basn2c08.png \
331	test/basn2c16.png \
332	test/basn3p01.png \
333	test/basn3p02.png \
334	test/basn3p04.png \
335	test/basn3p08.png \
336	test/basn4a08.png \
337	test/basn4a16.png \
338	test/basn6a08.png \
339	test/basn6a16.png \
340	configure.windows-x86 configure.windows-x64 autogen.sh \
341	doc/scalex.d doc/scalex.1 doc/scalex.txt \
342	doc/scalerx.d doc/scalerx.1 doc/scalerx.txt \
343	test/test.lst \
344	contrib/readme.txt \
345	contrib/java/Scale2xImageFilter.java \
346	contrib/sdl/scale2x.c \
347	contrib/visualc/scale2x.cpp \
348	contrib/freebasic/scale2x8BPP.bas \
349	contrib/freebasic/scale2x8BPP.exe \
350	contrib/ogl2/gpuPeteOGL2-rev3.slv \
351	contrib/ogl2/gpuPeteOGL2.slf \
352	contrib/ogl2/gpuPeteOGL2.slv \
353	contrib/ogl2/sl_scale2x.txt \
354	contrib/ogl2/gpuPeteOGL2-rev3.slf \
355	contrib/ps/scale2x.fx \
356	contrib/ps/scale2x_ps14.fx \
357	contrib/ps/scaling.inc \
358	contrib/perl/GD-Image-Scale2x-0.02.tar.gz \
359	contrib/java2/ImageScale2x.java \
360	contrib/java2/ImageScale3x.java \
361	contrib/java2/RawScale2x.java \
362	contrib/java2/RawScale3x.java
363
364man_MANS = doc/scalex.1 doc/scalerx.1
365scalex_SOURCES = \
366	scalex.c scalebit.c scalebit.h getopt.c portable.h file.c file.h scale2x.c scale3x.c
367
368scalerx_SOURCES = \
369	scalerx.c getopt.c portable.h file.c file.h pixel.c pixel.h
370
371
372# Archives
373DIST_WINDOWS = \
374	scalex.exe scalerx.exe
375
376DIST_WINDOWS_DOC = \
377	doc/scalex.txt doc/scalerx.txt
378
379DIST_WINDOWS_EXAMPLE = \
380	example/mslug2-1.png \
381	example/mslug2-1x.png \
382	example/mslug2-2.png \
383	example/mslug2-2x.png \
384	example/mslug2-3.png \
385	example/mslug2-3x.png \
386	example/mslug2-4.png \
387	example/mslug2-4x.png \
388	example/test-1.png \
389	example/test-1x.png \
390	example/test-2.png \
391	example/test-2x.png \
392	example/test-3.png \
393	example/test-3x.png \
394	example/test-4.png \
395	example/test-4x.png
396
397TEST = 0g01 0g02 0g04 0g16 2c08 2c16 3p01 3p02 3p04 3p08 4a08 4a16 6a08 6a16
398EXAMPLE = mslug2-1 test-1
399all: config.h
400	$(MAKE) $(AM_MAKEFLAGS) all-am
401
402.SUFFIXES:
403.SUFFIXES: .c .o .obj
404am--refresh: Makefile
405	@:
406$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
407	@for dep in $?; do \
408	  case '$(am__configure_deps)' in \
409	    *$$dep*) \
410	      echo ' cd $(srcdir) && $(AUTOMAKE) --foreign --ignore-deps'; \
411	      $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign --ignore-deps \
412		&& exit 0; \
413	      exit 1;; \
414	  esac; \
415	done; \
416	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps Makefile'; \
417	$(am__cd) $(top_srcdir) && \
418	  $(AUTOMAKE) --foreign --ignore-deps Makefile
419.PRECIOUS: Makefile
420Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
421	@case '$?' in \
422	  *config.status*) \
423	    echo ' $(SHELL) ./config.status'; \
424	    $(SHELL) ./config.status;; \
425	  *) \
426	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
427	    cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
428	esac;
429
430$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
431	$(SHELL) ./config.status --recheck
432
433$(top_srcdir)/configure:  $(am__configure_deps)
434	$(am__cd) $(srcdir) && $(AUTOCONF)
435$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
436	$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
437$(am__aclocal_m4_deps):
438
439config.h: stamp-h1
440	@test -f $@ || rm -f stamp-h1
441	@test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
442
443stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
444	@rm -f stamp-h1
445	cd $(top_builddir) && $(SHELL) ./config.status config.h
446$(srcdir)/config.h.in:  $(am__configure_deps)
447	($(am__cd) $(top_srcdir) && $(AUTOHEADER))
448	rm -f stamp-h1
449	touch $@
450
451distclean-hdr:
452	-rm -f config.h stamp-h1
453install-binPROGRAMS: $(bin_PROGRAMS)
454	@$(NORMAL_INSTALL)
455	@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
456	if test -n "$$list"; then \
457	  echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
458	  $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
459	fi; \
460	for p in $$list; do echo "$$p $$p"; done | \
461	sed 's/$(EXEEXT)$$//' | \
462	while read p p1; do if test -f $$p \
463	  ; then echo "$$p"; echo "$$p"; else :; fi; \
464	done | \
465	sed -e 'p;s,.*/,,;n;h' \
466	    -e 's|.*|.|' \
467	    -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
468	sed 'N;N;N;s,\n, ,g' | \
469	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
470	  { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
471	    if ($$2 == $$4) files[d] = files[d] " " $$1; \
472	    else { print "f", $$3 "/" $$4, $$1; } } \
473	  END { for (d in files) print "f", d, files[d] }' | \
474	while read type dir files; do \
475	    if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
476	    test -z "$$files" || { \
477	      echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
478	      $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
479	    } \
480	; done
481
482uninstall-binPROGRAMS:
483	@$(NORMAL_UNINSTALL)
484	@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
485	files=`for p in $$list; do echo "$$p"; done | \
486	  sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
487	      -e 's/$$/$(EXEEXT)/' \
488	`; \
489	test -n "$$list" || exit 0; \
490	echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
491	cd "$(DESTDIR)$(bindir)" && rm -f $$files
492
493clean-binPROGRAMS:
494	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
495
496scalerx$(EXEEXT): $(scalerx_OBJECTS) $(scalerx_DEPENDENCIES) $(EXTRA_scalerx_DEPENDENCIES)
497	@rm -f scalerx$(EXEEXT)
498	$(AM_V_CCLD)$(LINK) $(scalerx_OBJECTS) $(scalerx_LDADD) $(LIBS)
499
500scalex$(EXEEXT): $(scalex_OBJECTS) $(scalex_DEPENDENCIES) $(EXTRA_scalex_DEPENDENCIES)
501	@rm -f scalex$(EXEEXT)
502	$(AM_V_CCLD)$(LINK) $(scalex_OBJECTS) $(scalex_LDADD) $(LIBS)
503
504mostlyclean-compile:
505	-rm -f *.$(OBJEXT)
506
507distclean-compile:
508	-rm -f *.tab.c
509
510.c.o:
511	$(AM_V_CC)$(COMPILE) -c -o $@ $<
512
513.c.obj:
514	$(AM_V_CC)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
515install-man1: $(man_MANS)
516	@$(NORMAL_INSTALL)
517	@list1=''; \
518	list2='$(man_MANS)'; \
519	test -n "$(man1dir)" \
520	  && test -n "`echo $$list1$$list2`" \
521	  || exit 0; \
522	echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \
523	$(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \
524	{ for i in $$list1; do echo "$$i"; done;  \
525	if test -n "$$list2"; then \
526	  for i in $$list2; do echo "$$i"; done \
527	    | sed -n '/\.1[a-z]*$$/p'; \
528	fi; \
529	} | while read p; do \
530	  if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
531	  echo "$$d$$p"; echo "$$p"; \
532	done | \
533	sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
534	      -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
535	sed 'N;N;s,\n, ,g' | { \
536	list=; while read file base inst; do \
537	  if test "$$base" = "$$inst"; then list="$$list $$file"; else \
538	    echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
539	    $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \
540	  fi; \
541	done; \
542	for i in $$list; do echo "$$i"; done | $(am__base_list) | \
543	while read files; do \
544	  test -z "$$files" || { \
545	    echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \
546	    $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \
547	done; }
548
549uninstall-man1:
550	@$(NORMAL_UNINSTALL)
551	@list=''; test -n "$(man1dir)" || exit 0; \
552	files=`{ for i in $$list; do echo "$$i"; done; \
553	l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
554	  sed -n '/\.1[a-z]*$$/p'; \
555	} | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
556	      -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
557	dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir)
558
559ID: $(am__tagged_files)
560	$(am__define_uniq_tagged_files); mkid -fID $$unique
561tags: tags-am
562TAGS: tags
563
564tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
565	set x; \
566	here=`pwd`; \
567	$(am__define_uniq_tagged_files); \
568	shift; \
569	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
570	  test -n "$$unique" || unique=$$empty_fix; \
571	  if test $$# -gt 0; then \
572	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
573	      "$$@" $$unique; \
574	  else \
575	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
576	      $$unique; \
577	  fi; \
578	fi
579ctags: ctags-am
580
581CTAGS: ctags
582ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
583	$(am__define_uniq_tagged_files); \
584	test -z "$(CTAGS_ARGS)$$unique" \
585	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
586	     $$unique
587
588GTAGS:
589	here=`$(am__cd) $(top_builddir) && pwd` \
590	  && $(am__cd) $(top_srcdir) \
591	  && gtags -i $(GTAGS_ARGS) "$$here"
592cscope: cscope.files
593	test ! -s cscope.files \
594	  || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
595clean-cscope:
596	-rm -f cscope.files
597cscope.files: clean-cscope cscopelist
598cscopelist: cscopelist-am
599
600cscopelist-am: $(am__tagged_files)
601	list='$(am__tagged_files)'; \
602	case "$(srcdir)" in \
603	  [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
604	  *) sdir=$(subdir)/$(srcdir) ;; \
605	esac; \
606	for i in $$list; do \
607	  if test -f "$$i"; then \
608	    echo "$(subdir)/$$i"; \
609	  else \
610	    echo "$$sdir/$$i"; \
611	  fi; \
612	done >> $(top_builddir)/cscope.files
613
614distclean-tags:
615	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
616	-rm -f cscope.out cscope.in.out cscope.po.out cscope.files
617
618distdir: $(DISTFILES)
619	$(am__remove_distdir)
620	test -d "$(distdir)" || mkdir "$(distdir)"
621	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
622	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
623	list='$(DISTFILES)'; \
624	  dist_files=`for file in $$list; do echo $$file; done | \
625	  sed -e "s|^$$srcdirstrip/||;t" \
626	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
627	case $$dist_files in \
628	  */*) $(MKDIR_P) `echo "$$dist_files" | \
629			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
630			   sort -u` ;; \
631	esac; \
632	for file in $$dist_files; do \
633	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
634	  if test -d $$d/$$file; then \
635	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
636	    if test -d "$(distdir)/$$file"; then \
637	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
638	    fi; \
639	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
640	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
641	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
642	    fi; \
643	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
644	  else \
645	    test -f "$(distdir)/$$file" \
646	    || cp -p $$d/$$file "$(distdir)/$$file" \
647	    || exit 1; \
648	  fi; \
649	done
650	-test -n "$(am__skip_mode_fix)" \
651	|| find "$(distdir)" -type d ! -perm -755 \
652		-exec chmod u+rwx,go+rx {} \; -o \
653	  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
654	  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
655	  ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
656	|| chmod -R a+r "$(distdir)"
657dist-gzip: distdir
658	tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
659	$(am__post_remove_distdir)
660
661dist-bzip2: distdir
662	tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
663	$(am__post_remove_distdir)
664
665dist-lzip: distdir
666	tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
667	$(am__post_remove_distdir)
668
669dist-xz: distdir
670	tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
671	$(am__post_remove_distdir)
672
673dist-tarZ: distdir
674	@echo WARNING: "Support for shar distribution archives is" \
675	               "deprecated." >&2
676	@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
677	tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
678	$(am__post_remove_distdir)
679
680dist-shar: distdir
681	@echo WARNING: "Support for distribution archives compressed with" \
682		       "legacy program 'compress' is deprecated." >&2
683	@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
684	shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
685	$(am__post_remove_distdir)
686
687dist-zip: distdir
688	-rm -f $(distdir).zip
689	zip -rq $(distdir).zip $(distdir)
690	$(am__post_remove_distdir)
691
692dist dist-all:
693	$(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
694	$(am__post_remove_distdir)
695
696# This target untars the dist file and tries a VPATH configuration.  Then
697# it guarantees that the distribution is self-contained by making another
698# tarfile.
699distcheck: dist
700	case '$(DIST_ARCHIVES)' in \
701	*.tar.gz*) \
702	  GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
703	*.tar.bz2*) \
704	  bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
705	*.tar.lz*) \
706	  lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
707	*.tar.xz*) \
708	  xz -dc $(distdir).tar.xz | $(am__untar) ;;\
709	*.tar.Z*) \
710	  uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
711	*.shar.gz*) \
712	  GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
713	*.zip*) \
714	  unzip $(distdir).zip ;;\
715	esac
716	chmod -R a-w $(distdir)
717	chmod u+w $(distdir)
718	mkdir $(distdir)/_build $(distdir)/_inst
719	chmod a-w $(distdir)
720	test -d $(distdir)/_build || exit 0; \
721	dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
722	  && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
723	  && am__cwd=`pwd` \
724	  && $(am__cd) $(distdir)/_build \
725	  && ../configure --srcdir=.. --prefix="$$dc_install_base" \
726	    $(AM_DISTCHECK_CONFIGURE_FLAGS) \
727	    $(DISTCHECK_CONFIGURE_FLAGS) \
728	  && $(MAKE) $(AM_MAKEFLAGS) \
729	  && $(MAKE) $(AM_MAKEFLAGS) dvi \
730	  && $(MAKE) $(AM_MAKEFLAGS) check \
731	  && $(MAKE) $(AM_MAKEFLAGS) install \
732	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
733	  && $(MAKE) $(AM_MAKEFLAGS) uninstall \
734	  && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
735	        distuninstallcheck \
736	  && chmod -R a-w "$$dc_install_base" \
737	  && ({ \
738	       (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
739	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
740	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
741	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
742	            distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
743	      } || { rm -rf "$$dc_destdir"; exit 1; }) \
744	  && rm -rf "$$dc_destdir" \
745	  && $(MAKE) $(AM_MAKEFLAGS) dist \
746	  && rm -rf $(DIST_ARCHIVES) \
747	  && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
748	  && cd "$$am__cwd" \
749	  || exit 1
750	$(am__post_remove_distdir)
751	@(echo "$(distdir) archives ready for distribution: "; \
752	  list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
753	  sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
754distuninstallcheck:
755	@test -n '$(distuninstallcheck_dir)' || { \
756	  echo 'ERROR: trying to run $@ with an empty' \
757	       '$$(distuninstallcheck_dir)' >&2; \
758	  exit 1; \
759	}; \
760	$(am__cd) '$(distuninstallcheck_dir)' || { \
761	  echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
762	  exit 1; \
763	}; \
764	test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
765	   || { echo "ERROR: files left after uninstall:" ; \
766	        if test -n "$(DESTDIR)"; then \
767	          echo "  (check DESTDIR support)"; \
768	        fi ; \
769	        $(distuninstallcheck_listfiles) ; \
770	        exit 1; } >&2
771distcleancheck: distclean
772	@if test '$(srcdir)' = . ; then \
773	  echo "ERROR: distcleancheck can only run from a VPATH build" ; \
774	  exit 1 ; \
775	fi
776	@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
777	  || { echo "ERROR: files left in build directory after distclean:" ; \
778	       $(distcleancheck_listfiles) ; \
779	       exit 1; } >&2
780check-am: all-am
781	$(MAKE) $(AM_MAKEFLAGS) check-local
782check: check-am
783all-am: Makefile $(PROGRAMS) $(MANS) config.h
784installdirs:
785	for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"; do \
786	  test -z "$$dir" || $(MKDIR_P) "$$dir"; \
787	done
788install: install-am
789install-exec: install-exec-am
790install-data: install-data-am
791uninstall: uninstall-am
792
793install-am: all-am
794	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
795
796installcheck: installcheck-am
797install-strip:
798	if test -z '$(STRIP)'; then \
799	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
800	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
801	      install; \
802	else \
803	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
804	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
805	    "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
806	fi
807mostlyclean-generic:
808
809clean-generic:
810
811distclean-generic:
812	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
813	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
814
815maintainer-clean-generic:
816	@echo "This command is intended for maintainers to use"
817	@echo "it deletes files that may require special tools to rebuild."
818clean: clean-am
819
820clean-am: clean-binPROGRAMS clean-generic clean-local mostlyclean-am
821
822distclean: distclean-am
823	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
824	-rm -f Makefile
825distclean-am: clean-am distclean-compile distclean-generic \
826	distclean-hdr distclean-tags
827
828dvi: dvi-am
829
830dvi-am:
831
832html: html-am
833
834html-am:
835
836info: info-am
837
838info-am:
839
840install-data-am: install-man
841
842install-dvi: install-dvi-am
843
844install-dvi-am:
845
846install-exec-am: install-binPROGRAMS
847
848install-html: install-html-am
849
850install-html-am:
851
852install-info: install-info-am
853
854install-info-am:
855
856install-man: install-man1
857
858install-pdf: install-pdf-am
859
860install-pdf-am:
861
862install-ps: install-ps-am
863
864install-ps-am:
865
866installcheck-am:
867
868maintainer-clean: maintainer-clean-am
869	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
870	-rm -rf $(top_srcdir)/autom4te.cache
871	-rm -f Makefile
872maintainer-clean-am: distclean-am maintainer-clean-generic
873
874mostlyclean: mostlyclean-am
875
876mostlyclean-am: mostlyclean-compile mostlyclean-generic
877
878pdf: pdf-am
879
880pdf-am:
881
882ps: ps-am
883
884ps-am:
885
886uninstall-am: uninstall-binPROGRAMS uninstall-man
887
888uninstall-man: uninstall-man1
889
890.MAKE: all check-am install-am install-strip
891
892.PHONY: CTAGS GTAGS TAGS all all-am am--refresh check check-am \
893	check-local clean clean-binPROGRAMS clean-cscope clean-generic \
894	clean-local cscope cscopelist-am ctags ctags-am dist dist-all \
895	dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ dist-xz \
896	dist-zip distcheck distclean distclean-compile \
897	distclean-generic distclean-hdr distclean-tags distcleancheck \
898	distdir distuninstallcheck dvi dvi-am html html-am info \
899	info-am install install-am install-binPROGRAMS install-data \
900	install-data-am install-dvi install-dvi-am install-exec \
901	install-exec-am install-html install-html-am install-info \
902	install-info-am install-man install-man1 install-pdf \
903	install-pdf-am install-ps install-ps-am install-strip \
904	installcheck installcheck-am installdirs maintainer-clean \
905	maintainer-clean-generic mostlyclean mostlyclean-compile \
906	mostlyclean-generic pdf pdf-am ps ps-am tags tags-am uninstall \
907	uninstall-am uninstall-binPROGRAMS uninstall-man \
908	uninstall-man1
909
910
911clean-local:
912	rm -f tx*.png tr*.png tt*.png
913	rm -f check.lst checkrx.lst checkx.lst template.png
914
915# Docs
916
917%.1 : %.d
918	advd2 man < $(srcdir)/$< > $@
919
920%.txt : %.d
921	advd2 txt < $(srcdir)/$< | todos > $@
922
923distwindows-x86: $(DIST_WINDOWS)
924	rm -f $(PACKAGE)-$(VERSION)-windows-x86.zip
925	mkdir tmp
926	cp $(DIST_WINDOWS) tmp
927	utod < README > tmp/readme.txt
928	utod < AUTHORS > tmp/authors.txt
929	utod < HISTORY > tmp/history.txt
930	utod < COPYING > tmp/copying.txt
931	cp $(DIST_WINDOWS_DOC) tmp
932	mkdir tmp/example
933	cp $(DIST_WINDOWS_EXAMPLE) tmp/example
934	find tmp \( -name "*.txt" \) -type f -exec utod {} \;
935	cd tmp && zip -r ../$(PACKAGE)-$(VERSION)-windows-x86.zip *
936	rm -r tmp
937
938check-local:
939	rm -f check.lst checkx.lst checkrx.lst
940	echo -- Generate the template.png
941	$(TESTENV) ./scalerx$(EXEEXT) -g
942	echo -- Test the template
943	$(TESTENV) ./scalerx$(EXEEXT) -k 2 -c template.png ttx22.png | fromdos >> check.lst ; \
944	$(TESTENV) ./scalerx$(EXEEXT) -k 3 -c template.png ttx33.png | fromdos >> check.lst ; \
945	$(TESTENV) ./scalerx$(EXEEXT) -k 4 -c template.png ttx44.png | fromdos >> check.lst ; \
946	$(TESTENV) ./scalerx$(EXEEXT) -k 2 -r k -c template.png ttk22.png | fromdos >> check.lst ; \
947	$(TESTENV) ./scalerx$(EXEEXT) -k 3 -r k -c template.png ttk33.png | fromdos >> check.lst ; \
948	$(TESTENV) ./scalerx$(EXEEXT) -k 4 -r k -c template.png ttk44.png | fromdos >> check.lst ; \
949	echo -- Test the basn files
950	for i in $(TEST); do \
951		$(TESTENV) ./scalerx$(EXEEXT) -k 2 -c $(srcdir)/test/basn$$i.png tr22$$i.png | fromdos >> check.lst ; \
952		$(TESTENV) ./scalerx$(EXEEXT) -k 2x3 -c $(srcdir)/test/basn$$i.png tr23$$i.png | fromdos >> check.lst ; \
953		$(TESTENV) ./scalerx$(EXEEXT) -k 2x4 -c $(srcdir)/test/basn$$i.png tr24$$i.png | fromdos >> check.lst ; \
954		$(TESTENV) ./scalerx$(EXEEXT) -k 3 -c $(srcdir)/test/basn$$i.png tr33$$i.png | fromdos >> check.lst ; \
955		$(TESTENV) ./scalerx$(EXEEXT) -k 4 -c $(srcdir)/test/basn$$i.png tr44$$i.png | fromdos >> check.lst ; \
956		$(TESTENV) ./scalex$(EXEEXT) -k 2 -c $(srcdir)/test/basn$$i.png tx22$$i.png | fromdos >> check.lst ; \
957		$(TESTENV) ./scalex$(EXEEXT) -k 2x3 -c $(srcdir)/test/basn$$i.png tr23$$i.png | fromdos >> check.lst ; \
958		$(TESTENV) ./scalex$(EXEEXT) -k 2x4 -c $(srcdir)/test/basn$$i.png tr24$$i.png | fromdos >> check.lst ; \
959		$(TESTENV) ./scalex$(EXEEXT) -k 3 -c $(srcdir)/test/basn$$i.png tx33$$i.png | fromdos >> check.lst ; \
960		$(TESTENV) ./scalex$(EXEEXT) -k 4 -c $(srcdir)/test/basn$$i.png tx44$$i.png | fromdos >> check.lst ; \
961	done
962	echo -- Test the example files
963	for i in $(EXAMPLE); do \
964		$(TESTENV) ./scalerx$(EXEEXT) -k 2 -c $(srcdir)/example/$$i.png tr22$$i.png | fromdos >> check.lst ; \
965		$(TESTENV) ./scalerx$(EXEEXT) -k 2x3 -c $(srcdir)/example/$$i.png tr23$$i.png | fromdos >> check.lst ; \
966		$(TESTENV) ./scalerx$(EXEEXT) -k 2x4 -c $(srcdir)/example/$$i.png tr24$$i.png | fromdos >> check.lst ; \
967		$(TESTENV) ./scalerx$(EXEEXT) -k 3 -c $(srcdir)/example/$$i.png tr33$$i.png | fromdos >> check.lst ; \
968		$(TESTENV) ./scalerx$(EXEEXT) -k 4 -c $(srcdir)/example/$$i.png tr44$$i.png | fromdos >> check.lst ; \
969		$(TESTENV) ./scalex$(EXEEXT) -k 2 -c $(srcdir)/example/$$i.png tx22$$i.png | fromdos >> check.lst ; \
970		$(TESTENV) ./scalex$(EXEEXT) -k 2x3 -c $(srcdir)/example/$$i.png tr23$$i.png | fromdos >> check.lst ; \
971		$(TESTENV) ./scalex$(EXEEXT) -k 2x4 -c $(srcdir)/example/$$i.png tr24$$i.png | fromdos >> check.lst ; \
972		$(TESTENV) ./scalex$(EXEEXT) -k 3 -c $(srcdir)/example/$$i.png tx33$$i.png | fromdos >> check.lst ; \
973		$(TESTENV) ./scalex$(EXEEXT) -k 4 -c $(srcdir)/example/$$i.png tx44$$i.png | fromdos >> check.lst ; \
974	done
975	cmp check.lst $(srcdir)/test/test.lst
976	echo -- Compare the reference and fast implementation
977	for i in $(TEST); do \
978		$(TESTENV) ./scalerx$(EXEEXT) -k 2 -c -o $(srcdir)/test/basn$$i.png tr22$$i.png | fromdos >> checkrx.lst ; \
979		$(TESTENV) ./scalerx$(EXEEXT) -k 2x3 -c -o $(srcdir)/test/basn$$i.png tr23$$i.png | fromdos >> checkrx.lst ; \
980		$(TESTENV) ./scalerx$(EXEEXT) -k 2x4 -c -o $(srcdir)/test/basn$$i.png tr24$$i.png | fromdos >> checkrx.lst ; \
981		$(TESTENV) ./scalerx$(EXEEXT) -k 3 -c -o $(srcdir)/test/basn$$i.png tr33$$i.png | fromdos >> checkrx.lst ; \
982		$(TESTENV) ./scalerx$(EXEEXT) -k 4 -c -o $(srcdir)/test/basn$$i.png tr43$$i.png | fromdos >> checkrx.lst ; \
983	done
984	for i in $(EXAMPLE); do \
985		$(TESTENV) ./scalerx$(EXEEXT) -k 2 -c -o $(srcdir)/example/$$i.png tr22$$i.png | fromdos >> checkrx.lst ; \
986		$(TESTENV) ./scalerx$(EXEEXT) -k 2x3 -c -o $(srcdir)/example/$$i.png tr23$$i.png | fromdos >> checkrx.lst ; \
987		$(TESTENV) ./scalerx$(EXEEXT) -k 2x4 -c -o $(srcdir)/example/$$i.png tr24$$i.png | fromdos >> checkrx.lst ; \
988		$(TESTENV) ./scalerx$(EXEEXT) -k 3 -c -o $(srcdir)/example/$$i.png tr33$$i.png | fromdos >> checkrx.lst ; \
989		$(TESTENV) ./scalerx$(EXEEXT) -k 4 -c -o $(srcdir)/example/$$i.png tr43$$i.png | fromdos >> checkrx.lst ; \
990	done
991	for i in $(TEST); do \
992		$(TESTENV) ./scalex$(EXEEXT) -k 2 -c $(srcdir)/test/basn$$i.png tx22$$i.png | fromdos >> checkx.lst ; \
993		$(TESTENV) ./scalex$(EXEEXT) -k 2x3 -c $(srcdir)/test/basn$$i.png tx23$$i.png | fromdos >> checkx.lst ; \
994		$(TESTENV) ./scalex$(EXEEXT) -k 2x4 -c $(srcdir)/test/basn$$i.png tx24$$i.png | fromdos >> checkx.lst ; \
995		$(TESTENV) ./scalex$(EXEEXT) -k 3 -c $(srcdir)/test/basn$$i.png tx33$$i.png | fromdos >> checkx.lst ; \
996		$(TESTENV) ./scalex$(EXEEXT) -k 4 -c $(srcdir)/test/basn$$i.png tx44$$i.png | fromdos >> checkx.lst ; \
997	done
998	for i in $(EXAMPLE); do \
999		$(TESTENV) ./scalex$(EXEEXT) -k 2 -c $(srcdir)/example/$$i.png tx22$$i.png | fromdos >> checkx.lst ; \
1000		$(TESTENV) ./scalex$(EXEEXT) -k 2x3 -c $(srcdir)/example/$$i.png tx23$$i.png | fromdos >> checkx.lst ; \
1001		$(TESTENV) ./scalex$(EXEEXT) -k 2x4 -c $(srcdir)/example/$$i.png tx24$$i.png | fromdos >> checkx.lst ; \
1002		$(TESTENV) ./scalex$(EXEEXT) -k 3 -c $(srcdir)/example/$$i.png tx33$$i.png | fromdos >> checkx.lst ; \
1003		$(TESTENV) ./scalex$(EXEEXT) -k 4 -c $(srcdir)/example/$$i.png tx44$$i.png | fromdos >> checkx.lst ; \
1004	done
1005	cmp checkx.lst checkrx.lst
1006	echo Success!
1007
1008# Tell versions [3.59,3.63) of GNU make to not export all variables.
1009# Otherwise a system limit (for SysV at least) may be exceeded.
1010.NOEXPORT:
1011