From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1521) id 892183858D1E; Thu, 10 Feb 2022 01:22:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 892183858D1E Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Michael Frysinger To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] libgloss: convert top level to automake X-Act-Checkin: newlib-cygwin X-Git-Author: Mike Frysinger X-Git-Refname: refs/heads/master X-Git-Oldrev: a49c5fcdb5423983e44567a1c23145fd9fb6e527 X-Git-Newrev: 7517551007edda5b72cdab774abe0dcce835a9b9 Message-Id: <20220210012202.892183858D1E@sourceware.org> Date: Thu, 10 Feb 2022 01:22:02 +0000 (GMT) X-BeenThere: newlib-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib GIT logs List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Feb 2022 01:22:02 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dnewlib-cygwin.git;h=3D7517551007e= dda5b72cdab774abe0dcce835a9b9 commit 7517551007edda5b72cdab774abe0dcce835a9b9 Author: Mike Frysinger Date: Mon Jan 17 04:12:11 2022 -0500 libgloss: convert top level to automake =20 The top level dir isn't doing anything interesting, just recursing into subdirs. So this change isn't terribly exciting. But it sets us up for doing more fun stuff in follow up commits. =20 [TODO] Check test targets Diff: --- libgloss/Makefile.am | 38 ++ libgloss/Makefile.in | 842 ++++++++++++++++++++++++++++++++++++-----= ---- libgloss/config/default.mh | 3 + libgloss/configure | 39 +++ libgloss/configure.ac | 3 +- 5 files changed, 755 insertions(+), 170 deletions(-) diff --git a/libgloss/Makefile.am b/libgloss/Makefile.am new file mode 100644 index 000000000..0779da76d --- /dev/null +++ b/libgloss/Makefile.am @@ -0,0 +1,38 @@ +## Top level makefile for libgloss + +ACLOCAL_AMFLAGS =3D -I . -I .. -I ../config + +# Variables that will accumulate in subdirs. +PHONY =3D + +SUBDIRS =3D @subdirs@ . + +tooldir =3D $(exec_prefix)/$(target_alias) + +## These are roughly topologically sorted in order to make porting more +## streamlined. +FLAGS_TO_PASS =3D \ + "CC=3D$(CC)" \ + "CFLAGS=3D$(CFLAGS)" \ + "CFLAGS_FOR_TARGET=3D$(CFLAGS_FOR_TARGET)" \ + "CCASFLAGS=3D$(CCASFLAGS)" \ + "AR=3D$(AR)" \ + "RANLIB=3D$(RANLIB)" \ + "AR_FLAGS=3D$(AR_FLAGS)" \ + "MAKEINFO=3D$(MAKEINFO)" \ + "AS=3D$(AS)" \ + "LD=3D$(LD)" \ + "CROSS_CFLAGS=3D$(CROSS_CFLAGS)" \ + "TARGET_CFLAGS=3D$(TARGET_CFLAGS)" \ + "exec_prefix=3D$(exec_prefix)" \ + "prefix=3D$(prefix)" \ + "tooldir=3D$(tooldir)" \ + "infodir=3D$(infodir)" \ + "libdir=3D$(libdir)" \ + "top_toollibdir=3D$(toollibdir)" \ + "INSTALL=3D$(INSTALL)" \ + "INSTALL_PROGRAM=3D$(INSTALL_PROGRAM)" \ + "INSTALL_DATA=3D$(INSTALL_DATA)" \ + "DESTDIR=3D$(DESTDIR)" + +include $(top_srcdir)/../multilib.am diff --git a/libgloss/Makefile.in b/libgloss/Makefile.in index 2f9964050..b5579104d 100644 --- a/libgloss/Makefile.in +++ b/libgloss/Makefile.in @@ -1,74 +1,288 @@ -# Top level makefile for libgloss -# -# Copyright (c) 1995, 1996 Cygnus Support -# -# The authors hereby grant permission to use, copy, modify, distribute, -# and license this software and its documentation for any purpose, provided -# that existing copyright notices are retained in all copies and that this -# notice is included verbatim in any distributions. No written agreement, -# license, or royalty fee is required for any of the authorized uses. -# Modifications to this software may be copyrighted by their authors -# and need not follow the licensing terms described here, provided that -# the new terms are clearly indicated on the first page of each file where -# they apply. -# - -DESTDIR =3D -VPATH =3D @srcdir@ -srcdir =3D @srcdir@ -objdir =3D . -srcroot =3D $(srcdir)/../.. -objroot =3D $(objdir)/../.. +# Makefile.in generated by automake 1.15.1 from Makefile.am. +# @configure_input@ =20 -prefix =3D @prefix@ -exec_prefix =3D @exec_prefix@ +# Copyright (C) 1994-2017 Free Software Foundation, Inc. =20 -host_alias =3D @host_alias@ -target_alias =3D @target_alias@ +# 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. =20 -bindir =3D @bindir@ -libdir =3D @libdir@ -tooldir =3D $(exec_prefix)/$(target_alias) - -TOP =3D . -SRCTOP =3D . - -# Multilib support variables. -# TOP is used instead of MULTI{BUILD,SRC}TOP. -MULTISRCTOP =3D -MULTIBUILDTOP =3D -MULTIDIRS =3D -MULTISUBDIR =3D -MULTIDO =3D true -MULTICLEAN =3D true +# 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. =20 +@SET_MAKE@ +VPATH =3D @srcdir@ +am__is_gnu_make =3D { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option =3D \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=3Dno; \ + sane_makeflags=3D$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=3D$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=3D\\; \ + sane_makeflags=3D`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=3Dno; \ + strip_trailopt () \ + { \ + flg=3D`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next =3D yes && { skip_next=3Dno; continue; }; \ + case $$flg in \ + *=3D*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=3Dyes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=3Dyes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=3Dyes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=3Dyes;; \ + -[JT]) skip_next=3Dyes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=3Dyes; break;; \ + esac; \ + done; \ + test $$has_opt =3D yes +am__make_dryrun =3D (target_option=3Dn; $(am__make_running_with_option)) +am__make_keepgoing =3D (target_option=3Dk; $(am__make_running_with_option)) +pkgdatadir =3D $(datadir)/@PACKAGE@ +pkgincludedir =3D $(includedir)/@PACKAGE@ +pkglibdir =3D $(libdir)/@PACKAGE@ +pkglibexecdir =3D $(libexecdir)/@PACKAGE@ +am__cd =3D CDPATH=3D"$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA =3D $(install_sh) -c -m 644 +install_sh_PROGRAM =3D $(install_sh) -c +install_sh_SCRIPT =3D $(install_sh) -c +INSTALL_HEADER =3D $(INSTALL_DATA) +transform =3D $(program_transform_name) +NORMAL_INSTALL =3D : +PRE_INSTALL =3D : +POST_INSTALL =3D : +NORMAL_UNINSTALL =3D : +PRE_UNINSTALL =3D : +POST_UNINSTALL =3D : +build_triplet =3D @build@ +host_triplet =3D @host@ +target_triplet =3D @target@ +subdir =3D . +ACLOCAL_M4 =3D $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps =3D $(top_srcdir)/../config/depstand.m4 \ + $(top_srcdir)/../config/lead-dot.m4 \ + $(top_srcdir)/../config/multi.m4 \ + $(top_srcdir)/../config/override.m4 $(top_srcdir)/acinclude.m4 \ + $(top_srcdir)/libnosys/acinclude.m4 $(top_srcdir)/configure.ac +am__configure_deps =3D $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +DIST_COMMON =3D $(srcdir)/Makefile.am $(top_srcdir)/configure \ + $(am__configure_deps) +am__CONFIG_DISTCLEAN_FILES =3D config.status config.cache config.log \ + configure.lineno config.status.lineno +mkinstalldirs =3D $(SHELL) $(top_srcdir)/../mkinstalldirs +CONFIG_HEADER =3D config.h +CONFIG_CLEAN_FILES =3D doc/Makefile arc/Makefile epiphany/Makefile \ + m32r/Makefile m68hc11/Makefile nds32/Makefile pa/Makefile \ + i960/Makefile sparc_leon/Makefile riscv/Makefile \ + rs6000/Makefile bfin/Makefile cr16/Makefile cris/Makefile \ + crx/Makefile d30v/Makefile fr30/Makefile frv/Makefile \ + ft32/Makefile lm32/Makefile mep/Makefile microblaze/Makefile \ + mt/Makefile v850/Makefile visium/Makefile xc16x/Makefile \ + xstormy16/Makefile m32c/Makefile msp430/Makefile rl78/Makefile \ + rx/Makefile spu/Makefile tic6x/Makefile iq2000/Makefile \ + or1k/Makefile pru/Makefile nios2/Makefile libnosys/Makefile +CONFIG_CLEAN_VPATH_FILES =3D +AM_V_P =3D $(am__v_P_@AM_V@) +am__v_P_ =3D $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 =3D false +am__v_P_1 =3D : +AM_V_GEN =3D $(am__v_GEN_@AM_V@) +am__v_GEN_ =3D $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 =3D @echo " GEN " $@; +am__v_GEN_1 =3D=20 +AM_V_at =3D $(am__v_at_@AM_V@) +am__v_at_ =3D $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 =3D @ +am__v_at_1 =3D=20 +SOURCES =3D +RECURSIVE_TARGETS =3D all-recursive check-recursive cscopelist-recursive \ + ctags-recursive dvi-recursive html-recursive info-recursive \ + install-data-recursive install-dvi-recursive \ + install-exec-recursive install-html-recursive \ + install-info-recursive install-pdf-recursive \ + install-ps-recursive install-recursive installcheck-recursive \ + installdirs-recursive pdf-recursive ps-recursive \ + tags-recursive uninstall-recursive +am__can_run_installinfo =3D \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +RECURSIVE_CLEAN_TARGETS =3D mostlyclean-recursive clean-recursive \ + distclean-recursive maintainer-clean-recursive +am__recursive_targets =3D \ + $(RECURSIVE_TARGETS) \ + $(RECURSIVE_CLEAN_TARGETS) \ + $(am__extra_recursive_targets) +AM_RECURSIVE_TARGETS =3D $(am__recursive_targets:-recursive=3D) TAGS CTAGS= \ + cscope +am__tagged_files =3D $(HEADERS) $(SOURCES) $(TAGS_FILES) \ + $(LISP)config.h.in +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input =3D $(AWK) '\ + BEGIN { nonempty =3D 0; } \ + { items[$$0] =3D 1; nonempty =3D 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files =3D \ + list=3D'$(am__tagged_files)'; \ + unique=3D`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` +ETAGS =3D etags +CTAGS =3D ctags +CSCOPE =3D cscope +DIST_SUBDIRS =3D $(SUBDIRS) +ACLOCAL =3D @ACLOCAL@ +AMTAR =3D @AMTAR@ +AM_DEFAULT_VERBOSITY =3D @AM_DEFAULT_VERBOSITY@ +AR =3D @AR@ +AS =3D @AS@ +AUTOCONF =3D @AUTOCONF@ +AUTOHEADER =3D @AUTOHEADER@ +AUTOMAKE =3D @AUTOMAKE@ +AWK =3D @AWK@ +CC =3D @CC@ +CCAS =3D @CCAS@ +CCASFLAGS =3D @CCASFLAGS@ +CCDEPMODE =3D @CCDEPMODE@ +CFLAGS =3D @CFLAGS@ +CPP =3D @CPP@ +CPPFLAGS =3D @CPPFLAGS@ +CYGPATH_W =3D @CYGPATH_W@ +DEFS =3D @DEFS@ +DEPDIR =3D @DEPDIR@ +ECHO_C =3D @ECHO_C@ +ECHO_N =3D @ECHO_N@ +ECHO_T =3D @ECHO_T@ +EXEEXT =3D @EXEEXT@ INSTALL =3D @INSTALL@ -INSTALL_PROGRAM =3D @INSTALL_PROGRAM@ INSTALL_DATA =3D @INSTALL_DATA@ - -SHELL =3D /bin/sh - -CC =3D @CC@ - -AS =3D @AS@ -AR =3D @AR@ +INSTALL_PROGRAM =3D @INSTALL_PROGRAM@ +INSTALL_SCRIPT =3D @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM =3D @INSTALL_STRIP_PROGRAM@ LD =3D @LD@ +LDFLAGS =3D @LDFLAGS@ +LIBOBJS =3D @LIBOBJS@ +LIBS =3D @LIBS@ +LTLIBOBJS =3D @LTLIBOBJS@ +MAKEINFO =3D @MAKEINFO@ +MKDIR_P =3D @MKDIR_P@ +OBJEXT =3D @OBJEXT@ +PACKAGE =3D @PACKAGE@ +PACKAGE_BUGREPORT =3D @PACKAGE_BUGREPORT@ +PACKAGE_NAME =3D @PACKAGE_NAME@ +PACKAGE_STRING =3D @PACKAGE_STRING@ +PACKAGE_TARNAME =3D @PACKAGE_TARNAME@ +PACKAGE_URL =3D @PACKAGE_URL@ +PACKAGE_VERSION =3D @PACKAGE_VERSION@ +PATH_SEPARATOR =3D @PATH_SEPARATOR@ RANLIB =3D @RANLIB@ +SET_MAKE =3D @SET_MAKE@ +SHELL =3D @SHELL@ +STRIP =3D @STRIP@ +VERSION =3D @VERSION@ +abs_builddir =3D @abs_builddir@ +abs_srcdir =3D @abs_srcdir@ +abs_top_builddir =3D @abs_top_builddir@ +abs_top_srcdir =3D @abs_top_srcdir@ +ac_ct_CC =3D @ac_ct_CC@ +am__include =3D @am__include@ +am__leading_dot =3D @am__leading_dot@ +am__quote =3D @am__quote@ +am__tar =3D @am__tar@ +am__untar =3D @am__untar@ +bindir =3D @bindir@ +build =3D @build@ +build_alias =3D @build_alias@ +build_cpu =3D @build_cpu@ +build_os =3D @build_os@ +build_vendor =3D @build_vendor@ +builddir =3D @builddir@ +datadir =3D @datadir@ +datarootdir =3D @datarootdir@ +docdir =3D @docdir@ +dvidir =3D @dvidir@ +exec_prefix =3D @exec_prefix@ +host =3D @host@ +host_alias =3D @host_alias@ +host_cpu =3D @host_cpu@ +host_makefile_frag_path =3D @host_makefile_frag_path@ +host_os =3D @host_os@ +host_vendor =3D @host_vendor@ +htmldir =3D @htmldir@ +includedir =3D @includedir@ +infodir =3D @infodir@ +install_sh =3D @install_sh@ +libdir =3D @libdir@ +libexecdir =3D @libexecdir@ +localedir =3D @localedir@ +localstatedir =3D @localstatedir@ +mandir =3D @mandir@ +mkdir_p =3D @mkdir_p@ +multi_basedir =3D @multi_basedir@ +oldincludedir =3D @oldincludedir@ +pdfdir =3D @pdfdir@ +prefix =3D @prefix@ +program_transform_name =3D @program_transform_name@ +psdir =3D @psdir@ +sbindir =3D @sbindir@ +sharedstatedir =3D @sharedstatedir@ +srcdir =3D @srcdir@ +subdirs =3D @subdirs@ +sysconfdir =3D @sysconfdir@ +target =3D @target@ +target_alias =3D @target_alias@ +target_cpu =3D @target_cpu@ +target_makefile_frag_path =3D @target_makefile_frag_path@ +target_os =3D @target_os@ +target_vendor =3D @target_vendor@ +top_build_prefix =3D @top_build_prefix@ +top_builddir =3D @top_builddir@ +top_srcdir =3D @top_srcdir@ +ACLOCAL_AMFLAGS =3D -I . -I .. -I ../config =20 -AR_FLAGS =3D qv -BISON =3D bison -MAKEINFO =3D makeinfo - -SUBDIRS =3D @subdirs@ - -.NOEXPORT: -MAKEOVERRIDES=3D - -# Host specific makefile fragment comes in here. -@host_makefile_frag@ - -# These are roughly topologically sorted in order to make porting more -# streamlined. +# Variables that will accumulate in subdirs. +PHONY =3D=20 +SUBDIRS =3D @subdirs@ . +tooldir =3D $(exec_prefix)/$(target_alias) FLAGS_TO_PASS =3D \ "CC=3D$(CC)" \ "CFLAGS=3D$(CFLAGS)" \ @@ -93,110 +307,400 @@ FLAGS_TO_PASS =3D \ "INSTALL_DATA=3D$(INSTALL_DATA)" \ "DESTDIR=3D$(DESTDIR)" =20 -all: stmp-bsp force - +@rootpre=3D`pwd`/; export rootpre; \ - srcrootpre=3D`cd $(srcdir); pwd`/; export srcrootpre; \ - $(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=3Dall - -stmp-bsp: force - @rootpre=3D`pwd`/; export rootpre; \ - srcrootpre=3D`cd $(srcdir); pwd`/; export srcrootpre; \ - for dir in .. ${SUBDIRS}; do \ - if [ x$$dir !=3D x.. ]; then \ - if [ -d $$dir ]; then \ - (cd $$dir; $(MAKE) $(FLAGS_TO_PASS)) || exit $$?; \ - else true; fi; \ - else true; fi; \ - done - -install: force - @rootpre=3D`pwd`/; export rootpre; \ - srcrootpre=3D`cd $(srcdir); pwd`/; export srcrootpre; \ - for dir in .. ${SUBDIRS}; do \ - if [ x$$dir !=3D x.. ]; then \ - if [ -d $$dir ]; then \ - (cd $$dir; $(MAKE) $(FLAGS_TO_PASS) install) || exit $$?; \ - else true; fi; \ - else true; fi; \ - done - @rootpre=3D`pwd`/; export rootpre; \ - srcrootpre=3D`cd $(srcdir); pwd`/; export srcrootpre; \ - $(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=3Dinstall - -test: force - @rootpre=3D`pwd`/; export rootpre; \ - srcrootpre=3D`cd $(srcdir); pwd`/; export srcrootpre; \ - for dir in .. ${SUBDIRS}; do \ - if [ x$$dir !=3D x.. ]; then \ - if [ -d $$dir ]; then \ - (cd $$dir; $(MAKE) $(FLAGS_TO_PASS) test); \ - else true; fi; \ - else true; fi; \ - done - @rootpre=3D`pwd`/; export rootpre; \ - srcrootpre=3D`cd $(srcdir); pwd`/; export srcrootpre; \ - $(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=3Dtest - -clean-here: - -rm -f *~ core *.o a.out xgdb *.x - -clean mostlyclean: clean-here - rootpre=3D`pwd`/; export rootpre; \ - srcrootpre=3D`cd $(srcdir); pwd`/; export srcrootpre; \ - $(MAKE) DO=3D$@ DODIRS=3D"$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do; \ - $(MULTICLEAN) multi-clean DO=3D$@ - -distclean maintainer-clean realclean: clean-here - -rm -f Makefile config.cache config.log config.status=20 - -rm -f *-init.exp site.* - -rm -fr *.log summary detail *.sum - rootpre=3D`pwd`/; export rootpre; \ - srcrootpre=3D`cd $(srcdir); pwd`/; export srcrootpre; \ - $(MAKE) DO=3D$@ DODIRS=3D"$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do; \ - $(MULTICLEAN) multi-clean DO=3D$@ - -.PHONY: info install-info clean-info html pdf -subdir_do: - @rootpre=3D`pwd`/; export rootpre; \ - srcrootpre=3D`cd $(srcdir); pwd`/; export srcrootpre; \ - for i in .. $(DODIRS); do \ - if [ x$$i !=3D x.. ]; then \ - if [ -f ./$$i/Makefile ]; then \ - if (cd ./$$i; $(MAKE) $(FLAGS_TO_PASS) $(DO)); then \ - true; \ - else \ - exit 1; \ - fi; \ - else true; fi; \ - else true; fi; \ - done - -info dvi html pdf docs: - rootpre=3D`pwd`/; export rootpre; \ - srcrootpre=3D`cd $(srcdir); pwd`/; export srcrootpre; \ - $(MAKE) DO=3D$@ DODIRS=3Ddoc $(FLAGS_TO_PASS) subdir_do - -install-info: - rootpre=3D`pwd`/; export rootpre; \ - srcrootpre=3D`cd $(srcdir); pwd`/; export srcrootpre; \ - $(MAKE) DO=3D$@ DODIRS=3Ddoc $(FLAGS_TO_PASS) subdir_do - -install-html: - rootpre=3D`pwd`/; export rootpre; \ - srcrootpre=3D`cd $(srcdir); pwd`/; export srcrootpre; \ - $(MAKE) DO=3D$@ DODIRS=3Ddoc $(FLAGS_TO_PASS) subdir_do - -install-pdf: - rootpre=3D`pwd`/; export rootpre; \ - srcrootpre=3D`cd $(srcdir); pwd`/; export srcrootpre; \ - $(MAKE) DO=3D$@ DODIRS=3Ddoc $(FLAGS_TO_PASS) subdir_do - -clean-info: - -force: - -Makefile: Makefile.in config.status @host_makefile_frag_path@ - $(SHELL) config.status - -config.status: configure - $(SHELL) config.status --recheck +MULTISRCTOP =3D=20 +MULTIBUILDTOP =3D=20 +MULTIDIRS =3D=20 +MULTISUBDIR =3D=20 +MULTIDO =3D true +MULTICLEAN =3D true +all: config.h + $(MAKE) $(AM_MAKEFLAGS) all-recursive + +.SUFFIXES: +am--refresh: Makefile + @: +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/../multilib.am= $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \ + $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --foreign Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + echo ' $(SHELL) ./config.status'; \ + $(SHELL) ./config.status;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfil= es_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_mayb= e);; \ + esac; +$(top_srcdir)/../multilib.am $(am__empty): + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEP= ENDENCIES) + $(SHELL) ./config.status --recheck + +$(top_srcdir)/configure: $(am__configure_deps) + $(am__cd) $(srcdir) && $(AUTOCONF) +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) +$(am__aclocal_m4_deps): + +config.h: stamp-h1 + @test -f $@ || rm -f stamp-h1 + @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1 + +stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status + @rm -f stamp-h1 + cd $(top_builddir) && $(SHELL) ./config.status config.h +$(srcdir)/config.h.in: $(am__configure_deps)=20 + ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) + rm -f stamp-h1 + touch $@ + +distclean-hdr: + -rm -f config.h stamp-h1 +doc/Makefile: $(top_builddir)/config.status $(top_srcdir)/doc/Makefile.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +arc/Makefile: $(top_builddir)/config.status $(top_srcdir)/arc/Makefile.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +epiphany/Makefile: $(top_builddir)/config.status $(top_srcdir)/epiphany/Ma= kefile.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +m32r/Makefile: $(top_builddir)/config.status $(top_srcdir)/m32r/Makefile.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +m68hc11/Makefile: $(top_builddir)/config.status $(top_srcdir)/m68hc11/Make= file.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +nds32/Makefile: $(top_builddir)/config.status $(top_srcdir)/nds32/Makefile= .in + cd $(top_builddir) && $(SHELL) ./config.status $@ +pa/Makefile: $(top_builddir)/config.status $(top_srcdir)/pa/Makefile.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +i960/Makefile: $(top_builddir)/config.status $(top_srcdir)/i960/Makefile.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +sparc_leon/Makefile: $(top_builddir)/config.status $(top_srcdir)/sparc_leo= n/Makefile.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +riscv/Makefile: $(top_builddir)/config.status $(top_srcdir)/riscv/Makefile= .in + cd $(top_builddir) && $(SHELL) ./config.status $@ +rs6000/Makefile: $(top_builddir)/config.status $(top_srcdir)/rs6000/Makefi= le.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +bfin/Makefile: $(top_builddir)/config.status $(top_srcdir)/bfin/Makefile.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +cr16/Makefile: $(top_builddir)/config.status $(top_srcdir)/cr16/Makefile.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +cris/Makefile: $(top_builddir)/config.status $(top_srcdir)/cris/Makefile.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +crx/Makefile: $(top_builddir)/config.status $(top_srcdir)/crx/Makefile.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +d30v/Makefile: $(top_builddir)/config.status $(top_srcdir)/d30v/Makefile.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +fr30/Makefile: $(top_builddir)/config.status $(top_srcdir)/fr30/Makefile.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +frv/Makefile: $(top_builddir)/config.status $(top_srcdir)/frv/Makefile.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +ft32/Makefile: $(top_builddir)/config.status $(top_srcdir)/ft32/Makefile.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +lm32/Makefile: $(top_builddir)/config.status $(top_srcdir)/lm32/Makefile.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +mep/Makefile: $(top_builddir)/config.status $(top_srcdir)/mep/Makefile.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +microblaze/Makefile: $(top_builddir)/config.status $(top_srcdir)/microblaz= e/Makefile.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +mt/Makefile: $(top_builddir)/config.status $(top_srcdir)/mt/Makefile.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +v850/Makefile: $(top_builddir)/config.status $(top_srcdir)/v850/Makefile.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +visium/Makefile: $(top_builddir)/config.status $(top_srcdir)/visium/Makefi= le.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +xc16x/Makefile: $(top_builddir)/config.status $(top_srcdir)/xc16x/Makefile= .in + cd $(top_builddir) && $(SHELL) ./config.status $@ +xstormy16/Makefile: $(top_builddir)/config.status $(top_srcdir)/xstormy16/= Makefile.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +m32c/Makefile: $(top_builddir)/config.status $(top_srcdir)/m32c/Makefile.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +msp430/Makefile: $(top_builddir)/config.status $(top_srcdir)/msp430/Makefi= le.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +rl78/Makefile: $(top_builddir)/config.status $(top_srcdir)/rl78/Makefile.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +rx/Makefile: $(top_builddir)/config.status $(top_srcdir)/rx/Makefile.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +spu/Makefile: $(top_builddir)/config.status $(top_srcdir)/spu/Makefile.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +tic6x/Makefile: $(top_builddir)/config.status $(top_srcdir)/tic6x/Makefile= .in + cd $(top_builddir) && $(SHELL) ./config.status $@ +iq2000/Makefile: $(top_builddir)/config.status $(top_srcdir)/iq2000/Makefi= le.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +or1k/Makefile: $(top_builddir)/config.status $(top_srcdir)/or1k/Makefile.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +pru/Makefile: $(top_builddir)/config.status $(top_srcdir)/pru/Makefile.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +nios2/Makefile: $(top_builddir)/config.status $(top_srcdir)/nios2/Makefile= .in + cd $(top_builddir) && $(SHELL) ./config.status $@ +libnosys/Makefile: $(top_builddir)/config.status $(top_srcdir)/libnosys/Ma= kefile.in + cd $(top_builddir) && $(SHELL) ./config.status $@ + +# This directory's subdirectories are mostly independent; you can cd +# into them and run 'make' without going through this Makefile. +# To change the values of 'make' variables: instead of editing Makefiles, +# (1) if the variable is set in 'config.status', edit 'config.status' +# (which will cause the Makefiles to be regenerated when you run 'make= '); +# (2) otherwise, pass the desired values on the 'make' command line. +$(am__recursive_targets): + @fail=3D; \ + if $(am__make_keepgoing); then \ + failcom=3D'fail=3Dyes'; \ + else \ + failcom=3D'exit 1'; \ + fi; \ + dot_seen=3Dno; \ + target=3D`echo $@ | sed s/-recursive//`; \ + case "$@" in \ + distclean-* | maintainer-clean-*) list=3D'$(DIST_SUBDIRS)' ;; \ + *) list=3D'$(SUBDIRS)' ;; \ + esac; \ + for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" =3D "."; then \ + dot_seen=3Dyes; \ + local_target=3D"$$target-am"; \ + else \ + local_target=3D"$$target"; \ + fi; \ + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done; \ + if test "$$dot_seen" =3D "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-recursive +TAGS: tags + +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + set x; \ + here=3D`pwd`; \ + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ + include_option=3D--etags-include; \ + empty_fix=3D.; \ + else \ + include_option=3D--include; \ + empty_fix=3D; \ + fi; \ + list=3D'$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" =3D .; then :; else \ + test ! -f $$subdir/TAGS || \ + set "$$@" "$$include_option=3D$$here/$$subdir/TAGS"; \ + fi; \ + done; \ + $(am__define_uniq_tagged_files); \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=3D$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: ctags-recursive + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=3D`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" +cscope: cscope.files + test ! -s cscope.files \ + || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(C= SCOPE_ARGS) +clean-cscope: + -rm -f cscope.files +cscope.files: clean-cscope cscopelist +cscopelist: cscopelist-recursive + +cscopelist-am: $(am__tagged_files) + list=3D'$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir=3D"$(srcdir)" ;; \ + *) sdir=3D$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + -rm -f cscope.out cscope.in.out cscope.po.out cscope.files +check-am: all-am +check: check-recursive +all-am: Makefile config.h all-local +installdirs: installdirs-recursive +installdirs-am: +install: install-recursive +install-exec: install-exec-recursive +install-data: install-data-recursive +uninstall: uninstall-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-recursive +install-strip: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM=3D"$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM=3D"$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=3D= -s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM=3D"$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM=3D"$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=3D= -s \ + "INSTALL_PROGRAM_ENV=3DSTRIPPROG=3D'$(STRIP)'" install; \ + fi +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . =3D "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f= $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-recursive + +clean-am: clean-generic clean-local mostlyclean-am + +distclean: distclean-recursive + -rm -f $(am__CONFIG_DISTCLEAN_FILES) + -rm -f Makefile +distclean-am: clean-am distclean-generic distclean-hdr distclean-local \ + distclean-tags + +dvi: dvi-recursive + +dvi-am: + +html: html-recursive + +html-am: + +info: info-recursive + +info-am: + +install-data-am: + +install-dvi: install-dvi-recursive + +install-dvi-am: + +install-exec-am: install-exec-local + +install-html: install-html-recursive + +install-html-am: + +install-info: install-info-recursive + +install-info-am: + +install-man: + +install-pdf: install-pdf-recursive + +install-pdf-am: + +install-ps: install-ps-recursive + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-recursive + -rm -f $(am__CONFIG_DISTCLEAN_FILES) + -rm -rf $(top_srcdir)/autom4te.cache + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic \ + maintainer-clean-local + +mostlyclean: mostlyclean-recursive + +mostlyclean-am: mostlyclean-generic mostlyclean-local + +pdf: pdf-recursive + +pdf-am: + +ps: ps-recursive + +ps-am: + +uninstall-am: + +.MAKE: $(am__recursive_targets) all install-am install-strip + +.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am all-local \ + am--refresh check check-am clean clean-cscope clean-generic \ + clean-local cscope cscopelist-am ctags ctags-am distclean \ + distclean-generic distclean-hdr distclean-local distclean-tags \ + dvi dvi-am html html-am info info-am install install-am \ + install-data install-data-am install-dvi install-dvi-am \ + install-exec install-exec-am install-exec-local install-html \ + install-html-am install-info install-info-am install-man \ + install-pdf install-pdf-am install-ps install-ps-am \ + install-strip installcheck installcheck-am installdirs \ + installdirs-am maintainer-clean maintainer-clean-generic \ + maintainer-clean-local mostlyclean mostlyclean-generic \ + mostlyclean-local pdf pdf-am ps ps-am tags tags-am uninstall \ + uninstall-am + +.PRECIOUS: Makefile + + +# GNU Make needs to see an explicit $(MAKE) variable in the command it +# runs to enable its job server during parallel builds. Hence the +# comments below. +all-multi: + $(MULTIDO) $(AM_MAKEFLAGS) DO=3Dall multi-do # $(MAKE) +install-multi: + $(MULTIDO) $(AM_MAKEFLAGS) DO=3Dinstall multi-do # $(MAKE) +mostlyclean-multi: + $(MULTICLEAN) $(AM_MAKEFLAGS) DO=3Dmostlyclean multi-clean # $(MAKE) +clean-multi: + $(MULTICLEAN) $(AM_MAKEFLAGS) DO=3Dclean multi-clean # $(MAKE) +distclean-multi: + $(MULTICLEAN) $(AM_MAKEFLAGS) DO=3Ddistclean multi-clean # $(MAKE) +maintainer-clean-multi: + $(MULTICLEAN) $(AM_MAKEFLAGS) DO=3Dmaintainer-clean multi-clean # $(MAKE) + +.MAKE .PHONY: all-multi clean-multi distclean-multi install-am \ + install-multi maintainer-clean-multi mostlyclean-multi + +install-exec-local: install-multi + +all-local: all-multi +mostlyclean-local: mostlyclean-multi +clean-local: clean-multi +distclean-local: distclean-multi +maintainer-clean-local: maintainer-clean-multi + +# 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: diff --git a/libgloss/config/default.mh b/libgloss/config/default.mh index 987dc390d..4e7f106f9 100644 --- a/libgloss/config/default.mh +++ b/libgloss/config/default.mh @@ -29,3 +29,6 @@ AR_FLAGS =3D rc # .c.s: $(CC) $(CFLAGS_FOR_TARGET) -S $(INCLUDES) $(CFLAGS) $< + +# We don't build docs in subdirs, so stub out the rules. +.PHONY: doc docs dvi html install-html info install-info clean-info pdf in= stall-pdf diff --git a/libgloss/configure b/libgloss/configure index 64f08cf16..4349cbf0e 100755 --- a/libgloss/configure +++ b/libgloss/configure @@ -2590,6 +2590,45 @@ END fi fi =20 +# Check whether --enable-silent-rules was given. +if test "${enable_silent_rules+set}" =3D set; then : + enableval=3D$enable_silent_rules; +fi + +case $enable_silent_rules in # ((( + yes) AM_DEFAULT_VERBOSITY=3D0;; + no) AM_DEFAULT_VERBOSITY=3D1;; + *) AM_DEFAULT_VERBOSITY=3D0;; +esac +am_make=3D${MAKE-make} +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make support= s nested variables" >&5 +$as_echo_n "checking whether $am_make supports nested variables... " >&6; } +if ${am_cv_make_support_nested_variables+:} false; then : + $as_echo_n "(cached) " >&6 +else + if $as_echo 'TRUE=3D$(BAR$(V)) +BAR0=3Dfalse +BAR1=3Dtrue +V=3D1 +am__doit: + @$(TRUE) +.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then + am_cv_make_support_nested_variables=3Dyes +else + am_cv_make_support_nested_variables=3Dno +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_neste= d_variables" >&5 +$as_echo "$am_cv_make_support_nested_variables" >&6; } +if test $am_cv_make_support_nested_variables =3D yes; then + AM_V=3D'$(V)' + AM_DEFAULT_V=3D'$(AM_DEFAULT_VERBOSITY)' +else + AM_V=3D$AM_DEFAULT_VERBOSITY + AM_DEFAULT_V=3D$AM_DEFAULT_VERBOSITY +fi +AM_BACKSLASH=3D'\' + =20 if test -z "${with_multisubdir}" ; then ac_config_files=3D"$ac_config_files doc/Makefile" diff --git a/libgloss/configure.ac b/libgloss/configure.ac index 1fa877729..e5fd07fa7 100644 --- a/libgloss/configure.ac +++ b/libgloss/configure.ac @@ -11,7 +11,8 @@ AC_CONFIG_AUX_DIR(..) AC_PROG_INSTALL =20 AC_CANONICAL_SYSTEM -AM_INIT_AUTOMAKE([foreign no-define 1.15]) +AM_INIT_AUTOMAKE([foreign no-dist no-define subdir-objects 1.15.1]) +AM_SILENT_RULES(yes) =20 if test -z "${with_multisubdir}" ; then AC_CONFIG_FILES([doc/Makefile])