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 50VPATH = @srcdir@ 51pkgdatadir = $(datadir)/@PACKAGE@ 52pkgincludedir = $(includedir)/@PACKAGE@ 53pkglibdir = $(libdir)/@PACKAGE@ 54pkglibexecdir = $(libexecdir)/@PACKAGE@ 55am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 56install_sh_DATA = $(install_sh) -c -m 644 57install_sh_PROGRAM = $(install_sh) -c 58install_sh_SCRIPT = $(install_sh) -c 59INSTALL_HEADER = $(INSTALL_DATA) 60transform = $(program_transform_name) 61NORMAL_INSTALL = : 62PRE_INSTALL = : 63POST_INSTALL = : 64NORMAL_UNINSTALL = : 65PRE_UNINSTALL = : 66POST_UNINSTALL = : 67build_triplet = @build@ 68host_triplet = @host@ 69DIST_COMMON = $(srcdir)/../lib/freeze.mk $(srcdir)/Makefile.am \ 70 $(srcdir)/Makefile.in $(srcdir)/atlocal.in 71subdir = tests 72ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 73am__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 76am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 77 $(ACLOCAL_M4) 78mkinstalldirs = $(install_sh) -d 79CONFIG_CLEAN_FILES = atlocal 80CONFIG_CLEAN_VPATH_FILES = 81SCRIPTS = $(noinst_SCRIPTS) 82SOURCES = 83DIST_SOURCES = 84DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 85ACLOCAL = @ACLOCAL@ 86AMTAR = @AMTAR@ 87AUTOCONF = @AUTOCONF@ 88AUTOHEADER = @AUTOHEADER@ 89AUTOMAKE = @AUTOMAKE@ 90AWK = @AWK@ 91CYGPATH_W = @CYGPATH_W@ 92DEFS = @DEFS@ 93ECHO_C = @ECHO_C@ 94ECHO_N = @ECHO_N@ 95ECHO_T = @ECHO_T@ 96EGREP = @EGREP@ 97EMACS = @EMACS@ 98EMACSLOADPATH = @EMACSLOADPATH@ 99EXPR = @EXPR@ 100GREP = @GREP@ 101HELP2MAN = @HELP2MAN@ 102INSTALL = @INSTALL@ 103INSTALL_DATA = @INSTALL_DATA@ 104INSTALL_PROGRAM = @INSTALL_PROGRAM@ 105INSTALL_SCRIPT = @INSTALL_SCRIPT@ 106INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ 107LIBOBJS = @LIBOBJS@ 108LIBS = @LIBS@ 109LTLIBOBJS = @LTLIBOBJS@ 110M4 = @M4@ 111M4_DEBUGFILE = @M4_DEBUGFILE@ 112M4_GNU = @M4_GNU@ 113MAKEINFO = @MAKEINFO@ 114MKDIR_P = @MKDIR_P@ 115PACKAGE = @PACKAGE@ 116PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ 117PACKAGE_NAME = @PACKAGE_NAME@ 118PACKAGE_STRING = @PACKAGE_STRING@ 119PACKAGE_TARNAME = @PACKAGE_TARNAME@ 120PACKAGE_URL = @PACKAGE_URL@ 121PACKAGE_VERSION = @PACKAGE_VERSION@ 122PATH_SEPARATOR = @PATH_SEPARATOR@ 123PERL = @PERL@ 124PERL_FLOCK = @PERL_FLOCK@ 125SED = @SED@ 126SET_MAKE = @SET_MAKE@ 127SHELL = @SHELL@ 128STRIP = @STRIP@ 129TEST_EMACS = @TEST_EMACS@ 130VERSION = @VERSION@ 131abs_builddir = @abs_builddir@ 132abs_srcdir = @abs_srcdir@ 133abs_top_builddir = @abs_top_builddir@ 134abs_top_srcdir = @abs_top_srcdir@ 135ac_cv_dir_trailing_space = @ac_cv_dir_trailing_space@ 136ac_cv_sh_n_works = @ac_cv_sh_n_works@ 137ac_cv_unsupported_fs_chars = @ac_cv_unsupported_fs_chars@ 138am__leading_dot = @am__leading_dot@ 139am__tar = @am__tar@ 140am__untar = @am__untar@ 141bindir = @bindir@ 142build = @build@ 143build_alias = @build_alias@ 144build_cpu = @build_cpu@ 145build_os = @build_os@ 146build_vendor = @build_vendor@ 147builddir = @builddir@ 148datadir = @datadir@ 149datarootdir = @datarootdir@ 150docdir = @docdir@ 151dvidir = @dvidir@ 152exec_prefix = @exec_prefix@ 153host = @host@ 154host_alias = @host_alias@ 155host_cpu = @host_cpu@ 156host_os = @host_os@ 157host_vendor = @host_vendor@ 158htmldir = @htmldir@ 159includedir = @includedir@ 160infodir = @infodir@ 161install_sh = @install_sh@ 162libdir = @libdir@ 163libexecdir = @libexecdir@ 164lispdir = @lispdir@ 165localedir = @localedir@ 166localstatedir = @localstatedir@ 167mandir = @mandir@ 168mkdir_p = @mkdir_p@ 169oldincludedir = @oldincludedir@ 170pdfdir = @pdfdir@ 171prefix = @prefix@ 172program_transform_name = @program_transform_name@ 173psdir = @psdir@ 174sbindir = @sbindir@ 175sharedstatedir = @sharedstatedir@ 176srcdir = @srcdir@ 177sysconfdir = @sysconfdir@ 178target_alias = @target_alias@ 179top_build_prefix = @top_build_prefix@ 180top_builddir = @top_builddir@ 181top_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. 187EXTRA_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. 191noinst_SCRIPTS = $(wrappers) 192DISTCLEANFILES = atconfig atlocal $(TESTSUITE) 193MAINTAINERCLEANFILES = Makefile.in $(TESTSUITE_GENERATED_AT) \ 194 mktests.stamp 195SUFFIXES = .m4 .m4f 196AUTOM4TE_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. 202MY_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... 211src_libdir = $(top_srcdir)/lib 212build_libdir = $(top_builddir)/lib 213m4f_dependencies = $(top_builddir)/bin/autom4te $(AUTOM4TE_CFG) 214m4sugar_m4f_dependencies = \ 215 $(m4f_dependencies) \ 216 $(src_libdir)/m4sugar/m4sugar.m4 \ 217 $(build_libdir)/m4sugar/version.m4 218 219m4sh_m4f_dependencies = \ 220 $(m4sugar_m4f_dependencies) \ 221 $(src_libdir)/m4sugar/m4sh.m4 222 223autotest_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 229autoconf_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 251ETAGS_FOR_M4 = \ 252 --lang=none \ 253 --regex='/\(m4_define\|define\)(\[\([^]]*\)\]/\2/' 254 255ETAGS_FOR_M4SUGAR = \ 256 $(ETAGS_FOR_M4) \ 257 --regex='/m4_defun(\[\([^]]*\)\]/\1/' 258 259ETAGS_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 264wrappers = autoconf autoheader autom4te autoreconf autoscan autoupdate ifnames 265 266# The hairy heredoc is more robust than using echo. 267CLEANFILES = wrapper.in $(wrappers) package.m4 mktests.tmp expr 268edit = 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 274TESTSUITE_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 290TESTSUITE_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 299TESTSUITE_AT = $(TESTSUITE_GENERATED_AT) $(TESTSUITE_HAND_AT) 300TESTSUITE = ./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). 305AUTOTEST = $(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. 315distclean_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. 320autoconfdir = $(top_srcdir)/lib/autoconf 321AUTOCONF_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 337all: 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 354Makefile: $(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): 371atlocal: $(top_builddir)/config.status $(srcdir)/atlocal.in 372 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ 373tags: TAGS 374TAGS: 375 376ctags: CTAGS 377CTAGS: 378 379 380distdir: $(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 410check-am: all-am 411 $(MAKE) $(AM_MAKEFLAGS) check-local 412check: check-am 413all-am: Makefile $(SCRIPTS) 414installdirs: 415install: install-am 416install-exec: install-exec-am 417install-data: install-data-am 418uninstall: uninstall-am 419 420install-am: all-am 421 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 422 423installcheck: installcheck-am 424install-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 429mostlyclean-generic: 430 431clean-generic: 432 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) 433 434distclean-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 439maintainer-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) 443clean: clean-am 444 445clean-am: clean-generic clean-local mostlyclean-am 446 447distclean: distclean-am 448 -rm -f Makefile 449distclean-am: clean-am distclean-generic 450 451dvi: dvi-am 452 453dvi-am: 454 455html: html-am 456 457html-am: 458 459info: info-am 460 461info-am: 462 463install-data-am: 464 465install-dvi: install-dvi-am 466 467install-dvi-am: 468 469install-exec-am: 470 471install-html: install-html-am 472 473install-html-am: 474 475install-info: install-info-am 476 477install-info-am: 478 479install-man: 480 481install-pdf: install-pdf-am 482 483install-pdf-am: 484 485install-ps: install-ps-am 486 487install-ps-am: 488 489installcheck-am: installcheck-local 490 491maintainer-clean: maintainer-clean-am 492 -rm -f Makefile 493maintainer-clean-am: distclean-am maintainer-clean-generic 494 495mostlyclean: mostlyclean-am 496 497mostlyclean-am: mostlyclean-generic 498 499pdf: pdf-am 500 501pdf-am: 502 503ps: ps-am 504 505ps-am: 506 507uninstall-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 541check-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. 556package.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 568wrapper.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 586atconfig: $(top_builddir)/config.status 587 cd $(top_builddir) && ./config.status tests/$@ 588$(distclean_generic): clean-local 589 590clean-local: 591 test ! -f $(TESTSUITE) || $(SHELL) $(TESTSUITE) --clean 592 rm -f *.tmp 593 rm -f -r autom4te.cache 594 595check-local: atconfig atlocal $(TESTSUITE) 596 $(SHELL) $(TESTSUITE) $(TESTSUITEFLAGS) 597 598# Run the test suite on the *installed* tree. 599installcheck-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 608mktests.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. 616maintainer-check: 617 $(MAKE) $(AM_MAKEFLAGS) maintainer-check-posix 618 $(MAKE) $(AM_MAKEFLAGS) maintainer-check-c++ 619expr: 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. 633maintainer-check-posix: expr 634 POSIXLY_CORRECT=yes $(MAKE) $(AM_MAKEFLAGS) check 635 rm expr 636 637# Try using G++ as a C compiler. 638maintainer-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