Home | History | Annotate | Line # | Download | only in tests
      1 # Makefile.in generated by automake 1.11.1 from Makefile.am.
      2 # @configure_input@
      3 
      4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
      5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
      6 # Inc.
      7 # This Makefile.in is free software; the Free Software Foundation
      8 # gives unlimited permission to copy and/or distribute it,
      9 # with or without modifications, as long as this notice is preserved.
     10 
     11 # This program is distributed in the hope that it will be useful,
     12 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
     13 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
     14 # PARTICULAR PURPOSE.
     15 
     16 @SET_MAKE@
     17 
     18 # Copyright (C) 2000-2012 Free Software Foundation, Inc.
     19 
     20 # This program is free software: you can redistribute it and/or modify
     21 # it under the terms of the GNU General Public License as published by
     22 # the Free Software Foundation, either version 3 of the License, or
     23 # (at your option) any later version.
     24 
     25 # This program is distributed in the hope that it will be useful,
     26 # but WITHOUT ANY WARRANTY; without even the implied warranty of
     27 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     28 # GNU General Public License for more details.
     29 
     30 # You should have received a copy of the GNU General Public License
     31 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
     32 
     33 # Freeze M4 files.
     34 
     35 # Copyright (C) 2002, 2004, 2006-2012 Free Software Foundation, Inc.
     36 
     37 # This program is free software: you can redistribute it and/or modify
     38 # it under the terms of the GNU General Public License as published by
     39 # the Free Software Foundation, either version 3 of the License, or
     40 # (at your option) any later version.
     41 
     42 # This program is distributed in the hope that it will be useful,
     43 # but WITHOUT ANY WARRANTY; without even the implied warranty of
     44 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     45 # GNU General Public License for more details.
     46 
     47 # You should have received a copy of the GNU General Public License
     48 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
     49 
     50 VPATH = @srcdir@
     51 pkgdatadir = $(datadir)/@PACKAGE@
     52 pkgincludedir = $(includedir)/@PACKAGE@
     53 pkglibdir = $(libdir)/@PACKAGE@
     54 pkglibexecdir = $(libexecdir)/@PACKAGE@
     55 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
     56 install_sh_DATA = $(install_sh) -c -m 644
     57 install_sh_PROGRAM = $(install_sh) -c
     58 install_sh_SCRIPT = $(install_sh) -c
     59 INSTALL_HEADER = $(INSTALL_DATA)
     60 transform = $(program_transform_name)
     61 NORMAL_INSTALL = :
     62 PRE_INSTALL = :
     63 POST_INSTALL = :
     64 NORMAL_UNINSTALL = :
     65 PRE_UNINSTALL = :
     66 POST_UNINSTALL = :
     67 build_triplet = @build@
     68 host_triplet = @host@
     69 DIST_COMMON = $(srcdir)/../lib/freeze.mk $(srcdir)/Makefile.am \
     70 	$(srcdir)/Makefile.in $(srcdir)/atlocal.in
     71 subdir = tests
     72 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     73 am__aclocal_m4_deps = $(top_srcdir)/m4/autobuild.m4 \
     74 	$(top_srcdir)/m4/m4.m4 $(top_srcdir)/m4/make-case.m4 \
     75 	$(top_srcdir)/configure.ac
     76 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
     77 	$(ACLOCAL_M4)
     78 mkinstalldirs = $(install_sh) -d
     79 CONFIG_CLEAN_FILES = atlocal
     80 CONFIG_CLEAN_VPATH_FILES =
     81 SCRIPTS = $(noinst_SCRIPTS)
     82 SOURCES =
     83 DIST_SOURCES =
     84 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
     85 ACLOCAL = @ACLOCAL@
     86 AMTAR = @AMTAR@
     87 AUTOCONF = @AUTOCONF@
     88 AUTOHEADER = @AUTOHEADER@
     89 AUTOMAKE = @AUTOMAKE@
     90 AWK = @AWK@
     91 CYGPATH_W = @CYGPATH_W@
     92 DEFS = @DEFS@
     93 ECHO_C = @ECHO_C@
     94 ECHO_N = @ECHO_N@
     95 ECHO_T = @ECHO_T@
     96 EGREP = @EGREP@
     97 EMACS = @EMACS@
     98 EMACSLOADPATH = @EMACSLOADPATH@
     99 EXPR = @EXPR@
    100 GREP = @GREP@
    101 HELP2MAN = @HELP2MAN@
    102 INSTALL = @INSTALL@
    103 INSTALL_DATA = @INSTALL_DATA@
    104 INSTALL_PROGRAM = @INSTALL_PROGRAM@
    105 INSTALL_SCRIPT = @INSTALL_SCRIPT@
    106 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
    107 LIBOBJS = @LIBOBJS@
    108 LIBS = @LIBS@
    109 LTLIBOBJS = @LTLIBOBJS@
    110 M4 = @M4@
    111 M4_DEBUGFILE = @M4_DEBUGFILE@
    112 M4_GNU = @M4_GNU@
    113 MAKEINFO = @MAKEINFO@
    114 MKDIR_P = @MKDIR_P@
    115 PACKAGE = @PACKAGE@
    116 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
    117 PACKAGE_NAME = @PACKAGE_NAME@
    118 PACKAGE_STRING = @PACKAGE_STRING@
    119 PACKAGE_TARNAME = @PACKAGE_TARNAME@
    120 PACKAGE_URL = @PACKAGE_URL@
    121 PACKAGE_VERSION = @PACKAGE_VERSION@
    122 PATH_SEPARATOR = @PATH_SEPARATOR@
    123 PERL = @PERL@
    124 PERL_FLOCK = @PERL_FLOCK@
    125 SED = @SED@
    126 SET_MAKE = @SET_MAKE@
    127 SHELL = @SHELL@
    128 STRIP = @STRIP@
    129 TEST_EMACS = @TEST_EMACS@
    130 VERSION = @VERSION@
    131 abs_builddir = @abs_builddir@
    132 abs_srcdir = @abs_srcdir@
    133 abs_top_builddir = @abs_top_builddir@
    134 abs_top_srcdir = @abs_top_srcdir@
    135 ac_cv_dir_trailing_space = @ac_cv_dir_trailing_space@
    136 ac_cv_sh_n_works = @ac_cv_sh_n_works@
    137 ac_cv_unsupported_fs_chars = @ac_cv_unsupported_fs_chars@
    138 am__leading_dot = @am__leading_dot@
    139 am__tar = @am__tar@
    140 am__untar = @am__untar@
    141 bindir = @bindir@
    142 build = @build@
    143 build_alias = @build_alias@
    144 build_cpu = @build_cpu@
    145 build_os = @build_os@
    146 build_vendor = @build_vendor@
    147 builddir = @builddir@
    148 datadir = @datadir@
    149 datarootdir = @datarootdir@
    150 docdir = @docdir@
    151 dvidir = @dvidir@
    152 exec_prefix = @exec_prefix@
    153 host = @host@
    154 host_alias = @host_alias@
    155 host_cpu = @host_cpu@
    156 host_os = @host_os@
    157 host_vendor = @host_vendor@
    158 htmldir = @htmldir@
    159 includedir = @includedir@
    160 infodir = @infodir@
    161 install_sh = @install_sh@
    162 libdir = @libdir@
    163 libexecdir = @libexecdir@
    164 lispdir = @lispdir@
    165 localedir = @localedir@
    166 localstatedir = @localstatedir@
    167 mandir = @mandir@
    168 mkdir_p = @mkdir_p@
    169 oldincludedir = @oldincludedir@
    170 pdfdir = @pdfdir@
    171 prefix = @prefix@
    172 program_transform_name = @program_transform_name@
    173 psdir = @psdir@
    174 sbindir = @sbindir@
    175 sharedstatedir = @sharedstatedir@
    176 srcdir = @srcdir@
    177 sysconfdir = @sysconfdir@
    178 target_alias = @target_alias@
    179 top_build_prefix = @top_build_prefix@
    180 top_builddir = @top_builddir@
    181 top_srcdir = @top_srcdir@
    182 
    183 # We don't actually distribute the built testsuite or package.m4, since one
    184 # only needs m4 to build them, and m4 is required to install Autoconf.
    185 # But if you are borrowing from this file for setting up autotest in your
    186 # project, remember to distribute both testsuite and package.m4.
    187 EXTRA_DIST = $(TESTSUITE_AT) local.at mktests.sh atlocal.in wrapper.as \
    188 	statesave.m4 mktests.stamp
    189 
    190 # Running the uninstalled scripts.  Build them upon `all', for the manpages.
    191 noinst_SCRIPTS = $(wrappers)
    192 DISTCLEANFILES = atconfig atlocal $(TESTSUITE)
    193 MAINTAINERCLEANFILES = Makefile.in $(TESTSUITE_GENERATED_AT) \
    194 	mktests.stamp
    195 SUFFIXES = .m4 .m4f
    196 AUTOM4TE_CFG = $(top_builddir)/lib/autom4te.cfg
    197 
    198 # Do not use AUTOM4TE here, since maint.mk (my-distcheck)
    199 # checks if we are independent of Autoconf by defining AUTOM4TE (and
    200 # others) to `false'.  Autoconf provides autom4te, so that doesn't
    201 # apply to us.
    202 MY_AUTOM4TE = \
    203 	autom4te_perllibdir='$(top_srcdir)'/lib					\
    204 	AUTOM4TE_CFG='$(AUTOM4TE_CFG)'         $(top_builddir)/bin/autom4te	\
    205 		-B '$(top_builddir)'/lib -B '$(top_srcdir)'/lib        # keep ` '
    206 
    207 
    208 # Factor the dependencies between all the frozen files.
    209 # Some day we should explain to Automake how to use autom4te to compute
    210 # the dependencies...
    211 src_libdir = $(top_srcdir)/lib
    212 build_libdir = $(top_builddir)/lib
    213 m4f_dependencies = $(top_builddir)/bin/autom4te $(AUTOM4TE_CFG)
    214 m4sugar_m4f_dependencies = \
    215 	$(m4f_dependencies)			\
    216 	$(src_libdir)/m4sugar/m4sugar.m4	\
    217 	$(build_libdir)/m4sugar/version.m4
    218 
    219 m4sh_m4f_dependencies = \
    220 	$(m4sugar_m4f_dependencies)		\
    221 	$(src_libdir)/m4sugar/m4sh.m4
    222 
    223 autotest_m4f_dependencies = \
    224 	$(m4sh_m4f_dependencies)		\
    225 	$(src_libdir)/autotest/autotest.m4	\
    226 	$(src_libdir)/autotest/general.m4	\
    227 	$(src_libdir)/autotest/specific.m4
    228 
    229 autoconf_m4f_dependencies = \
    230 	$(m4sh_m4f_dependencies)		\
    231 	$(src_libdir)/autoconf/autoscan.m4	\
    232 	$(src_libdir)/autoconf/general.m4	\
    233 	$(src_libdir)/autoconf/autoheader.m4	\
    234 	$(src_libdir)/autoconf/autoupdate.m4	\
    235 	$(src_libdir)/autoconf/autotest.m4	\
    236 	$(src_libdir)/autoconf/status.m4	\
    237 	$(src_libdir)/autoconf/oldnames.m4	\
    238 	$(src_libdir)/autoconf/specific.m4	\
    239 	$(src_libdir)/autoconf/lang.m4		\
    240 	$(src_libdir)/autoconf/c.m4		\
    241 	$(src_libdir)/autoconf/fortran.m4	\
    242 	$(src_libdir)/autoconf/erlang.m4	\
    243 	$(src_libdir)/autoconf/go.m4		\
    244 	$(src_libdir)/autoconf/functions.m4	\
    245 	$(src_libdir)/autoconf/headers.m4	\
    246 	$(src_libdir)/autoconf/types.m4		\
    247 	$(src_libdir)/autoconf/libs.m4		\
    248 	$(src_libdir)/autoconf/programs.m4	\
    249 	$(src_libdir)/autoconf/autoconf.m4
    250 
    251 ETAGS_FOR_M4 = \
    252   --lang=none \
    253   --regex='/\(m4_define\|define\)(\[\([^]]*\)\]/\2/'
    254 
    255 ETAGS_FOR_M4SUGAR = \
    256   $(ETAGS_FOR_M4) \
    257   --regex='/m4_defun(\[\([^]]*\)\]/\1/'
    258 
    259 ETAGS_FOR_AUTOCONF = \
    260   $(ETAGS_FOR_M4SUGAR) \
    261   --regex='/\(A[CU]_DEFUN\|AU_ALIAS\)(\[\([^]]*\)\]/\2/' \
    262   --regex='/AN_\(FUNCTION\|HEADER\|IDENTIFIER\|LIBRARY\|MAKEVAR\|PROGRAM\)(\[\([^]]*\)\]/\2/'
    263 
    264 wrappers = autoconf autoheader autom4te autoreconf autoscan autoupdate ifnames
    265 
    266 # The hairy heredoc is more robust than using echo.
    267 CLEANFILES = wrapper.in $(wrappers) package.m4 mktests.tmp expr
    268 edit = sed \
    269 	-e 's|@wrap_program[@]|$@|g' \
    270 	-e 's|@abs_top_srcdir[@]|@abs_top_srcdir@|g' \
    271 	-e 's|@abs_top_builddir[@]|@abs_top_builddir@|g' \
    272 	-e "s|@configure_input[@]|Generated from $$input.|g"
    273 
    274 TESTSUITE_GENERATED_AT = \
    275 	$(srcdir)/aclang.at \
    276 	$(srcdir)/acc.at \
    277 	$(srcdir)/acfortran.at \
    278 	$(srcdir)/acgo.at \
    279 	$(srcdir)/acgeneral.at \
    280 	$(srcdir)/acstatus.at \
    281 	$(srcdir)/acautoheader.at \
    282 	$(srcdir)/acautoupdate.at \
    283 	$(srcdir)/acspecific.at \
    284 	$(srcdir)/acfunctions.at \
    285 	$(srcdir)/acheaders.at \
    286 	$(srcdir)/actypes.at \
    287 	$(srcdir)/aclibs.at \
    288 	$(srcdir)/acprograms.at
    289 
    290 TESTSUITE_HAND_AT = \
    291 	suite.at \
    292 	m4sugar.at m4sh.at autotest.at \
    293 	base.at tools.at torture.at \
    294 	compile.at c.at erlang.at fortran.at go.at \
    295 	semantics.at \
    296 	autoscan.at \
    297 	foreign.at
    298 
    299 TESTSUITE_AT = $(TESTSUITE_GENERATED_AT) $(TESTSUITE_HAND_AT)
    300 TESTSUITE = ./testsuite
    301 
    302 # Run the non installed autom4te.
    303 # Don't use AUTOM4TE since `make alpha' makes it unavailable although
    304 # we are allowed to use it (since we ship it).
    305 AUTOTEST = $(MY_AUTOM4TE) --language=autotest
    306 
    307 # Avoid a race condition that would make parallel "distclean" fail.
    308 # The rule in clean-local tests for existence of $(TESTSUITE), and
    309 # if found, attempts to run it.  But the distclean-generic rule may
    310 # be running in parallel, and it removes $(DISTCLEANFILES) which
    311 # includes $(TESTSUITE).  This is the Automake rule, plus our
    312 # dependency, and we silence the warning from 'automake -Wall' by
    313 # hiding the dependency behind a variable.
    314 # TODO - fix this if newer automake accommodates the dependency.
    315 distclean_generic = distclean-generic
    316 
    317 # The files which contain macros we check for syntax.  Use $(top_srcdir)
    318 # for the benefit of non-GNU make.  Fix the names in the rule below
    319 # where we `cd' to $srcdir.
    320 autoconfdir = $(top_srcdir)/lib/autoconf
    321 AUTOCONF_FILES = $(autoconfdir)/general.m4 \
    322 		 $(autoconfdir)/status.m4 \
    323 		 $(autoconfdir)/autoheader.m4 \
    324 		 $(autoconfdir)/autoupdate.m4 \
    325 		 $(autoconfdir)/specific.m4 \
    326 		 $(autoconfdir)/functions.m4 \
    327 		 $(autoconfdir)/lang.m4 \
    328 		 $(autoconfdir)/c.m4 \
    329 		 $(autoconfdir)/erlang.m4 \
    330 		 $(autoconfdir)/fortran.m4 \
    331 		 $(autoconfdir)/go.m4 \
    332 		 $(autoconfdir)/headers.m4 \
    333 		 $(autoconfdir)/libs.m4 \
    334 		 $(autoconfdir)/types.m4 \
    335 		 $(autoconfdir)/programs.m4
    336 
    337 all: all-am
    338 
    339 .SUFFIXES:
    340 .SUFFIXES: .m4 .m4f
    341 $(srcdir)/Makefile.in:  $(srcdir)/Makefile.am $(srcdir)/../lib/freeze.mk $(am__configure_deps)
    342 	@for dep in $?; do \
    343 	  case '$(am__configure_deps)' in \
    344 	    *$$dep*) \
    345 	      ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
    346 	        && { if test -f $@; then exit 0; else break; fi; }; \
    347 	      exit 1;; \
    348 	  esac; \
    349 	done; \
    350 	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tests/Makefile'; \
    351 	$(am__cd) $(top_srcdir) && \
    352 	  $(AUTOMAKE) --gnu tests/Makefile
    353 .PRECIOUS: Makefile
    354 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
    355 	@case '$?' in \
    356 	  *config.status*) \
    357 	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
    358 	  *) \
    359 	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
    360 	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
    361 	esac;
    362 
    363 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
    364 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
    365 
    366 $(top_srcdir)/configure:  $(am__configure_deps)
    367 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
    368 $(ACLOCAL_M4):  $(am__aclocal_m4_deps)
    369 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
    370 $(am__aclocal_m4_deps):
    371 atlocal: $(top_builddir)/config.status $(srcdir)/atlocal.in
    372 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
    373 tags: TAGS
    374 TAGS:
    375 
    376 ctags: CTAGS
    377 CTAGS:
    378 
    379 
    380 distdir: $(DISTFILES)
    381 	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
    382 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
    383 	list='$(DISTFILES)'; \
    384 	  dist_files=`for file in $$list; do echo $$file; done | \
    385 	  sed -e "s|^$$srcdirstrip/||;t" \
    386 	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
    387 	case $$dist_files in \
    388 	  */*) $(MKDIR_P) `echo "$$dist_files" | \
    389 			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
    390 			   sort -u` ;; \
    391 	esac; \
    392 	for file in $$dist_files; do \
    393 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
    394 	  if test -d $$d/$$file; then \
    395 	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
    396 	    if test -d "$(distdir)/$$file"; then \
    397 	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
    398 	    fi; \
    399 	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
    400 	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
    401 	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
    402 	    fi; \
    403 	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
    404 	  else \
    405 	    test -f "$(distdir)/$$file" \
    406 	    || cp -p $$d/$$file "$(distdir)/$$file" \
    407 	    || exit 1; \
    408 	  fi; \
    409 	done
    410 check-am: all-am
    411 	$(MAKE) $(AM_MAKEFLAGS) check-local
    412 check: check-am
    413 all-am: Makefile $(SCRIPTS)
    414 installdirs:
    415 install: install-am
    416 install-exec: install-exec-am
    417 install-data: install-data-am
    418 uninstall: uninstall-am
    419 
    420 install-am: all-am
    421 	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
    422 
    423 installcheck: installcheck-am
    424 install-strip:
    425 	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
    426 	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
    427 	  `test -z '$(STRIP)' || \
    428 	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
    429 mostlyclean-generic:
    430 
    431 clean-generic:
    432 	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
    433 
    434 distclean-generic:
    435 	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
    436 	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
    437 	-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
    438 
    439 maintainer-clean-generic:
    440 	@echo "This command is intended for maintainers to use"
    441 	@echo "it deletes files that may require special tools to rebuild."
    442 	-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
    443 clean: clean-am
    444 
    445 clean-am: clean-generic clean-local mostlyclean-am
    446 
    447 distclean: distclean-am
    448 	-rm -f Makefile
    449 distclean-am: clean-am distclean-generic
    450 
    451 dvi: dvi-am
    452 
    453 dvi-am:
    454 
    455 html: html-am
    456 
    457 html-am:
    458 
    459 info: info-am
    460 
    461 info-am:
    462 
    463 install-data-am:
    464 
    465 install-dvi: install-dvi-am
    466 
    467 install-dvi-am:
    468 
    469 install-exec-am:
    470 
    471 install-html: install-html-am
    472 
    473 install-html-am:
    474 
    475 install-info: install-info-am
    476 
    477 install-info-am:
    478 
    479 install-man:
    480 
    481 install-pdf: install-pdf-am
    482 
    483 install-pdf-am:
    484 
    485 install-ps: install-ps-am
    486 
    487 install-ps-am:
    488 
    489 installcheck-am: installcheck-local
    490 
    491 maintainer-clean: maintainer-clean-am
    492 	-rm -f Makefile
    493 maintainer-clean-am: distclean-am maintainer-clean-generic
    494 
    495 mostlyclean: mostlyclean-am
    496 
    497 mostlyclean-am: mostlyclean-generic
    498 
    499 pdf: pdf-am
    500 
    501 pdf-am:
    502 
    503 ps: ps-am
    504 
    505 ps-am:
    506 
    507 uninstall-am:
    508 
    509 .MAKE: check-am install-am install-strip
    510 
    511 .PHONY: all all-am check check-am check-local clean clean-generic \
    512 	clean-local distclean distclean-generic distdir dvi dvi-am \
    513 	html html-am info info-am install install-am install-data \
    514 	install-data-am install-dvi install-dvi-am install-exec \
    515 	install-exec-am install-html install-html-am install-info \
    516 	install-info-am install-man install-pdf install-pdf-am \
    517 	install-ps install-ps-am install-strip installcheck \
    518 	installcheck-am installcheck-local installdirs \
    519 	maintainer-clean maintainer-clean-generic mostlyclean \
    520 	mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am
    521 
    522 $(AUTOM4TE_CFG): $(top_srcdir)/lib/autom4te.in
    523 	cd $(top_builddir)/lib && $(MAKE) $(AM_MAKEFLAGS) autom4te.cfg
    524 
    525 # When processing the file with diversion disabled, there must be no
    526 # output but comments and empty lines.
    527 # If freezing produces output, something went wrong: a bad `divert',
    528 # or an improper paren etc.
    529 # It may happen that the output does not end with an end of line, hence
    530 # force an end of line when reporting errors.
    531 .m4.m4f:
    532 	$(MY_AUTOM4TE)				\
    533 		--language=$*			\
    534 		--freeze			\
    535 		--output=$@
    536 
    537 # For parallel builds.
    538 $(build_libdir)/m4sugar/version.m4:
    539 	cd $(build_libdir)/m4sugar && $(MAKE) $(AM_MAKEFLAGS) version.m4
    540 
    541 check-forbidden-patterns:
    542 	@if (cd $(srcdir) && \
    543 	    $(GREP) $(forbidden_patterns) $(forbidden_patterns_files)) \
    544 	    >forbidden.log; then \
    545 	  echo "ERROR: forbidden patterns were found:" >&2; \
    546 	  sed "s|^|$*.m4: |" <forbidden.log >&2; \
    547 	  echo >&2; \
    548 	  exit 1; \
    549 	else \
    550 	  rm -f forbidden.log; \
    551 	fi
    552 
    553 # Import the dependencies on Autotest and M4sh.
    554 
    555 # The `:;' works around a redirected compound command bash exit status bug.
    556 package.m4: Makefile
    557 	:;{ \
    558 	  echo '# Signature of the current package.' && \
    559 	  echo 'm4_define([AT_PACKAGE_NAME],      [$(PACKAGE_NAME)])' && \
    560 	  echo 'm4_define([AT_PACKAGE_TARNAME],   [$(PACKAGE_TARNAME)])' && \
    561 	  echo 'm4_define([AT_PACKAGE_VERSION],   [$(PACKAGE_VERSION)])' && \
    562 	  echo 'm4_define([AT_PACKAGE_STRING],    [$(PACKAGE_STRING)])' && \
    563 	  echo 'm4_define([AT_PACKAGE_BUGREPORT], [$(PACKAGE_BUGREPORT)])' && \
    564 	  echo 'm4_define([AT_PACKAGE_URL],       [$(PACKAGE_URL)])'; \
    565 	} > $@-t
    566 	mv $@-t $@
    567 
    568 wrapper.in: $(srcdir)/wrapper.as $(m4sh_m4f_dependencies)
    569 	$(MY_AUTOM4TE) --language=M4sh $(srcdir)/wrapper.as -o $@
    570 
    571 $(wrappers): wrapper.in
    572 	rm -f $@ $@.tmp
    573 	input=wrapper.in; \
    574 	$(edit) wrapper.in >$@.tmp
    575 	chmod +x $@.tmp
    576 	chmod a-w $@.tmp
    577 	mv -f $@.tmp $@
    578 $(TESTSUITE): package.m4 \
    579 	      local.at \
    580 	      $(TESTSUITE_AT) \
    581 	      $(autotest_m4f_dependencies)
    582 	cd $(top_builddir)/lib/autotest && $(MAKE) $(AM_MAKEFLAGS) autotest.m4f
    583 	$(AUTOTEST) -I . -I $(srcdir) suite.at -o $@.tmp
    584 	mv $@.tmp $@
    585 
    586 atconfig: $(top_builddir)/config.status
    587 	cd $(top_builddir) && ./config.status tests/$@
    588 $(distclean_generic): clean-local
    589 
    590 clean-local:
    591 	test ! -f $(TESTSUITE) || $(SHELL) $(TESTSUITE) --clean
    592 	rm -f *.tmp
    593 	rm -f -r autom4te.cache
    594 
    595 check-local: atconfig atlocal $(TESTSUITE)
    596 	$(SHELL) $(TESTSUITE) $(TESTSUITEFLAGS)
    597 
    598 # Run the test suite on the *installed* tree.
    599 installcheck-local: atconfig atlocal $(TESTSUITE)
    600 	$(SHELL) $(TESTSUITE) AUTOTEST_PATH="$(bindir)" $(TESTSUITEFLAGS)
    601 
    602 $(TESTSUITE_GENERATED_AT): mktests.stamp
    603 	@if test -f $@; then :; else \
    604 	  rm -f mktests.stamp; \
    605 	  $(MAKE) $(AM_MAKEFLAGS) mktests.stamp; \
    606 	fi
    607 
    608 mktests.stamp : mktests.sh $(AUTOCONF_FILES)
    609 	@rm -f mktests.tmp
    610 	@touch mktests.tmp
    611 	cd $(srcdir) && ./mktests.sh \
    612 	  `echo " "$(AUTOCONF_FILES) | sed 's, [^ ]*/, ../lib/autoconf/,g'`
    613 	@mv -f mktests.tmp $@
    614 
    615 # These cannot be run in parallel.
    616 maintainer-check:
    617 	$(MAKE) $(AM_MAKEFLAGS) maintainer-check-posix
    618 	$(MAKE) $(AM_MAKEFLAGS) maintainer-check-c++
    619 expr:
    620 	:;{					\
    621 	  echo '#! $(SHELL)';			\
    622 	  echo 'result=`$(EXPR) "$$@"`';	\
    623 	  echo 'estatus=$$?';			\
    624 	  echo 'cat <<EOF';			\
    625 	  echo '$${result:-0}';			\
    626 	  echo 'EOF';				\
    627 	  echo 'exit $$estatus';		\
    628 	} > $@-t
    629 	chmod +x $@-t
    630 	mv $@-t $@
    631 
    632 # Try the test suite with more severe environments.
    633 maintainer-check-posix: expr
    634 	POSIXLY_CORRECT=yes $(MAKE) $(AM_MAKEFLAGS) check
    635 	rm expr
    636 
    637 # Try using G++ as a C compiler.
    638 maintainer-check-c++:
    639 	CC=g++ $(MAKE) $(AM_MAKEFLAGS) check
    640 
    641 # Tell versions [3.59,3.63) of GNU make to not export all variables.
    642 # Otherwise a system limit (for SysV at least) may be exceeded.
    643 .NOEXPORT:
    644