Edit

kc3-lang/automake/tests/Makefile.in

Branch :

  • Show log

    Commit

  • Author : Tom Tromey
    Date : 1998-10-01 00:23:45
    Hash : 72c1e14a
    Message : Some bug fixes, plus a complete rewrite of source file handling: * texinfos.am (install-info-am): Handle case where INFO_DEPS is empty. Reported by Andrew Cagney. (uninstall-info): Likewise. (dist-info): Likewise. * automake.in (handle_texinfo): Error if user tries to generate HTML. * automake.in (do_one_clean_target): Don't push previous clean target if this target is `mostly'. Report from Raja R Harinath. * subdirs.am (mostlyclean-recursive ...): Build local_target, not target. From Raja R Harinath. Completely changed how languages and source files are handled: * automake.in: Call register_language for each language. (lang_c_rewrite): New function. (lang_cxx_rewrite): Likewise. (lang_header_rewrite): Likewise. (lang_yacc_rewrite): Likewise. (lang_yaccxx_rewrite): Likewise. (lang_lex_rewrite): Likewise. (lang_lexxx_rewrite): Likewise. (lang_asm_rewrite): Likewise. (lang_fortran_rewrite): Likewise. (register_language): Likewise. (extension_map): New global. (language_map): Likewise. (resolve_linker): New function. (handle_single_transform_list): Rewrote to use lang_X_rewrite functions. Changed meaning of first argument. (initialize_per_input): Removed seen_any_source. Initialize language_scratch, extension_seen. Removed cxx_extensions, seen_c_source, dir_holds_headers, dir_holds_sources. (handle_source_transform): Don't compute $objpat. Pass $obj directly to handle_single_transform_list. (handle_built_sources): Fixed call to handle_single_transform_list. (lang_c_finish): New function. (lang_cxx_finish): Likewise. (lang_header_finish): Likewise. (lang_yacc_finish): Likewise. (lang_yaccxx_finish): Likewise. (lang_lex_finish): Likewise. (lang_lexxx_finish): Likewise.. (lang_asm_finish): Likewise. (lang_fortran_finish): Likewise. (yacc_lex_finish_helper): Likewise. (libtool_compiler): Likewise. (saw_extension): New function. (handle_lib_objects_cond): Use saw_extension, not old variables. (handle_yacc_lex_cxx): Removed. (finish_languages): New function. (get_object_extension): Don't set dir_holds_sources. (handle_headers): Don't set dir_holds_headers. Instead, call saw_extension. (saw_sources_p): New function. (handle_tags): Use it. (handle_dependencies): Likewise. (cxx_extensions): New function. (handle_dependencies): Use it. (generate_makefile): Call finish_languages, not handle_yacc_lex_cxx.

  • tests/Makefile.in
  • # Makefile.in generated automatically by automake 1.3c from Makefile.am
    
    # Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
    # This Makefile.in is free software; the Free Software Foundation
    # gives unlimited permission to copy and/or distribute it,
    # with or without modifications, as long as this notice is preserved.
    
    # This program is distributed in the hope that it will be useful,
    # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
    # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
    # PARTICULAR PURPOSE.
    
    
    SHELL = @SHELL@
    
    srcdir = @srcdir@
    top_srcdir = @top_srcdir@
    VPATH = @srcdir@
    prefix = @prefix@
    exec_prefix = @exec_prefix@
    
    bindir = @bindir@
    sbindir = @sbindir@
    libexecdir = @libexecdir@
    datadir = @datadir@
    sysconfdir = @sysconfdir@
    sharedstatedir = @sharedstatedir@
    localstatedir = @localstatedir@
    libdir = @libdir@
    infodir = @infodir@
    mandir = @mandir@
    includedir = @includedir@
    oldincludedir = /usr/include
    
    DESTDIR =
    
    pkgdatadir = $(datadir)/@PACKAGE@
    pkglibdir = $(libdir)/@PACKAGE@
    pkgincludedir = $(includedir)/@PACKAGE@
    
    top_builddir = ..
    
    ACLOCAL = @ACLOCAL@
    AUTOCONF = @AUTOCONF@
    AUTOMAKE = @AUTOMAKE@
    AUTOHEADER = @AUTOHEADER@
    
    INSTALL = @INSTALL@
    INSTALL_PROGRAM = @INSTALL_PROGRAM@
    INSTALL_DATA = @INSTALL_DATA@
    INSTALL_SCRIPT = @INSTALL_SCRIPT@
    transform = @program_transform_name@
    
    NORMAL_INSTALL = :
    PRE_INSTALL = :
    POST_INSTALL = :
    NORMAL_UNINSTALL = :
    PRE_UNINSTALL = :
    POST_UNINSTALL = :
    MAKEINFO = @MAKEINFO@
    PACKAGE = @PACKAGE@
    PERL = @PERL@
    TAR = @TAR@
    VERSION = @VERSION@
    
    AUTOMAKE_OPTIONS = gnits
    
    TESTS = mdate.test vtexi.test acoutput.test instexec.test \
    checkall.test acoutnoq.test acouttbs.test libobj.test proginst.test \
    acoutqnl.test confincl.test spelling.test prefix.test badprog.test \
    depend.test exdir.test canon.test installsh.test empty.test \
    rulepat.test insh.test canon2.test target.test extra.test noinst.test \
    instman.test mkinstall.test auxdir.test canon3.test mdate2.test	\
    subdir.test backsl.test package.test number.test insh2.test \
    outdir.test fpinstall.test fpinst2.test texinfo.test dejagnu.test \
    yacc.test mkinst2.test texinfo2.test ansi.test depacl.test \
    depacl2.test error.test colon.test vtexi2.test tags.test comment.test \
    ansi2.test info.test obsolete.test lex.test scripts.test subdir2.test \
    exsource.test canon4.test dup.test defun.test cxxlink.test cxxnoc.test \
    order.test libobj2.test interp.test block.test libobj3.test dup2.test \
    gnits.test interp2.test colneq.test implicit.test spell.test \
    spell2.test confsub.test primary.test primary2.test depend2.test \
    spell3.test comment2.test vpath.test symlink.test discover.test	\
    acinclude.test req.test acsilent.test distdir.test libobj4.test	\
    libobj5.test version.test ranlib.test confvar.test confvar2.test \
    stdlib.test cxxo.test colon2.test colon3.test remake.test output.test \
    output2.test remake2.test output3.test output4.test colneq2.test \
    subst.test defun2.test yaccpp.test texinfo3.test texinfo4.test \
    tagsub.test cxxlibobj.test seenc.test cygwin32.test lisp.test \
    stamph.test ldadd.test version2.test conf2.test cond.test cond2.test \
    xsource.test libobj6.test depend3.test output5.test ammissing.test \
    install.test libobj7.test objc.test cond3.test cxxcpp.test \
    aclocal.test alpha.test whoami.test unused.test condman.test \
    texinfo5.test aclocali.test texinfo6.test condman2.test colon4.test \
    java.test sinclude.test javaprim.test javasubst.test aclocalii.test \
    lex2.test libobj8.test version3.test instdata.test exdir2.test \
    colon5.test library.test syntax.test cond4.test cond5.test recurs.test \
    ansi3.test cond6.test colon6.test texinfo7.test parse.test else.test \
    clean.test recurs2.test config.test colon7.test
    
    EXTRA_DIST = defs $(TESTS)
    mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
    CONFIG_CLEAN_FILES = 
    DIST_COMMON =  ChangeLog Makefile.am Makefile.in
    
    
    DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
    
    GZIP = --best
    all: all-redirect
    .SUFFIXES:
    $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
    	cd $(top_srcdir) && $(AUTOMAKE) --gnits tests/Makefile
    
    Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
    	cd $(top_builddir) \
    	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
    
    tags: TAGS
    TAGS:
    
    
    distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
    
    subdir = tests
    
    distdir: $(DISTFILES)
    	here=`cd $(top_builddir) && pwd`; \
    	top_distdir=`cd $(top_distdir) && pwd`; \
    	distdir=`cd $(distdir) && pwd`; \
    	cd $(top_srcdir) \
    	  && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnits tests/Makefile
    	@for file in $(DISTFILES); do \
    	  d=$(srcdir); \
    	  if test -d $$d/$$file; then \
    	    cp -pr $$/$$file $(distdir)/$$file; \
    	  else \
    	    test -f $(distdir)/$$file \
    	    || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
    	    || cp -p $$d/$$file $(distdir)/$$file; \
    	  fi; \
    	done
    check-TESTS: $(TESTS)
    	@failed=0; all=0; \
    	srcdir=$(srcdir); export srcdir; \
    	for tst in $(TESTS); do \
    	  if test -f $$tst; then dir=.; \
    	  else dir="$(srcdir)"; fi; \
    	  if $(TESTS_ENVIRONMENT) $$dir/$$tst; then \
    	    all=`expr $$all + 1`; \
    	    echo "PASS: $$tst"; \
    	  elif test $$? -ne 77; then \
    	    all=`expr $$all + 1`; \
    	    failed=`expr $$failed + 1`; \
    	    echo "FAIL: $$tst"; \
    	  fi; \
    	done; \
    	if test "$$failed" -eq 0; then \
    	  banner="All $$all tests passed"; \
    	else \
    	  banner="$$failed of $$all tests failed"; \
    	fi; \
    	dashes=`echo "$$banner" | sed s/./=/g`; \
    	echo "$$dashes"; \
    	echo "$$banner"; \
    	echo "$$dashes"; \
    	test "$$failed" -eq 0
    info-am:
    info: info-am
    dvi-am:
    dvi: dvi-am
    check-am: all-am
    	$(MAKE) $(AM_MAKEFLAGS) check-TESTS
    check: check-am
    installcheck-am:
    installcheck: installcheck-am
    install-exec-am:
    install-exec: install-exec-am
    
    install-data-am:
    install-data: install-data-am
    
    install-am: all-am
    	$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
    install: install-am
    uninstall-am:
    uninstall: uninstall-am
    all-am: Makefile
    all-redirect: all-am
    install-strip:
    	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
    installdirs:
    
    
    mostlyclean-generic:
    
    clean-generic:
    
    distclean-generic:
    	-rm -f Makefile $(CONFIG_CLEAN_FILES)
    	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
    
    maintainer-clean-generic:
    mostlyclean-am:  mostlyclean-generic
    
    mostlyclean: mostlyclean-am
    
    clean-am:  clean-generic mostlyclean-am
    
    clean: clean-am
    
    distclean-am:  distclean-generic clean-am distclean-local
    	-rm -f config.status
    
    distclean: distclean-am
    
    maintainer-clean-am:  maintainer-clean-generic distclean-am
    	@echo "This command is intended for maintainers to use;"
    	@echo "it deletes files that may require special tools to rebuild."
    
    maintainer-clean: maintainer-clean-am
    
    .PHONY: tags distdir check-TESTS info-am info dvi-am dvi check check-am \
    installcheck-am installcheck install-exec-am install-exec \
    install-data-am install-data install-am install uninstall-am uninstall \
    all-redirect all-am all installdirs mostlyclean-generic \
    distclean-generic clean-generic maintainer-clean-generic clean \
    mostlyclean distclean maintainer-clean
    
    
    distclean-local:
    	-rm -rf testSubdir
    
    # Tell versions [3.59,3.63) of GNU make to not export all variables.
    # Otherwise a system limit (for SysV at least) may be exceeded.
    .NOEXPORT: