libgloss: convert top level to automake

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.

[TODO] Check test targets
This commit is contained in:
Mike Frysinger 2022-01-17 04:12:11 -05:00
parent a49c5fcdb5
commit 7517551007
5 changed files with 743 additions and 158 deletions

38
libgloss/Makefile.am Normal file
View File

@ -0,0 +1,38 @@
## Top level makefile for libgloss
ACLOCAL_AMFLAGS = -I . -I .. -I ../config
# Variables that will accumulate in subdirs.
PHONY =
SUBDIRS = @subdirs@ .
tooldir = $(exec_prefix)/$(target_alias)
## These are roughly topologically sorted in order to make porting more
## streamlined.
FLAGS_TO_PASS = \
"CC=$(CC)" \
"CFLAGS=$(CFLAGS)" \
"CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
"CCASFLAGS=$(CCASFLAGS)" \
"AR=$(AR)" \
"RANLIB=$(RANLIB)" \
"AR_FLAGS=$(AR_FLAGS)" \
"MAKEINFO=$(MAKEINFO)" \
"AS=$(AS)" \
"LD=$(LD)" \
"CROSS_CFLAGS=$(CROSS_CFLAGS)" \
"TARGET_CFLAGS=$(TARGET_CFLAGS)" \
"exec_prefix=$(exec_prefix)" \
"prefix=$(prefix)" \
"tooldir=$(tooldir)" \
"infodir=$(infodir)" \
"libdir=$(libdir)" \
"top_toollibdir=$(toollibdir)" \
"INSTALL=$(INSTALL)" \
"INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
"INSTALL_DATA=$(INSTALL_DATA)" \
"DESTDIR=$(DESTDIR)"
include $(top_srcdir)/../multilib.am

View File

@ -1,74 +1,288 @@
# Top level makefile for libgloss # Makefile.in generated by automake 1.15.1 from Makefile.am.
# # @configure_input@
# 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 = # Copyright (C) 1994-2017 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.
@SET_MAKE@
VPATH = @srcdir@ VPATH = @srcdir@
srcdir = @srcdir@ am__is_gnu_make = { \
objdir = . if test -z '$(MAKELEVEL)'; then \
srcroot = $(srcdir)/../.. false; \
objroot = $(objdir)/../.. elif test -n '$(MAKE_HOST)'; then \
true; \
prefix = @prefix@ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
exec_prefix = @exec_prefix@ true; \
else \
host_alias = @host_alias@ false; \
target_alias = @target_alias@ fi; \
}
bindir = @bindir@ am__make_running_with_option = \
libdir = @libdir@ case $${target_option-} in \
tooldir = $(exec_prefix)/$(target_alias) ?) ;; \
*) echo "am__make_running_with_option: internal error: invalid" \
TOP = . "target option '$${target_option-}' specified" >&2; \
SRCTOP = . exit 1;; \
esac; \
# Multilib support variables. has_opt=no; \
# TOP is used instead of MULTI{BUILD,SRC}TOP. sane_makeflags=$$MAKEFLAGS; \
MULTISRCTOP = if $(am__is_gnu_make); then \
MULTIBUILDTOP = sane_makeflags=$$MFLAGS; \
MULTIDIRS = else \
MULTISUBDIR = case $$MAKEFLAGS in \
MULTIDO = true *\\[\ \ ]*) \
MULTICLEAN = true bs=\\; \
sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
INSTALL = @INSTALL@ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
INSTALL_PROGRAM = @INSTALL_PROGRAM@ esac; \
INSTALL_DATA = @INSTALL_DATA@ fi; \
skip_next=no; \
SHELL = /bin/sh strip_trailopt () \
{ \
CC = @CC@ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
}; \
AS = @AS@ for flg in $$sane_makeflags; do \
test $$skip_next = yes && { skip_next=no; continue; }; \
case $$flg in \
*=*|--*) continue;; \
-*I) strip_trailopt 'I'; skip_next=yes;; \
-*I?*) strip_trailopt 'I';; \
-*O) strip_trailopt 'O'; skip_next=yes;; \
-*O?*) strip_trailopt 'O';; \
-*l) strip_trailopt 'l'; skip_next=yes;; \
-*l?*) strip_trailopt 'l';; \
-[dEDm]) skip_next=yes;; \
-[JT]) skip_next=yes;; \
esac; \
case $$flg in \
*$$target_option*) has_opt=yes; break;; \
esac; \
done; \
test $$has_opt = yes
am__make_dryrun = (target_option=n; $(am__make_running_with_option))
am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
pkgdatadir = $(datadir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkglibexecdir = $(libexecdir)/@PACKAGE@
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
target_triplet = @target@
subdir = .
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(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 = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
$(am__configure_deps)
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
configure.lineno config.status.lineno
mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
CONFIG_HEADER = config.h
CONFIG_CLEAN_FILES = 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 =
AM_V_P = $(am__v_P_@AM_V@)
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
am__v_P_0 = false
am__v_P_1 = :
AM_V_GEN = $(am__v_GEN_@AM_V@)
am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
am__v_GEN_0 = @echo " GEN " $@;
am__v_GEN_1 =
AM_V_at = $(am__v_at_@AM_V@)
am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
am__v_at_0 = @
am__v_at_1 =
SOURCES =
RECURSIVE_TARGETS = 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 = \
case $$AM_UPDATE_INFO_DIR in \
n|no|NO) false;; \
*) (install-info --version) >/dev/null 2>&1;; \
esac
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
distclean-recursive maintainer-clean-recursive
am__recursive_targets = \
$(RECURSIVE_TARGETS) \
$(RECURSIVE_CLEAN_TARGETS) \
$(am__extra_recursive_targets)
AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
cscope
am__tagged_files = $(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 = $(AWK) '\
BEGIN { nonempty = 0; } \
{ items[$$0] = 1; nonempty = 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 = \
list='$(am__tagged_files)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | $(am__uniquify_input)`
ETAGS = etags
CTAGS = ctags
CSCOPE = cscope
DIST_SUBDIRS = $(SUBDIRS)
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
AR = @AR@ AR = @AR@
AS = @AS@
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
CC = @CC@
CCAS = @CCAS@
CCASFLAGS = @CCASFLAGS@
CCDEPMODE = @CCDEPMODE@
CFLAGS = @CFLAGS@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
EXEEXT = @EXEEXT@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
LD = @LD@ LD = @LD@
LDFLAGS = @LDFLAGS@
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
LTLIBOBJS = @LTLIBOBJS@
MAKEINFO = @MAKEINFO@
MKDIR_P = @MKDIR_P@
OBJEXT = @OBJEXT@
PACKAGE = @PACKAGE@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_URL = @PACKAGE_URL@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
RANLIB = @RANLIB@ RANLIB = @RANLIB@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRIP = @STRIP@
VERSION = @VERSION@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
ac_ct_CC = @ac_ct_CC@
am__include = @am__include@
am__leading_dot = @am__leading_dot@
am__quote = @am__quote@
am__tar = @am__tar@
am__untar = @am__untar@
bindir = @bindir@
build = @build@
build_alias = @build_alias@
build_cpu = @build_cpu@
build_os = @build_os@
build_vendor = @build_vendor@
builddir = @builddir@
datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
exec_prefix = @exec_prefix@
host = @host@
host_alias = @host_alias@
host_cpu = @host_cpu@
host_makefile_frag_path = @host_makefile_frag_path@
host_os = @host_os@
host_vendor = @host_vendor@
htmldir = @htmldir@
includedir = @includedir@
infodir = @infodir@
install_sh = @install_sh@
libdir = @libdir@
libexecdir = @libexecdir@
localedir = @localedir@
localstatedir = @localstatedir@
mandir = @mandir@
mkdir_p = @mkdir_p@
multi_basedir = @multi_basedir@
oldincludedir = @oldincludedir@
pdfdir = @pdfdir@
prefix = @prefix@
program_transform_name = @program_transform_name@
psdir = @psdir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
srcdir = @srcdir@
subdirs = @subdirs@
sysconfdir = @sysconfdir@
target = @target@
target_alias = @target_alias@
target_cpu = @target_cpu@
target_makefile_frag_path = @target_makefile_frag_path@
target_os = @target_os@
target_vendor = @target_vendor@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
ACLOCAL_AMFLAGS = -I . -I .. -I ../config
AR_FLAGS = qv # Variables that will accumulate in subdirs.
BISON = bison PHONY =
MAKEINFO = makeinfo SUBDIRS = @subdirs@ .
tooldir = $(exec_prefix)/$(target_alias)
SUBDIRS = @subdirs@
.NOEXPORT:
MAKEOVERRIDES=
# Host specific makefile fragment comes in here.
@host_makefile_frag@
# These are roughly topologically sorted in order to make porting more
# streamlined.
FLAGS_TO_PASS = \ FLAGS_TO_PASS = \
"CC=$(CC)" \ "CC=$(CC)" \
"CFLAGS=$(CFLAGS)" \ "CFLAGS=$(CFLAGS)" \
@ -93,110 +307,400 @@ FLAGS_TO_PASS = \
"INSTALL_DATA=$(INSTALL_DATA)" \ "INSTALL_DATA=$(INSTALL_DATA)" \
"DESTDIR=$(DESTDIR)" "DESTDIR=$(DESTDIR)"
all: stmp-bsp force MULTISRCTOP =
+@rootpre=`pwd`/; export rootpre; \ MULTIBUILDTOP =
srcrootpre=`cd $(srcdir); pwd`/; export srcrootpre; \ MULTIDIRS =
$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=all MULTISUBDIR =
MULTIDO = true
MULTICLEAN = true
all: config.h
$(MAKE) $(AM_MAKEFLAGS) all-recursive
stmp-bsp: force .SUFFIXES:
@rootpre=`pwd`/; export rootpre; \ am--refresh: Makefile
srcrootpre=`cd $(srcdir); pwd`/; export srcrootpre; \ @:
for dir in .. ${SUBDIRS}; do \ $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/../multilib.am $(am__configure_deps)
if [ x$$dir != x.. ]; then \ @for dep in $?; do \
if [ -d $$dir ]; then \ case '$(am__configure_deps)' in \
(cd $$dir; $(MAKE) $(FLAGS_TO_PASS)) || exit $$?; \ *$$dep*) \
else true; fi; \ echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
else true; fi; \ $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
done && 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__depfiles_maybe)'; \
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
esac;
$(top_srcdir)/../multilib.am $(am__empty):
install: force $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
@rootpre=`pwd`/; export rootpre; \ $(SHELL) ./config.status --recheck
srcrootpre=`cd $(srcdir); pwd`/; export srcrootpre; \
for dir in .. ${SUBDIRS}; do \
if [ x$$dir != x.. ]; then \
if [ -d $$dir ]; then \
(cd $$dir; $(MAKE) $(FLAGS_TO_PASS) install) || exit $$?; \
else true; fi; \
else true; fi; \
done
@rootpre=`pwd`/; export rootpre; \
srcrootpre=`cd $(srcdir); pwd`/; export srcrootpre; \
$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
test: force $(top_srcdir)/configure: $(am__configure_deps)
@rootpre=`pwd`/; export rootpre; \ $(am__cd) $(srcdir) && $(AUTOCONF)
srcrootpre=`cd $(srcdir); pwd`/; export srcrootpre; \ $(ACLOCAL_M4): $(am__aclocal_m4_deps)
for dir in .. ${SUBDIRS}; do \ $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
if [ x$$dir != x.. ]; then \ $(am__aclocal_m4_deps):
if [ -d $$dir ]; then \
(cd $$dir; $(MAKE) $(FLAGS_TO_PASS) test); \
else true; fi; \
else true; fi; \
done
@rootpre=`pwd`/; export rootpre; \
srcrootpre=`cd $(srcdir); pwd`/; export srcrootpre; \
$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=test
clean-here: config.h: stamp-h1
-rm -f *~ core *.o a.out xgdb *.x @test -f $@ || rm -f stamp-h1
@test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
clean mostlyclean: clean-here stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
rootpre=`pwd`/; export rootpre; \ @rm -f stamp-h1
srcrootpre=`cd $(srcdir); pwd`/; export srcrootpre; \ cd $(top_builddir) && $(SHELL) ./config.status config.h
$(MAKE) DO=$@ DODIRS="$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do; \ $(srcdir)/config.h.in: $(am__configure_deps)
$(MULTICLEAN) multi-clean DO=$@ ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
rm -f stamp-h1
touch $@
distclean maintainer-clean realclean: clean-here distclean-hdr:
-rm -f Makefile config.cache config.log config.status -rm -f config.h stamp-h1
-rm -f *-init.exp site.* doc/Makefile: $(top_builddir)/config.status $(top_srcdir)/doc/Makefile.in
-rm -fr *.log summary detail *.sum cd $(top_builddir) && $(SHELL) ./config.status $@
rootpre=`pwd`/; export rootpre; \ arc/Makefile: $(top_builddir)/config.status $(top_srcdir)/arc/Makefile.in
srcrootpre=`cd $(srcdir); pwd`/; export srcrootpre; \ cd $(top_builddir) && $(SHELL) ./config.status $@
$(MAKE) DO=$@ DODIRS="$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do; \ epiphany/Makefile: $(top_builddir)/config.status $(top_srcdir)/epiphany/Makefile.in
$(MULTICLEAN) multi-clean DO=$@ 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/Makefile.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_leon/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/Makefile.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)/microblaze/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/Makefile.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/Makefile.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/Makefile.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/Makefile.in
cd $(top_builddir) && $(SHELL) ./config.status $@
.PHONY: info install-info clean-info html pdf # This directory's subdirectories are mostly independent; you can cd
subdir_do: # into them and run 'make' without going through this Makefile.
@rootpre=`pwd`/; export rootpre; \ # To change the values of 'make' variables: instead of editing Makefiles,
srcrootpre=`cd $(srcdir); pwd`/; export srcrootpre; \ # (1) if the variable is set in 'config.status', edit 'config.status'
for i in .. $(DODIRS); do \ # (which will cause the Makefiles to be regenerated when you run 'make');
if [ x$$i != x.. ]; then \ # (2) otherwise, pass the desired values on the 'make' command line.
if [ -f ./$$i/Makefile ]; then \ $(am__recursive_targets):
if (cd ./$$i; $(MAKE) $(FLAGS_TO_PASS) $(DO)); then \ @fail=; \
true; \ if $(am__make_keepgoing); then \
else \ failcom='fail=yes'; \
exit 1; \ else \
fi; \ failcom='exit 1'; \
else true; fi; \ fi; \
else true; fi; \ dot_seen=no; \
done target=`echo $@ | sed s/-recursive//`; \
case "$@" in \
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
*) list='$(SUBDIRS)' ;; \
esac; \
for subdir in $$list; do \
echo "Making $$target in $$subdir"; \
if test "$$subdir" = "."; then \
dot_seen=yes; \
local_target="$$target-am"; \
else \
local_target="$$target"; \
fi; \
($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|| eval $$failcom; \
done; \
if test "$$dot_seen" = "no"; then \
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
fi; test -z "$$fail"
info dvi html pdf docs: ID: $(am__tagged_files)
rootpre=`pwd`/; export rootpre; \ $(am__define_uniq_tagged_files); mkid -fID $$unique
srcrootpre=`cd $(srcdir); pwd`/; export srcrootpre; \ tags: tags-recursive
$(MAKE) DO=$@ DODIRS=doc $(FLAGS_TO_PASS) subdir_do TAGS: tags
install-info: tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
rootpre=`pwd`/; export rootpre; \ set x; \
srcrootpre=`cd $(srcdir); pwd`/; export srcrootpre; \ here=`pwd`; \
$(MAKE) DO=$@ DODIRS=doc $(FLAGS_TO_PASS) subdir_do if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
include_option=--etags-include; \
empty_fix=.; \
else \
include_option=--include; \
empty_fix=; \
fi; \
list='$(SUBDIRS)'; for subdir in $$list; do \
if test "$$subdir" = .; then :; else \
test ! -f $$subdir/TAGS || \
set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
fi; \
done; \
$(am__define_uniq_tagged_files); \
shift; \
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
test -n "$$unique" || unique=$$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
install-html: CTAGS: ctags
rootpre=`pwd`/; export rootpre; \ ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
srcrootpre=`cd $(srcdir); pwd`/; export srcrootpre; \ $(am__define_uniq_tagged_files); \
$(MAKE) DO=$@ DODIRS=doc $(FLAGS_TO_PASS) subdir_do test -z "$(CTAGS_ARGS)$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$unique
install-pdf: GTAGS:
rootpre=`pwd`/; export rootpre; \ here=`$(am__cd) $(top_builddir) && pwd` \
srcrootpre=`cd $(srcdir); pwd`/; export srcrootpre; \ && $(am__cd) $(top_srcdir) \
$(MAKE) DO=$@ DODIRS=doc $(FLAGS_TO_PASS) subdir_do && gtags -i $(GTAGS_ARGS) "$$here"
cscope: cscope.files
test ! -s cscope.files \
|| $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
clean-cscope:
-rm -f cscope.files
cscope.files: clean-cscope cscopelist
cscopelist: cscopelist-recursive
clean-info: cscopelist-am: $(am__tagged_files)
list='$(am__tagged_files)'; \
case "$(srcdir)" in \
[\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
*) sdir=$(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
force: 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
Makefile: Makefile.in config.status @host_makefile_frag_path@ install-am: all-am
$(SHELL) config.status @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
config.status: configure installcheck: installcheck-recursive
$(SHELL) config.status --recheck install-strip:
if test -z '$(STRIP)'; then \
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
install; \
else \
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
fi
mostlyclean-generic:
clean-generic:
distclean-generic:
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-test . = "$(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=all multi-do # $(MAKE)
install-multi:
$(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do # $(MAKE)
mostlyclean-multi:
$(MULTICLEAN) $(AM_MAKEFLAGS) DO=mostlyclean multi-clean # $(MAKE)
clean-multi:
$(MULTICLEAN) $(AM_MAKEFLAGS) DO=clean multi-clean # $(MAKE)
distclean-multi:
$(MULTICLEAN) $(AM_MAKEFLAGS) DO=distclean multi-clean # $(MAKE)
maintainer-clean-multi:
$(MULTICLEAN) $(AM_MAKEFLAGS) DO=maintainer-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:

View File

@ -29,3 +29,6 @@ AR_FLAGS = rc
# #
.c.s: .c.s:
$(CC) $(CFLAGS_FOR_TARGET) -S $(INCLUDES) $(CFLAGS) $< $(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 install-pdf

39
libgloss/configure vendored
View File

@ -2590,6 +2590,45 @@ END
fi fi
fi fi
# Check whether --enable-silent-rules was given.
if test "${enable_silent_rules+set}" = set; then :
enableval=$enable_silent_rules;
fi
case $enable_silent_rules in # (((
yes) AM_DEFAULT_VERBOSITY=0;;
no) AM_DEFAULT_VERBOSITY=1;;
*) AM_DEFAULT_VERBOSITY=0;;
esac
am_make=${MAKE-make}
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports 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=$(BAR$(V))
BAR0=false
BAR1=true
V=1
am__doit:
@$(TRUE)
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
am_cv_make_support_nested_variables=yes
else
am_cv_make_support_nested_variables=no
fi
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
$as_echo "$am_cv_make_support_nested_variables" >&6; }
if test $am_cv_make_support_nested_variables = yes; then
AM_V='$(V)'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
else
AM_V=$AM_DEFAULT_VERBOSITY
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
fi
AM_BACKSLASH='\'
if test -z "${with_multisubdir}" ; then if test -z "${with_multisubdir}" ; then
ac_config_files="$ac_config_files doc/Makefile" ac_config_files="$ac_config_files doc/Makefile"

View File

@ -11,7 +11,8 @@ AC_CONFIG_AUX_DIR(..)
AC_PROG_INSTALL AC_PROG_INSTALL
AC_CANONICAL_SYSTEM 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)
if test -z "${with_multisubdir}" ; then if test -z "${with_multisubdir}" ; then
AC_CONFIG_FILES([doc/Makefile]) AC_CONFIG_FILES([doc/Makefile])