1 # Makefile.in generated by automake 1.7 from Makefile.am.
4 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
5 # Free Software Foundation, Inc.
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.
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
18 # Makefile.am for states tests.
19 # Copyright (c) 1997 Markku Rossi
21 # Author: Markku Rossi <mtr@iki.fi>
25 # This file is part of GNU enscript.
27 # This program is free software; you can redistribute it and/or modify
28 # it under the terms of the GNU General Public License as published by
29 # the Free Software Foundation; either version 2, or (at your option)
32 # This program is distributed in the hope that it will be useful,
33 # but WITHOUT ANY WARRANTY; without even the implied warranty of
34 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
35 # GNU General Public License for more details.
37 # You should have received a copy of the GNU General Public License
38 # along with this program; see the file COPYING. If not, write to
39 # the Free Software Foundation, 51 Franklin Street, Fifth Floor,
40 # Boston, MA 02110-1301, USA.
44 top_srcdir = @top_srcdir@
46 pkgdatadir = $(datadir)/@PACKAGE@
47 pkglibdir = $(libdir)/@PACKAGE@
48 pkgincludedir = $(includedir)/@PACKAGE@
51 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
53 install_sh_DATA = $(install_sh) -c -m 644
54 install_sh_PROGRAM = $(install_sh) -c
55 install_sh_SCRIPT = $(install_sh) -c
56 INSTALL_HEADER = $(INSTALL_DATA)
57 transform = $(program_transform_name)
67 AMDEP_FALSE = @AMDEP_FALSE@
68 AMDEP_TRUE = @AMDEP_TRUE@
71 AUTOHEADER = @AUTOHEADER@
74 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
75 CATOBJEXT = @CATOBJEXT@
77 CCDEPMODE = @CCDEPMODE@
81 CYGPATH_W = @CYGPATH_W@
82 DATADIRNAME = @DATADIRNAME@
93 INSTALL_DATA = @INSTALL_DATA@
94 INSTALL_PROGRAM = @INSTALL_PROGRAM@
95 INSTALL_SCRIPT = @INSTALL_SCRIPT@
96 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
97 INSTOBJEXT = @INSTOBJEXT@
98 INTLBISON = @INTLBISON@
100 INTLOBJS = @INTLOBJS@
101 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
105 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
106 LIBICONV = @LIBICONV@
110 LTLIBICONV = @LTLIBICONV@
111 LTLIBINTL = @LTLIBINTL@
112 LTLIBOBJS = @LTLIBOBJS@
113 MAKEINFO = @MAKEINFO@
115 MKINSTALLDIRS = @MKINSTALLDIRS@
117 MSGMERGE = @MSGMERGE@
120 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
121 PACKAGE_NAME = @PACKAGE_NAME@
122 PACKAGE_STRING = @PACKAGE_STRING@
123 PACKAGE_TARNAME = @PACKAGE_TARNAME@
124 PACKAGE_VERSION = @PACKAGE_VERSION@
125 PATH_SEPARATOR = @PATH_SEPARATOR@
130 SET_MAKE = @SET_MAKE@
135 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
138 XGETTEXT = @XGETTEXT@
140 ac_ct_CC = @ac_ct_CC@
141 ac_ct_RANLIB = @ac_ct_RANLIB@
142 ac_ct_STRIP = @ac_ct_STRIP@
143 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
144 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
145 am__include = @am__include@
146 am__quote = @am__quote@
149 build_alias = @build_alias@
150 build_cpu = @build_cpu@
151 build_os = @build_os@
152 build_vendor = @build_vendor@
154 exec_prefix = @exec_prefix@
156 host_alias = @host_alias@
157 host_cpu = @host_cpu@
159 host_vendor = @host_vendor@
160 includedir = @includedir@
162 install_sh = @install_sh@
164 libexecdir = @libexecdir@
165 localstatedir = @localstatedir@
167 oldincludedir = @oldincludedir@
169 program_transform_name = @program_transform_name@
171 sharedstatedir = @sharedstatedir@
172 sysconfdir = @sysconfdir@
173 target_alias = @target_alias@
177 TESTS = startrules.test namerules.test optionstate.test \
178 firstmatch.test longestmatch.test icase.test vardef.test exprs.test \
179 primconcat.test primfloat.test primgetenv.test primint.test \
180 primlength.test primlist.test primprint.test primregexp.test \
181 primregexp_syntax.test primregmatch.test primregsub.test \
182 primregsuball.test primsprintf.test primstrcmp.test primstring.test \
183 primstrncmp.test primsubstring.test
186 EXTRA_DIST = defs tests.st $(TESTS)
187 subdir = states/tests
188 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
189 CONFIG_HEADER = $(top_builddir)/config.h
192 DIST_COMMON = ChangeLog Makefile.am Makefile.in
196 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
197 cd $(top_srcdir) && \
198 $(AUTOMAKE) --gnu states/tests/Makefile
199 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
200 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
209 check-TESTS: $(TESTS)
210 @failed=0; all=0; xfail=0; xpass=0; skip=0; \
211 srcdir=$(srcdir); export srcdir; \
213 if test -n "$$list"; then \
214 for tst in $$list; do \
215 if test -f ./$$tst; then dir=./; \
216 elif test -f $$tst; then dir=; \
217 else dir="$(srcdir)/"; fi; \
218 if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
219 all=`expr $$all + 1`; \
220 case " $(XFAIL_TESTS) " in \
222 xpass=`expr $$xpass + 1`; \
223 failed=`expr $$failed + 1`; \
224 echo "XPASS: $$tst"; \
227 echo "PASS: $$tst"; \
230 elif test $$? -ne 77; then \
231 all=`expr $$all + 1`; \
232 case " $(XFAIL_TESTS) " in \
234 xfail=`expr $$xfail + 1`; \
235 echo "XFAIL: $$tst"; \
238 failed=`expr $$failed + 1`; \
239 echo "FAIL: $$tst"; \
243 skip=`expr $$skip + 1`; \
244 echo "SKIP: $$tst"; \
247 if test "$$failed" -eq 0; then \
248 if test "$$xfail" -eq 0; then \
249 banner="All $$all tests passed"; \
251 banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
254 if test "$$xpass" -eq 0; then \
255 banner="$$failed of $$all tests failed"; \
257 banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
262 if test "$$skip" -ne 0; then \
263 skipped="($$skip tests were not run)"; \
264 test `echo "$$skipped" | wc -c` -gt `echo "$$banner" | wc -c` && \
265 dashes="$$skipped"; \
268 if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
269 report="Please report to $(PACKAGE_BUGREPORT)"; \
270 test `echo "$$report" | wc -c` -gt `echo "$$banner" | wc -c` && \
273 dashes=`echo "$$dashes" | sed s/./=/g`; \
276 test -n "$$skipped" && echo "$$skipped"; \
277 test -n "$$report" && echo "$$report"; \
279 test "$$failed" -eq 0; \
281 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
284 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
286 distdir: $(DISTFILES)
287 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
288 list='$(DISTFILES)'; for file in $$list; do \
290 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
292 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
293 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
294 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
296 $(mkinstalldirs) "$(distdir)$$dir"; \
300 if test -d $$d/$$file; then \
301 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
302 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
304 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
306 test -f $(distdir)/$$file \
307 || cp -p $$d/$$file $(distdir)/$$file \
312 $(MAKE) $(AM_MAKEFLAGS) check-TESTS
319 install-exec: install-exec-am
320 install-data: install-data-am
321 uninstall: uninstall-am
324 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
326 installcheck: installcheck-am
328 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
329 INSTALL_STRIP_FLAG=-s \
330 `test -z '$(STRIP)' || \
331 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
337 -rm -f Makefile $(CONFIG_CLEAN_FILES)
339 maintainer-clean-generic:
340 @echo "This command is intended for maintainers to use"
341 @echo "it deletes files that may require special tools to rebuild."
344 clean-am: clean-generic mostlyclean-am
346 distclean: distclean-am
348 distclean-am: clean-am distclean-generic
362 install-info: install-info-am
368 maintainer-clean: maintainer-clean-am
370 maintainer-clean-am: distclean-am maintainer-clean-generic
372 mostlyclean: mostlyclean-am
374 mostlyclean-am: mostlyclean-generic
384 uninstall-am: uninstall-info-am
386 .PHONY: all all-am check check-TESTS check-am clean clean-generic \
387 distclean distclean-generic distdir dvi dvi-am info info-am \
388 install install-am install-data install-data-am install-exec \
389 install-exec-am install-info install-info-am install-man \
390 install-strip installcheck installcheck-am installdirs \
391 maintainer-clean maintainer-clean-generic mostlyclean \
392 mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am \
395 # Tell versions [3.59,3.63) of GNU make to not export all variables.
396 # Otherwise a system limit (for SysV at least) may be exceeded.