aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcvs2svn <>2003-05-21 09:48:08 +0000
committercvs2svn <>2003-05-21 09:48:08 +0000
commitc4665ff76b95cf10bf046e46038626639b2e2b12 (patch)
tree35613a5dcd4cf37a68c66e9d4a1567175a7866a9
parent78a97d37bbe1abae26cc68ad87c93e80a69b08df (diff)
downloadnewlib-cagney_fileio-20030521-branchpoint.zip
newlib-cagney_fileio-20030521-branchpoint.tar.gz
newlib-cagney_fileio-20030521-branchpoint.tar.bz2
'cagney_fileio-20030521-branch'. Sprout from jimb-ppc64-linux-20030509-branch 2003-05-09 11:36:10 UTC cvs2svn 'This commit was manufactured by cvs2svn to create branch 'jimb-' Cherrypick from master 2003-05-21 09:48:07 UTC Maciej W. Rozycki <macro@codesourcery.com> '2003-05-20 Maciej W. Rozycki <macro@ds2.pg.gda.pl>': ChangeLog Makefile.in Makefile.tpl config.guess config.sub config/ChangeLog config/acinclude.m4 config/acx.m4 configure configure.in etc/ChangeLog etc/configure.texi include/ChangeLog include/bfdlink.h include/elf/ChangeLog include/elf/common.h include/elf/external.h include/elf/h8.h include/elf/internal.h include/libiberty.h include/opcode/ChangeLog include/opcode/i860.h include/opcode/m68hc11.h
-rw-r--r--ChangeLog80
-rw-r--r--Makefile.in825
-rw-r--r--Makefile.tpl87
-rwxr-xr-xconfig.guess9
-rwxr-xr-xconfig.sub7
-rw-r--r--config/ChangeLog10
-rwxr-xr-xconfig/acinclude.m42
-rw-r--r--config/acx.m461
-rwxr-xr-xconfigure298
-rw-r--r--configure.in194
-rw-r--r--etc/ChangeLog4
-rw-r--r--etc/configure.texi4
-rw-r--r--include/ChangeLog11
-rw-r--r--include/bfdlink.h2
-rw-r--r--include/elf/ChangeLog14
-rw-r--r--include/elf/common.h36
-rw-r--r--include/elf/external.h15
-rw-r--r--include/elf/h8.h1
-rw-r--r--include/elf/internal.h7
-rw-r--r--include/libiberty.h4
-rw-r--r--include/opcode/ChangeLog24
-rw-r--r--include/opcode/i860.h18
-rw-r--r--include/opcode/m68hc11.h2
23 files changed, 1231 insertions, 484 deletions
diff --git a/ChangeLog b/ChangeLog
index 787355c..1c21e6a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,51 @@
+2003-05-20 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
+
+ * configure.in: Use curly braces in the definition of tooldir.
+ * configure: Regenerate.
+
+2003-05-19 Nathanael Nerode <neroden@gcc.gnu.org>
+
+ * configure.in: Switch more things to use maybe dependencies.
+ * Makefile.tpl: Switch more things to use maybe dependencies.
+ Factor out common code from autogen IF statements.
+ * configure: Regenerate.
+ * Makefile.in: Regenerate.
+
+2003-05-14 Kelley Cook <kelleycook@wideopenwest.com>
+
+ * configure.in: Accept i[3456789]86 for machine type.
+ * configure: Regenerate.
+
+2003-05-18 Nathanael Nerode <neroden@gcc.gnu.org>
+
+ * configure.in: Switch more things to use maybe dependencies.
+ Rearrange a little. Use GCC_TOPLEV_SUBDIRS.
+ * configure: Regenerate.
+ * Makefile.tpl: Switch more things to use maybe dependencies.
+ * Makefile.in: Regenerate.
+
+2003-05-16 Andreas Schwab <schwab@suse.de>
+
+ * Makefile.tpl (install-opcodes): Define.
+ * Makefile.in: Rebuild.
+
+2003-05-13 Andreas Jaeger <aj@suse.de>
+
+ * config.guess: Update to 2003-05-09 version.
+ * config.sub: Update to 2003-05-09 version.
+
+2003-05-13 Michael Eager <eager@mvista.com>
+
+ * configure.in: Correct sed script so that options in quotes are not
+ deleted.
+ * configure: Rebuild.
+
+2003-05-12 Corinna Vinschen <corinna@vinschen.de>
+
+ * configure.in (FLAGS_FOR_TARGET): Remove $$s/newlib/libc/sys/cygwin
+ and $$s/newlib/libc/sys/cygwin32 include paths.
+ * configure: Ditto.
+
2003-05-05 H.J. Lu <hjl@gnu.org>
* config-ml.in: Restored from gcc repository.
@@ -71,7 +119,7 @@
* texinfo/texinfo.tex: Import version 2003-02-03.16.
2003-03-04 Daniel Jacobowitz <drow@mvista.com>
-
+
* configure.in: Include $(build_tooldir)/sys-include in
FLAGS_FOR_TARGET.
* configure: Regenerated.
@@ -260,7 +308,7 @@
* configure.in (GDB_TK): Add tcl directories conditional on
gdb/gdbtk directory being present.
* configure: Regenerate.
-
+
2003-01-04 John David Anglin <dave.anglin@nrc.ca>
* configure.in (LD): Improve test for gcc. Try to set LD to the ld used
@@ -344,10 +392,10 @@
2002-12-27 Nathanael Nerode <neroden@gcc.gnu.org>
- * configure: Remove unneeded 'export's. Make CC_FOR_TARGET,
+ * configure: Remove unneeded 'export's. Make CC_FOR_TARGET,
CXX_FOR_TARGET, GCJ_FOR_TARGET substituted in configure.in only.
- * ChangeLog: Move a couple of entries from here to winsup/cygwin,
+ * ChangeLog: Move a couple of entries from here to winsup/cygwin,
where they belong.
2002-12-24 Andreas Schwab <schwab@suse.de>
@@ -521,7 +569,7 @@
* Makefile.tpl: Strip out useless setting of 'dir'.
* Makefile.in: Regenerate.
-
+
2002-12-02 Nathanael Nerode <neroden@gcc.gnu.org>
(finishing slow-motion replay)
@@ -540,12 +588,12 @@
* Makefile.tpl: Remove unnecessary ifs.
* Makefile.in: Regenerate.
- * Makefile.tpl: Implement soft dependency machinery. Maybe-ize
+ * Makefile.tpl: Implement soft dependency machinery. Maybe-ize
dependencies. Maybe-ize build-libiberty. Create dummy install
targets for 'no_install' modules.
- * configure: Move GDB_TK substitution to configure.in. Move
+ * configure: Move GDB_TK substitution to configure.in. Move
build_modules stuff to configure.in.
- * configure.in: Implement soft dependency machinery. Maybe-ize
+ * configure.in: Implement soft dependency machinery. Maybe-ize
GDB_TK, rearrange slightly. Move build_modules stuff from configure.
* Makefile.in: Regenerate.
@@ -563,12 +611,12 @@
* ltcf-c.sh, ltcf-gcj.sh, Makefile.tpl: Correct BUILD/HOST confusion.
- * configure.in: Produce lists of subdir targets we're actually
+ * configure.in: Produce lists of subdir targets we're actually
configuring. Remove references to "dosrel".
* Makefile.tpl: Let configure set which subdir targets are hit.
- Remove install-cross; clean up install; remove ALL. Remove
+ Remove install-cross; clean up install; remove ALL. Remove
references to "dosrel". Remove "EXTRA_TARGET_HOST" hackery.
- Autogenerate host module targets. Remove empty dependency lines
+ Autogenerate host module targets. Remove empty dependency lines
and redundant dependency; rearrange slightly.
* Makefile.def: Add host-side libtermcap, utils.
@@ -854,7 +902,7 @@
2002-07-03 Nick Clifton <nickc@cambridge.redhat.com>
* contrib: New directory. Created to contain a copy of the
- texi2pod.pl script so that it is in the same place as the version in
+ texi2pod.pl script so that it is in the same place as the version in
the FSF GCC sources.
2002-07-02 Nathanael Nerode <neroden@gcc.gnu.org>
@@ -1070,7 +1118,7 @@
* configure.in (target_libs): Remove target-libchill.
Do not compute CHILL_FOR_TARGET.
* libchill: Remove directory.
-
+
2002-04-15 DJ Delorie <dj@redhat.com>
* Makefile.in, configure.in, configure: Sync with gcc, entries
@@ -1433,7 +1481,7 @@ Wed Sep 13 11:11:29 2000 Jeffrey A Law (law@cygnus.com)
* configure.in: Re-enable all references to libg++ and librx.
2002-04-09 Loren James Rittle <rittle@labs.mot.com>
-
+
* configure.in: Add *-*-freebsd* configurations.
2002-04-07 Andrew Cagney <ac131313@redhat.com>
@@ -1585,7 +1633,7 @@ Wed Sep 13 11:11:29 2000 Jeffrey A Law (law@cygnus.com)
libiberty.
Import this patch from gcc:
-
+
2000-12-09 Laurynas Biveinis <lauras@softhome.net>
* symlink-tree: handle DOS-style absolute paths.
@@ -1735,7 +1783,7 @@ Wed Sep 13 11:11:29 2000 Jeffrey A Law (law@cygnus.com)
Fri Jun 8 11:14:02 2001 Andrew Cagney <cagney@b1.cygnus.com>
* Makefile.in (VER): When present, extract the version number from
- the file version.in.
+ the file version.in.
2001-06-08 Alexandre Oliva <aoliva@redhat.com>, Jeff Sturm <jsturm@one-point.com>
diff --git a/Makefile.in b/Makefile.in
index 3f3ea9a..a98c099 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -551,8 +551,90 @@ EXTRA_GCC_FLAGS = \
GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS)
-configure-host: @configure_host_modules@
-configure-target: @configure_target_modules@
+.PHONY: configure-host
+configure-host: maybe-configure-gcc \
+ maybe-configure-ash \
+ maybe-configure-autoconf \
+ maybe-configure-automake \
+ maybe-configure-bash \
+ maybe-configure-bfd \
+ maybe-configure-opcodes \
+ maybe-configure-binutils \
+ maybe-configure-bison \
+ maybe-configure-byacc \
+ maybe-configure-bzip2 \
+ maybe-configure-dejagnu \
+ maybe-configure-diff \
+ maybe-configure-dosutils \
+ maybe-configure-etc \
+ maybe-configure-fastjar \
+ maybe-configure-fileutils \
+ maybe-configure-findutils \
+ maybe-configure-find \
+ maybe-configure-flex \
+ maybe-configure-gas \
+ maybe-configure-gawk \
+ maybe-configure-gettext \
+ maybe-configure-gnuserv \
+ maybe-configure-gprof \
+ maybe-configure-gzip \
+ maybe-configure-hello \
+ maybe-configure-indent \
+ maybe-configure-intl \
+ maybe-configure-tcl \
+ maybe-configure-itcl \
+ maybe-configure-ld \
+ maybe-configure-libgui \
+ maybe-configure-libiberty \
+ maybe-configure-libtool \
+ maybe-configure-m4 \
+ maybe-configure-make \
+ maybe-configure-mmalloc \
+ maybe-configure-patch \
+ maybe-configure-perl \
+ maybe-configure-prms \
+ maybe-configure-rcs \
+ maybe-configure-readline \
+ maybe-configure-release \
+ maybe-configure-recode \
+ maybe-configure-sed \
+ maybe-configure-send-pr \
+ maybe-configure-shellutils \
+ maybe-configure-sid \
+ maybe-configure-sim \
+ maybe-configure-tar \
+ maybe-configure-texinfo \
+ maybe-configure-textutils \
+ maybe-configure-time \
+ maybe-configure-uudecode \
+ maybe-configure-wdiff \
+ maybe-configure-zip \
+ maybe-configure-zlib \
+ maybe-configure-gdb \
+ maybe-configure-expect \
+ maybe-configure-guile \
+ maybe-configure-tk \
+ maybe-configure-tix \
+ maybe-configure-libtermcap \
+ maybe-configure-utils
+.PHONY: configure-target
+configure-target: \
+ maybe-configure-target-libstdc++-v3 \
+ maybe-configure-target-newlib \
+ maybe-configure-target-libf2c \
+ maybe-configure-target-libobjc \
+ maybe-configure-target-libtermcap \
+ maybe-configure-target-winsup \
+ maybe-configure-target-libgloss \
+ maybe-configure-target-libiberty \
+ maybe-configure-target-gperf \
+ maybe-configure-target-examples \
+ maybe-configure-target-libffi \
+ maybe-configure-target-libjava \
+ maybe-configure-target-zlib \
+ maybe-configure-target-boehm-gc \
+ maybe-configure-target-qthreads \
+ maybe-configure-target-rda
# This is a list of the targets for which we can do a clean-{target}.
CLEAN_MODULES = \
@@ -642,14 +724,93 @@ CLEAN_X11_MODULES = \
clean-tix
# The target built for a native build.
-# This list only includes modules actually being configured and built.
.PHONY: all.normal
-all.normal: @all_build_modules@ \
- @all_host_modules@ \
- @all_target_modules@
-
-all-host: @all_host_modules@
-all-target: @all_target_modules@
+all.normal: @all_build_modules@ all-host all-target
+
+.PHONY: all-host
+all-host: maybe-all-gcc \
+ maybe-all-ash \
+ maybe-all-autoconf \
+ maybe-all-automake \
+ maybe-all-bash \
+ maybe-all-bfd \
+ maybe-all-opcodes \
+ maybe-all-binutils \
+ maybe-all-bison \
+ maybe-all-byacc \
+ maybe-all-bzip2 \
+ maybe-all-dejagnu \
+ maybe-all-diff \
+ maybe-all-dosutils \
+ maybe-all-etc \
+ maybe-all-fastjar \
+ maybe-all-fileutils \
+ maybe-all-findutils \
+ maybe-all-find \
+ maybe-all-flex \
+ maybe-all-gas \
+ maybe-all-gawk \
+ maybe-all-gettext \
+ maybe-all-gnuserv \
+ maybe-all-gprof \
+ maybe-all-gzip \
+ maybe-all-hello \
+ maybe-all-indent \
+ maybe-all-intl \
+ maybe-all-tcl \
+ maybe-all-itcl \
+ maybe-all-ld \
+ maybe-all-libgui \
+ maybe-all-libiberty \
+ maybe-all-libtool \
+ maybe-all-m4 \
+ maybe-all-make \
+ maybe-all-mmalloc \
+ maybe-all-patch \
+ maybe-all-perl \
+ maybe-all-prms \
+ maybe-all-rcs \
+ maybe-all-readline \
+ maybe-all-release \
+ maybe-all-recode \
+ maybe-all-sed \
+ maybe-all-send-pr \
+ maybe-all-shellutils \
+ maybe-all-sid \
+ maybe-all-sim \
+ maybe-all-tar \
+ maybe-all-texinfo \
+ maybe-all-textutils \
+ maybe-all-time \
+ maybe-all-uudecode \
+ maybe-all-wdiff \
+ maybe-all-zip \
+ maybe-all-zlib \
+ maybe-all-gdb \
+ maybe-all-expect \
+ maybe-all-guile \
+ maybe-all-tk \
+ maybe-all-tix \
+ maybe-all-libtermcap \
+ maybe-all-utils
+.PHONY: all-target
+all-target: \
+ maybe-all-target-libstdc++-v3 \
+ maybe-all-target-newlib \
+ maybe-all-target-libf2c \
+ maybe-all-target-libobjc \
+ maybe-all-target-libtermcap \
+ maybe-all-target-winsup \
+ maybe-all-target-libgloss \
+ maybe-all-target-libiberty \
+ maybe-all-target-gperf \
+ maybe-all-target-examples \
+ maybe-all-target-libffi \
+ maybe-all-target-libjava \
+ maybe-all-target-zlib \
+ maybe-all-target-boehm-gc \
+ maybe-all-target-qthreads \
+ maybe-all-target-rda
# Do a target for all the subdirectories. A ``make do-X'' will do a
# ``make X'' in all subdirectories (because, in general, there is a
@@ -1170,8 +1331,87 @@ check:
$(MAKE) do-check NOTPARALLEL=parallel-ok
# Only include modules actually being configured and built.
-do-check: @check_host_modules@ \
- @check_target_modules@
+do-check: maybe-check-gcc \
+ maybe-check-ash \
+ maybe-check-autoconf \
+ maybe-check-automake \
+ maybe-check-bash \
+ maybe-check-bfd \
+ maybe-check-opcodes \
+ maybe-check-binutils \
+ maybe-check-bison \
+ maybe-check-byacc \
+ maybe-check-bzip2 \
+ maybe-check-dejagnu \
+ maybe-check-diff \
+ maybe-check-dosutils \
+ maybe-check-etc \
+ maybe-check-fastjar \
+ maybe-check-fileutils \
+ maybe-check-findutils \
+ maybe-check-find \
+ maybe-check-flex \
+ maybe-check-gas \
+ maybe-check-gawk \
+ maybe-check-gettext \
+ maybe-check-gnuserv \
+ maybe-check-gprof \
+ maybe-check-gzip \
+ maybe-check-hello \
+ maybe-check-indent \
+ maybe-check-intl \
+ maybe-check-tcl \
+ maybe-check-itcl \
+ maybe-check-ld \
+ maybe-check-libgui \
+ maybe-check-libiberty \
+ maybe-check-libtool \
+ maybe-check-m4 \
+ maybe-check-make \
+ maybe-check-mmalloc \
+ maybe-check-patch \
+ maybe-check-perl \
+ maybe-check-prms \
+ maybe-check-rcs \
+ maybe-check-readline \
+ maybe-check-release \
+ maybe-check-recode \
+ maybe-check-sed \
+ maybe-check-send-pr \
+ maybe-check-shellutils \
+ maybe-check-sid \
+ maybe-check-sim \
+ maybe-check-tar \
+ maybe-check-texinfo \
+ maybe-check-textutils \
+ maybe-check-time \
+ maybe-check-uudecode \
+ maybe-check-wdiff \
+ maybe-check-zip \
+ maybe-check-zlib \
+ maybe-check-gdb \
+ maybe-check-expect \
+ maybe-check-guile \
+ maybe-check-tk \
+ maybe-check-tix \
+ maybe-check-libtermcap \
+ maybe-check-utils \
+ maybe-check-target-libstdc++-v3 \
+ maybe-check-target-newlib \
+ maybe-check-target-libf2c \
+ maybe-check-target-libobjc \
+ maybe-check-target-libtermcap \
+ maybe-check-target-winsup \
+ maybe-check-target-libgloss \
+ maybe-check-target-libiberty \
+ maybe-check-target-gperf \
+ maybe-check-target-examples \
+ maybe-check-target-libffi \
+ maybe-check-target-libjava \
+ maybe-check-target-zlib \
+ maybe-check-target-boehm-gc \
+ maybe-check-target-qthreads \
+ maybe-check-target-rda
# Automated reporting of test results.
@@ -1197,9 +1437,160 @@ mail-report-with-warnings.log: warning.log
# Installation targets.
.PHONY: install uninstall
-install: installdirs @install_host_modules@ @install_target_modules@
-
-install-target: @install_target_modules@
+install: installdirs install-host install-target
+
+.PHONY: install-host-nogcc
+install-host-nogcc: \
+ maybe-install-ash \
+ maybe-install-autoconf \
+ maybe-install-automake \
+ maybe-install-bash \
+ maybe-install-bfd \
+ maybe-install-opcodes \
+ maybe-install-binutils \
+ maybe-install-bison \
+ maybe-install-byacc \
+ maybe-install-bzip2 \
+ maybe-install-dejagnu \
+ maybe-install-diff \
+ maybe-install-dosutils \
+ maybe-install-etc \
+ maybe-install-fastjar \
+ maybe-install-fileutils \
+ maybe-install-findutils \
+ maybe-install-find \
+ maybe-install-flex \
+ maybe-install-gas \
+ maybe-install-gawk \
+ maybe-install-gettext \
+ maybe-install-gnuserv \
+ maybe-install-gprof \
+ maybe-install-gzip \
+ maybe-install-hello \
+ maybe-install-indent \
+ maybe-install-intl \
+ maybe-install-tcl \
+ maybe-install-itcl \
+ maybe-install-ld \
+ maybe-install-libgui \
+ maybe-install-libiberty \
+ maybe-install-libtool \
+ maybe-install-m4 \
+ maybe-install-make \
+ maybe-install-mmalloc \
+ maybe-install-patch \
+ maybe-install-perl \
+ maybe-install-prms \
+ maybe-install-rcs \
+ maybe-install-readline \
+ maybe-install-release \
+ maybe-install-recode \
+ maybe-install-sed \
+ maybe-install-send-pr \
+ maybe-install-shellutils \
+ maybe-install-sid \
+ maybe-install-sim \
+ maybe-install-tar \
+ maybe-install-texinfo \
+ maybe-install-textutils \
+ maybe-install-time \
+ maybe-install-uudecode \
+ maybe-install-wdiff \
+ maybe-install-zip \
+ maybe-install-zlib \
+ maybe-install-gdb \
+ maybe-install-expect \
+ maybe-install-guile \
+ maybe-install-tk \
+ maybe-install-tix \
+ maybe-install-libtermcap \
+ maybe-install-utils
+
+.PHONY: install-host
+install-host: maybe-install-gcc \
+ maybe-install-ash \
+ maybe-install-autoconf \
+ maybe-install-automake \
+ maybe-install-bash \
+ maybe-install-bfd \
+ maybe-install-opcodes \
+ maybe-install-binutils \
+ maybe-install-bison \
+ maybe-install-byacc \
+ maybe-install-bzip2 \
+ maybe-install-dejagnu \
+ maybe-install-diff \
+ maybe-install-dosutils \
+ maybe-install-etc \
+ maybe-install-fastjar \
+ maybe-install-fileutils \
+ maybe-install-findutils \
+ maybe-install-find \
+ maybe-install-flex \
+ maybe-install-gas \
+ maybe-install-gawk \
+ maybe-install-gettext \
+ maybe-install-gnuserv \
+ maybe-install-gprof \
+ maybe-install-gzip \
+ maybe-install-hello \
+ maybe-install-indent \
+ maybe-install-intl \
+ maybe-install-tcl \
+ maybe-install-itcl \
+ maybe-install-ld \
+ maybe-install-libgui \
+ maybe-install-libiberty \
+ maybe-install-libtool \
+ maybe-install-m4 \
+ maybe-install-make \
+ maybe-install-mmalloc \
+ maybe-install-patch \
+ maybe-install-perl \
+ maybe-install-prms \
+ maybe-install-rcs \
+ maybe-install-readline \
+ maybe-install-release \
+ maybe-install-recode \
+ maybe-install-sed \
+ maybe-install-send-pr \
+ maybe-install-shellutils \
+ maybe-install-sid \
+ maybe-install-sim \
+ maybe-install-tar \
+ maybe-install-texinfo \
+ maybe-install-textutils \
+ maybe-install-time \
+ maybe-install-uudecode \
+ maybe-install-wdiff \
+ maybe-install-zip \
+ maybe-install-zlib \
+ maybe-install-gdb \
+ maybe-install-expect \
+ maybe-install-guile \
+ maybe-install-tk \
+ maybe-install-tix \
+ maybe-install-libtermcap \
+ maybe-install-utils
+
+.PHONY: install-target
+install-target: \
+ maybe-install-target-libstdc++-v3 \
+ maybe-install-target-newlib \
+ maybe-install-target-libf2c \
+ maybe-install-target-libobjc \
+ maybe-install-target-libtermcap \
+ maybe-install-target-winsup \
+ maybe-install-target-libgloss \
+ maybe-install-target-libiberty \
+ maybe-install-target-gperf \
+ maybe-install-target-examples \
+ maybe-install-target-libffi \
+ maybe-install-target-libjava \
+ maybe-install-target-zlib \
+ maybe-install-target-boehm-gc \
+ maybe-install-target-qthreads \
+ maybe-install-target-rda
uninstall:
@echo "the uninstall target is not supported in this tree"
@@ -1218,8 +1609,8 @@ install.all: install-no-fixedincludes
# install-no-fixedincludes is used because Cygnus can not distribute
# the fixed header files.
.PHONY: install-no-fixedincludes
-install-no-fixedincludes: installdirs @install_host_modules_nogcc@ \
- @install_target_modules@ gcc-no-fixedincludes
+install-no-fixedincludes: installdirs install-host-nogcc \
+ install-target gcc-no-fixedincludes
### other supporting targets
@@ -1377,8 +1768,9 @@ all-ash: configure-ash
$(SET_LIB_PATH) \
(cd ash && $(MAKE) $(FLAGS_TO_PASS) all)
+.PHONY: check-ash maybe-check-ash
+maybe-check-ash:
-.PHONY: check-ash
check-ash:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -1386,9 +1778,9 @@ check-ash:
(cd ash && $(MAKE) $(FLAGS_TO_PASS) check)
-
.PHONY: install-ash maybe-install-ash
maybe-install-ash:
+
install-ash: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -1444,8 +1836,9 @@ all-autoconf: configure-autoconf
$(SET_LIB_PATH) \
(cd autoconf && $(MAKE) $(FLAGS_TO_PASS) all)
+.PHONY: check-autoconf maybe-check-autoconf
+maybe-check-autoconf:
-.PHONY: check-autoconf
check-autoconf:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -1453,9 +1846,9 @@ check-autoconf:
(cd autoconf && $(MAKE) $(FLAGS_TO_PASS) check)
-
.PHONY: install-autoconf maybe-install-autoconf
maybe-install-autoconf:
+
install-autoconf: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -1511,8 +1904,9 @@ all-automake: configure-automake
$(SET_LIB_PATH) \
(cd automake && $(MAKE) $(FLAGS_TO_PASS) all)
+.PHONY: check-automake maybe-check-automake
+maybe-check-automake:
-.PHONY: check-automake
check-automake:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -1520,9 +1914,9 @@ check-automake:
(cd automake && $(MAKE) $(FLAGS_TO_PASS) check)
-
.PHONY: install-automake maybe-install-automake
maybe-install-automake:
+
install-automake: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -1578,8 +1972,9 @@ all-bash: configure-bash
$(SET_LIB_PATH) \
(cd bash && $(MAKE) $(FLAGS_TO_PASS) all)
+.PHONY: check-bash maybe-check-bash
+maybe-check-bash:
-.PHONY: check-bash
check-bash:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -1587,9 +1982,9 @@ check-bash:
(cd bash && $(MAKE) $(FLAGS_TO_PASS) check)
-
.PHONY: install-bash maybe-install-bash
maybe-install-bash:
+
install-bash: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -1645,8 +2040,9 @@ all-bfd: configure-bfd
$(SET_LIB_PATH) \
(cd bfd && $(MAKE) $(FLAGS_TO_PASS) all)
+.PHONY: check-bfd maybe-check-bfd
+maybe-check-bfd:
-.PHONY: check-bfd
check-bfd:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -1654,9 +2050,9 @@ check-bfd:
(cd bfd && $(MAKE) $(FLAGS_TO_PASS) check)
-
.PHONY: install-bfd maybe-install-bfd
maybe-install-bfd:
+
install-bfd: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -1712,8 +2108,9 @@ all-opcodes: configure-opcodes
$(SET_LIB_PATH) \
(cd opcodes && $(MAKE) $(FLAGS_TO_PASS) all)
+.PHONY: check-opcodes maybe-check-opcodes
+maybe-check-opcodes:
-.PHONY: check-opcodes
check-opcodes:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -1721,9 +2118,9 @@ check-opcodes:
(cd opcodes && $(MAKE) $(FLAGS_TO_PASS) check)
-
.PHONY: install-opcodes maybe-install-opcodes
maybe-install-opcodes:
+
install-opcodes: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -1779,8 +2176,9 @@ all-binutils: configure-binutils
$(SET_LIB_PATH) \
(cd binutils && $(MAKE) $(FLAGS_TO_PASS) all)
+.PHONY: check-binutils maybe-check-binutils
+maybe-check-binutils:
-.PHONY: check-binutils
check-binutils:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -1788,9 +2186,9 @@ check-binutils:
(cd binutils && $(MAKE) $(FLAGS_TO_PASS) check)
-
.PHONY: install-binutils maybe-install-binutils
maybe-install-binutils:
+
install-binutils: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -1846,8 +2244,9 @@ all-bison: configure-bison
$(SET_LIB_PATH) \
(cd bison && $(MAKE) $(FLAGS_TO_PASS) all)
+.PHONY: check-bison maybe-check-bison
+maybe-check-bison:
-.PHONY: check-bison
# This module is only tested in a native toolchain.
check-bison:
@if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
@@ -1858,9 +2257,9 @@ check-bison:
fi
-
.PHONY: install-bison maybe-install-bison
maybe-install-bison:
+
install-bison: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -1916,8 +2315,9 @@ all-byacc: configure-byacc
$(SET_LIB_PATH) \
(cd byacc && $(MAKE) $(FLAGS_TO_PASS) all)
+.PHONY: check-byacc maybe-check-byacc
+maybe-check-byacc:
-.PHONY: check-byacc
# This module is only tested in a native toolchain.
check-byacc:
@if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
@@ -1928,9 +2328,9 @@ check-byacc:
fi
-
.PHONY: install-byacc maybe-install-byacc
maybe-install-byacc:
+
install-byacc: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -1986,8 +2386,9 @@ all-bzip2: configure-bzip2
$(SET_LIB_PATH) \
(cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) all)
+.PHONY: check-bzip2 maybe-check-bzip2
+maybe-check-bzip2:
-.PHONY: check-bzip2
check-bzip2:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -1995,9 +2396,9 @@ check-bzip2:
(cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) check)
-
.PHONY: install-bzip2 maybe-install-bzip2
maybe-install-bzip2:
+
install-bzip2: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -2053,8 +2454,9 @@ all-dejagnu: configure-dejagnu
$(SET_LIB_PATH) \
(cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) all)
+.PHONY: check-dejagnu maybe-check-dejagnu
+maybe-check-dejagnu:
-.PHONY: check-dejagnu
check-dejagnu:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -2062,9 +2464,9 @@ check-dejagnu:
(cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) check)
-
.PHONY: install-dejagnu maybe-install-dejagnu
maybe-install-dejagnu:
+
install-dejagnu: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -2120,8 +2522,9 @@ all-diff: configure-diff
$(SET_LIB_PATH) \
(cd diff && $(MAKE) $(FLAGS_TO_PASS) all)
+.PHONY: check-diff maybe-check-diff
+maybe-check-diff:
-.PHONY: check-diff
check-diff:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -2129,9 +2532,9 @@ check-diff:
(cd diff && $(MAKE) $(FLAGS_TO_PASS) check)
-
.PHONY: install-diff maybe-install-diff
maybe-install-diff:
+
install-diff: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -2187,14 +2590,15 @@ all-dosutils: configure-dosutils
$(SET_LIB_PATH) \
(cd dosutils && $(MAKE) $(FLAGS_TO_PASS) all)
+.PHONY: check-dosutils maybe-check-dosutils
+maybe-check-dosutils:
-.PHONY: check-dosutils
check-dosutils:
-
.PHONY: install-dosutils maybe-install-dosutils
maybe-install-dosutils:
+
install-dosutils: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -2250,8 +2654,9 @@ all-etc: configure-etc
$(SET_LIB_PATH) \
(cd etc && $(MAKE) $(FLAGS_TO_PASS) all)
+.PHONY: check-etc maybe-check-etc
+maybe-check-etc:
-.PHONY: check-etc
check-etc:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -2259,9 +2664,9 @@ check-etc:
(cd etc && $(MAKE) $(FLAGS_TO_PASS) check)
-
.PHONY: install-etc maybe-install-etc
maybe-install-etc:
+
install-etc: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -2317,8 +2722,9 @@ all-fastjar: configure-fastjar
$(SET_LIB_PATH) \
(cd fastjar && $(MAKE) $(FLAGS_TO_PASS) all)
+.PHONY: check-fastjar maybe-check-fastjar
+maybe-check-fastjar:
-.PHONY: check-fastjar
# This module is only tested in a native toolchain.
check-fastjar:
@if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
@@ -2329,9 +2735,9 @@ check-fastjar:
fi
-
.PHONY: install-fastjar maybe-install-fastjar
maybe-install-fastjar:
+
install-fastjar: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -2387,8 +2793,9 @@ all-fileutils: configure-fileutils
$(SET_LIB_PATH) \
(cd fileutils && $(MAKE) $(FLAGS_TO_PASS) all)
+.PHONY: check-fileutils maybe-check-fileutils
+maybe-check-fileutils:
-.PHONY: check-fileutils
check-fileutils:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -2396,9 +2803,9 @@ check-fileutils:
(cd fileutils && $(MAKE) $(FLAGS_TO_PASS) check)
-
.PHONY: install-fileutils maybe-install-fileutils
maybe-install-fileutils:
+
install-fileutils: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -2454,8 +2861,9 @@ all-findutils: configure-findutils
$(SET_LIB_PATH) \
(cd findutils && $(MAKE) $(FLAGS_TO_PASS) all)
+.PHONY: check-findutils maybe-check-findutils
+maybe-check-findutils:
-.PHONY: check-findutils
check-findutils:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -2463,9 +2871,9 @@ check-findutils:
(cd findutils && $(MAKE) $(FLAGS_TO_PASS) check)
-
.PHONY: install-findutils maybe-install-findutils
maybe-install-findutils:
+
install-findutils: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -2521,8 +2929,9 @@ all-find: configure-find
$(SET_LIB_PATH) \
(cd find && $(MAKE) $(FLAGS_TO_PASS) all)
+.PHONY: check-find maybe-check-find
+maybe-check-find:
-.PHONY: check-find
check-find:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -2530,9 +2939,9 @@ check-find:
(cd find && $(MAKE) $(FLAGS_TO_PASS) check)
-
.PHONY: install-find maybe-install-find
maybe-install-find:
+
install-find: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -2588,8 +2997,9 @@ all-flex: configure-flex
$(SET_LIB_PATH) \
(cd flex && $(MAKE) $(FLAGS_TO_PASS) all)
+.PHONY: check-flex maybe-check-flex
+maybe-check-flex:
-.PHONY: check-flex
# This module is only tested in a native toolchain.
check-flex:
@if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
@@ -2600,9 +3010,9 @@ check-flex:
fi
-
.PHONY: install-flex maybe-install-flex
maybe-install-flex:
+
install-flex: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -2658,8 +3068,9 @@ all-gas: configure-gas
$(SET_LIB_PATH) \
(cd gas && $(MAKE) $(FLAGS_TO_PASS) all)
+.PHONY: check-gas maybe-check-gas
+maybe-check-gas:
-.PHONY: check-gas
check-gas:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -2667,9 +3078,9 @@ check-gas:
(cd gas && $(MAKE) $(FLAGS_TO_PASS) check)
-
.PHONY: install-gas maybe-install-gas
maybe-install-gas:
+
install-gas: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -2725,8 +3136,9 @@ all-gawk: configure-gawk
$(SET_LIB_PATH) \
(cd gawk && $(MAKE) $(FLAGS_TO_PASS) all)
+.PHONY: check-gawk maybe-check-gawk
+maybe-check-gawk:
-.PHONY: check-gawk
check-gawk:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -2734,9 +3146,9 @@ check-gawk:
(cd gawk && $(MAKE) $(FLAGS_TO_PASS) check)
-
.PHONY: install-gawk maybe-install-gawk
maybe-install-gawk:
+
install-gawk: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -2792,8 +3204,9 @@ all-gettext: configure-gettext
$(SET_LIB_PATH) \
(cd gettext && $(MAKE) $(FLAGS_TO_PASS) all)
+.PHONY: check-gettext maybe-check-gettext
+maybe-check-gettext:
-.PHONY: check-gettext
check-gettext:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -2801,9 +3214,9 @@ check-gettext:
(cd gettext && $(MAKE) $(FLAGS_TO_PASS) check)
-
.PHONY: install-gettext maybe-install-gettext
maybe-install-gettext:
+
install-gettext: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -2859,8 +3272,9 @@ all-gnuserv: configure-gnuserv
$(SET_LIB_PATH) \
(cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) all)
+.PHONY: check-gnuserv maybe-check-gnuserv
+maybe-check-gnuserv:
-.PHONY: check-gnuserv
check-gnuserv:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -2868,9 +3282,9 @@ check-gnuserv:
(cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) check)
-
.PHONY: install-gnuserv maybe-install-gnuserv
maybe-install-gnuserv:
+
install-gnuserv: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -2926,8 +3340,9 @@ all-gprof: configure-gprof
$(SET_LIB_PATH) \
(cd gprof && $(MAKE) $(FLAGS_TO_PASS) all)
+.PHONY: check-gprof maybe-check-gprof
+maybe-check-gprof:
-.PHONY: check-gprof
check-gprof:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -2935,9 +3350,9 @@ check-gprof:
(cd gprof && $(MAKE) $(FLAGS_TO_PASS) check)
-
.PHONY: install-gprof maybe-install-gprof
maybe-install-gprof:
+
install-gprof: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -2993,8 +3408,9 @@ all-gzip: configure-gzip
$(SET_LIB_PATH) \
(cd gzip && $(MAKE) $(FLAGS_TO_PASS) all)
+.PHONY: check-gzip maybe-check-gzip
+maybe-check-gzip:
-.PHONY: check-gzip
check-gzip:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -3002,9 +3418,9 @@ check-gzip:
(cd gzip && $(MAKE) $(FLAGS_TO_PASS) check)
-
.PHONY: install-gzip maybe-install-gzip
maybe-install-gzip:
+
install-gzip: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -3060,8 +3476,9 @@ all-hello: configure-hello
$(SET_LIB_PATH) \
(cd hello && $(MAKE) $(FLAGS_TO_PASS) all)
+.PHONY: check-hello maybe-check-hello
+maybe-check-hello:
-.PHONY: check-hello
check-hello:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -3069,9 +3486,9 @@ check-hello:
(cd hello && $(MAKE) $(FLAGS_TO_PASS) check)
-
.PHONY: install-hello maybe-install-hello
maybe-install-hello:
+
install-hello: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -3127,8 +3544,9 @@ all-indent: configure-indent
$(SET_LIB_PATH) \
(cd indent && $(MAKE) $(FLAGS_TO_PASS) all)
+.PHONY: check-indent maybe-check-indent
+maybe-check-indent:
-.PHONY: check-indent
check-indent:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -3136,9 +3554,9 @@ check-indent:
(cd indent && $(MAKE) $(FLAGS_TO_PASS) check)
-
.PHONY: install-indent maybe-install-indent
maybe-install-indent:
+
install-indent: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -3194,8 +3612,9 @@ all-intl: configure-intl
$(SET_LIB_PATH) \
(cd intl && $(MAKE) $(FLAGS_TO_PASS) all)
+.PHONY: check-intl maybe-check-intl
+maybe-check-intl:
-.PHONY: check-intl
check-intl:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -3203,9 +3622,9 @@ check-intl:
(cd intl && $(MAKE) $(FLAGS_TO_PASS) check)
-
.PHONY: install-intl maybe-install-intl
maybe-install-intl:
+
install-intl: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -3261,8 +3680,9 @@ all-tcl: configure-tcl
$(SET_LIB_PATH) \
(cd tcl && $(MAKE) $(FLAGS_TO_PASS) all)
+.PHONY: check-tcl maybe-check-tcl
+maybe-check-tcl:
-.PHONY: check-tcl
check-tcl:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -3270,9 +3690,9 @@ check-tcl:
(cd tcl && $(MAKE) $(FLAGS_TO_PASS) check)
-
.PHONY: install-tcl maybe-install-tcl
maybe-install-tcl:
+
install-tcl: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -3328,8 +3748,9 @@ all-itcl: configure-itcl
$(SET_LIB_PATH) \
(cd itcl && $(MAKE) $(FLAGS_TO_PASS) all)
+.PHONY: check-itcl maybe-check-itcl
+maybe-check-itcl:
-.PHONY: check-itcl
check-itcl:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -3337,9 +3758,9 @@ check-itcl:
(cd itcl && $(MAKE) $(FLAGS_TO_PASS) check)
-
.PHONY: install-itcl maybe-install-itcl
maybe-install-itcl:
+
install-itcl: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -3395,8 +3816,9 @@ all-ld: configure-ld
$(SET_LIB_PATH) \
(cd ld && $(MAKE) $(FLAGS_TO_PASS) all)
+.PHONY: check-ld maybe-check-ld
+maybe-check-ld:
-.PHONY: check-ld
check-ld:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -3404,9 +3826,9 @@ check-ld:
(cd ld && $(MAKE) $(FLAGS_TO_PASS) check)
-
.PHONY: install-ld maybe-install-ld
maybe-install-ld:
+
install-ld: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -3462,8 +3884,9 @@ all-libgui: configure-libgui
$(SET_LIB_PATH) \
(cd libgui && $(MAKE) $(FLAGS_TO_PASS) all)
+.PHONY: check-libgui maybe-check-libgui
+maybe-check-libgui:
-.PHONY: check-libgui
check-libgui:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -3471,9 +3894,9 @@ check-libgui:
(cd libgui && $(MAKE) $(FLAGS_TO_PASS) check)
-
.PHONY: install-libgui maybe-install-libgui
maybe-install-libgui:
+
install-libgui: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -3529,8 +3952,9 @@ all-libiberty: configure-libiberty
$(SET_LIB_PATH) \
(cd libiberty && $(MAKE) $(FLAGS_TO_PASS) all)
+.PHONY: check-libiberty maybe-check-libiberty
+maybe-check-libiberty:
-.PHONY: check-libiberty
check-libiberty:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -3538,9 +3962,9 @@ check-libiberty:
(cd libiberty && $(MAKE) $(FLAGS_TO_PASS) check)
-
.PHONY: install-libiberty maybe-install-libiberty
maybe-install-libiberty:
+
install-libiberty: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -3596,8 +4020,9 @@ all-libtool: configure-libtool
$(SET_LIB_PATH) \
(cd libtool && $(MAKE) $(FLAGS_TO_PASS) all)
+.PHONY: check-libtool maybe-check-libtool
+maybe-check-libtool:
-.PHONY: check-libtool
check-libtool:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -3605,9 +4030,9 @@ check-libtool:
(cd libtool && $(MAKE) $(FLAGS_TO_PASS) check)
-
.PHONY: install-libtool maybe-install-libtool
maybe-install-libtool:
+
install-libtool: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -3663,8 +4088,9 @@ all-m4: configure-m4
$(SET_LIB_PATH) \
(cd m4 && $(MAKE) $(FLAGS_TO_PASS) all)
+.PHONY: check-m4 maybe-check-m4
+maybe-check-m4:
-.PHONY: check-m4
check-m4:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -3672,9 +4098,9 @@ check-m4:
(cd m4 && $(MAKE) $(FLAGS_TO_PASS) check)
-
.PHONY: install-m4 maybe-install-m4
maybe-install-m4:
+
install-m4: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -3730,8 +4156,9 @@ all-make: configure-make
$(SET_LIB_PATH) \
(cd make && $(MAKE) $(FLAGS_TO_PASS) all)
+.PHONY: check-make maybe-check-make
+maybe-check-make:
-.PHONY: check-make
check-make:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -3739,9 +4166,9 @@ check-make:
(cd make && $(MAKE) $(FLAGS_TO_PASS) check)
-
.PHONY: install-make maybe-install-make
maybe-install-make:
+
install-make: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -3797,14 +4224,15 @@ all-mmalloc: configure-mmalloc
$(SET_LIB_PATH) \
(cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) all)
+.PHONY: check-mmalloc maybe-check-mmalloc
+maybe-check-mmalloc:
-.PHONY: check-mmalloc
check-mmalloc:
-
.PHONY: install-mmalloc maybe-install-mmalloc
maybe-install-mmalloc:
+
install-mmalloc: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -3860,8 +4288,9 @@ all-patch: configure-patch
$(SET_LIB_PATH) \
(cd patch && $(MAKE) $(FLAGS_TO_PASS) all)
+.PHONY: check-patch maybe-check-patch
+maybe-check-patch:
-.PHONY: check-patch
check-patch:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -3869,9 +4298,9 @@ check-patch:
(cd patch && $(MAKE) $(FLAGS_TO_PASS) check)
-
.PHONY: install-patch maybe-install-patch
maybe-install-patch:
+
install-patch: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -3927,8 +4356,9 @@ all-perl: configure-perl
$(SET_LIB_PATH) \
(cd perl && $(MAKE) $(FLAGS_TO_PASS) all)
+.PHONY: check-perl maybe-check-perl
+maybe-check-perl:
-.PHONY: check-perl
check-perl:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -3936,9 +4366,9 @@ check-perl:
(cd perl && $(MAKE) $(FLAGS_TO_PASS) check)
-
.PHONY: install-perl maybe-install-perl
maybe-install-perl:
+
install-perl: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -3994,8 +4424,9 @@ all-prms: configure-prms
$(SET_LIB_PATH) \
(cd prms && $(MAKE) $(FLAGS_TO_PASS) all)
+.PHONY: check-prms maybe-check-prms
+maybe-check-prms:
-.PHONY: check-prms
check-prms:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -4003,9 +4434,9 @@ check-prms:
(cd prms && $(MAKE) $(FLAGS_TO_PASS) check)
-
.PHONY: install-prms maybe-install-prms
maybe-install-prms:
+
install-prms: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -4061,8 +4492,9 @@ all-rcs: configure-rcs
$(SET_LIB_PATH) \
(cd rcs && $(MAKE) $(FLAGS_TO_PASS) all)
+.PHONY: check-rcs maybe-check-rcs
+maybe-check-rcs:
-.PHONY: check-rcs
check-rcs:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -4070,9 +4502,9 @@ check-rcs:
(cd rcs && $(MAKE) $(FLAGS_TO_PASS) check)
-
.PHONY: install-rcs maybe-install-rcs
maybe-install-rcs:
+
install-rcs: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -4128,8 +4560,9 @@ all-readline: configure-readline
$(SET_LIB_PATH) \
(cd readline && $(MAKE) $(FLAGS_TO_PASS) all)
+.PHONY: check-readline maybe-check-readline
+maybe-check-readline:
-.PHONY: check-readline
check-readline:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -4137,9 +4570,9 @@ check-readline:
(cd readline && $(MAKE) $(FLAGS_TO_PASS) check)
-
.PHONY: install-readline maybe-install-readline
maybe-install-readline:
+
install-readline: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -4195,14 +4628,15 @@ all-release: configure-release
$(SET_LIB_PATH) \
(cd release && $(MAKE) $(FLAGS_TO_PASS) all)
+.PHONY: check-release maybe-check-release
+maybe-check-release:
-.PHONY: check-release
check-release:
-
.PHONY: install-release maybe-install-release
maybe-install-release:
+
install-release:
@@ -4254,8 +4688,9 @@ all-recode: configure-recode
$(SET_LIB_PATH) \
(cd recode && $(MAKE) $(FLAGS_TO_PASS) all)
+.PHONY: check-recode maybe-check-recode
+maybe-check-recode:
-.PHONY: check-recode
check-recode:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -4263,9 +4698,9 @@ check-recode:
(cd recode && $(MAKE) $(FLAGS_TO_PASS) check)
-
.PHONY: install-recode maybe-install-recode
maybe-install-recode:
+
install-recode: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -4321,8 +4756,9 @@ all-sed: configure-sed
$(SET_LIB_PATH) \
(cd sed && $(MAKE) $(FLAGS_TO_PASS) all)
+.PHONY: check-sed maybe-check-sed
+maybe-check-sed:
-.PHONY: check-sed
check-sed:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -4330,9 +4766,9 @@ check-sed:
(cd sed && $(MAKE) $(FLAGS_TO_PASS) check)
-
.PHONY: install-sed maybe-install-sed
maybe-install-sed:
+
install-sed: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -4388,8 +4824,9 @@ all-send-pr: configure-send-pr
$(SET_LIB_PATH) \
(cd send-pr && $(MAKE) $(FLAGS_TO_PASS) all)
+.PHONY: check-send-pr maybe-check-send-pr
+maybe-check-send-pr:
-.PHONY: check-send-pr
check-send-pr:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -4397,9 +4834,9 @@ check-send-pr:
(cd send-pr && $(MAKE) $(FLAGS_TO_PASS) check)
-
.PHONY: install-send-pr maybe-install-send-pr
maybe-install-send-pr:
+
install-send-pr: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -4455,8 +4892,9 @@ all-shellutils: configure-shellutils
$(SET_LIB_PATH) \
(cd shellutils && $(MAKE) $(FLAGS_TO_PASS) all)
+.PHONY: check-shellutils maybe-check-shellutils
+maybe-check-shellutils:
-.PHONY: check-shellutils
check-shellutils:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -4464,9 +4902,9 @@ check-shellutils:
(cd shellutils && $(MAKE) $(FLAGS_TO_PASS) check)
-
.PHONY: install-shellutils maybe-install-shellutils
maybe-install-shellutils:
+
install-shellutils: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -4522,8 +4960,9 @@ all-sid: configure-sid
$(SET_LIB_PATH) \
(cd sid && $(MAKE) $(FLAGS_TO_PASS) all)
+.PHONY: check-sid maybe-check-sid
+maybe-check-sid:
-.PHONY: check-sid
check-sid:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -4531,9 +4970,9 @@ check-sid:
(cd sid && $(MAKE) $(FLAGS_TO_PASS) check)
-
.PHONY: install-sid maybe-install-sid
maybe-install-sid:
+
install-sid: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -4589,8 +5028,9 @@ all-sim: configure-sim
$(SET_LIB_PATH) \
(cd sim && $(MAKE) $(FLAGS_TO_PASS) all)
+.PHONY: check-sim maybe-check-sim
+maybe-check-sim:
-.PHONY: check-sim
check-sim:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -4598,9 +5038,9 @@ check-sim:
(cd sim && $(MAKE) $(FLAGS_TO_PASS) check)
-
.PHONY: install-sim maybe-install-sim
maybe-install-sim:
+
install-sim: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -4656,8 +5096,9 @@ all-tar: configure-tar
$(SET_LIB_PATH) \
(cd tar && $(MAKE) $(FLAGS_TO_PASS) all)
+.PHONY: check-tar maybe-check-tar
+maybe-check-tar:
-.PHONY: check-tar
check-tar:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -4665,9 +5106,9 @@ check-tar:
(cd tar && $(MAKE) $(FLAGS_TO_PASS) check)
-
.PHONY: install-tar maybe-install-tar
maybe-install-tar:
+
install-tar: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -4723,8 +5164,9 @@ all-texinfo: configure-texinfo
$(SET_LIB_PATH) \
(cd texinfo && $(MAKE) $(FLAGS_TO_PASS) all)
+.PHONY: check-texinfo maybe-check-texinfo
+maybe-check-texinfo:
-.PHONY: check-texinfo
check-texinfo:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -4732,9 +5174,9 @@ check-texinfo:
(cd texinfo && $(MAKE) $(FLAGS_TO_PASS) check)
-
.PHONY: install-texinfo maybe-install-texinfo
maybe-install-texinfo:
+
install-texinfo:
@@ -4786,8 +5228,9 @@ all-textutils: configure-textutils
$(SET_LIB_PATH) \
(cd textutils && $(MAKE) $(FLAGS_TO_PASS) all)
+.PHONY: check-textutils maybe-check-textutils
+maybe-check-textutils:
-.PHONY: check-textutils
check-textutils:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -4795,9 +5238,9 @@ check-textutils:
(cd textutils && $(MAKE) $(FLAGS_TO_PASS) check)
-
.PHONY: install-textutils maybe-install-textutils
maybe-install-textutils:
+
install-textutils: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -4853,8 +5296,9 @@ all-time: configure-time
$(SET_LIB_PATH) \
(cd time && $(MAKE) $(FLAGS_TO_PASS) all)
+.PHONY: check-time maybe-check-time
+maybe-check-time:
-.PHONY: check-time
check-time:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -4862,9 +5306,9 @@ check-time:
(cd time && $(MAKE) $(FLAGS_TO_PASS) check)
-
.PHONY: install-time maybe-install-time
maybe-install-time:
+
install-time: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -4920,8 +5364,9 @@ all-uudecode: configure-uudecode
$(SET_LIB_PATH) \
(cd uudecode && $(MAKE) $(FLAGS_TO_PASS) all)
+.PHONY: check-uudecode maybe-check-uudecode
+maybe-check-uudecode:
-.PHONY: check-uudecode
check-uudecode:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -4929,9 +5374,9 @@ check-uudecode:
(cd uudecode && $(MAKE) $(FLAGS_TO_PASS) check)
-
.PHONY: install-uudecode maybe-install-uudecode
maybe-install-uudecode:
+
install-uudecode: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -4987,8 +5432,9 @@ all-wdiff: configure-wdiff
$(SET_LIB_PATH) \
(cd wdiff && $(MAKE) $(FLAGS_TO_PASS) all)
+.PHONY: check-wdiff maybe-check-wdiff
+maybe-check-wdiff:
-.PHONY: check-wdiff
check-wdiff:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -4996,9 +5442,9 @@ check-wdiff:
(cd wdiff && $(MAKE) $(FLAGS_TO_PASS) check)
-
.PHONY: install-wdiff maybe-install-wdiff
maybe-install-wdiff:
+
install-wdiff: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -5054,8 +5500,9 @@ all-zip: configure-zip
$(SET_LIB_PATH) \
(cd zip && $(MAKE) $(FLAGS_TO_PASS) all)
+.PHONY: check-zip maybe-check-zip
+maybe-check-zip:
-.PHONY: check-zip
# This module is only tested in a native toolchain.
check-zip:
@if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
@@ -5066,9 +5513,9 @@ check-zip:
fi
-
.PHONY: install-zip maybe-install-zip
maybe-install-zip:
+
install-zip: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -5124,14 +5571,15 @@ all-zlib: configure-zlib
$(SET_LIB_PATH) \
(cd zlib && $(MAKE) $(FLAGS_TO_PASS) all)
+.PHONY: check-zlib maybe-check-zlib
+maybe-check-zlib:
-.PHONY: check-zlib
check-zlib:
-
.PHONY: install-zlib maybe-install-zlib
maybe-install-zlib:
+
install-zlib:
@@ -5183,8 +5631,9 @@ all-gdb: configure-gdb
$(SET_LIB_PATH) \
(cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
+.PHONY: check-gdb maybe-check-gdb
+maybe-check-gdb:
-.PHONY: check-gdb
check-gdb:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -5192,9 +5641,9 @@ check-gdb:
(cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
-
.PHONY: install-gdb maybe-install-gdb
maybe-install-gdb:
+
install-gdb: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -5250,8 +5699,9 @@ all-expect: configure-expect
$(SET_LIB_PATH) \
(cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
+.PHONY: check-expect maybe-check-expect
+maybe-check-expect:
-.PHONY: check-expect
check-expect:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -5259,9 +5709,9 @@ check-expect:
(cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
-
.PHONY: install-expect maybe-install-expect
maybe-install-expect:
+
install-expect: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -5317,8 +5767,9 @@ all-guile: configure-guile
$(SET_LIB_PATH) \
(cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
+.PHONY: check-guile maybe-check-guile
+maybe-check-guile:
-.PHONY: check-guile
check-guile:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -5326,9 +5777,9 @@ check-guile:
(cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
-
.PHONY: install-guile maybe-install-guile
maybe-install-guile:
+
install-guile: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -5384,8 +5835,9 @@ all-tk: configure-tk
$(SET_LIB_PATH) \
(cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
+.PHONY: check-tk maybe-check-tk
+maybe-check-tk:
-.PHONY: check-tk
check-tk:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -5393,9 +5845,9 @@ check-tk:
(cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
-
.PHONY: install-tk maybe-install-tk
maybe-install-tk:
+
install-tk: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -5451,8 +5903,9 @@ all-tix: configure-tix
$(SET_LIB_PATH) \
(cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
+.PHONY: check-tix maybe-check-tix
+maybe-check-tix:
-.PHONY: check-tix
check-tix:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -5460,9 +5913,9 @@ check-tix:
(cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
-
.PHONY: install-tix maybe-install-tix
maybe-install-tix:
+
install-tix: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -5518,14 +5971,15 @@ all-libtermcap: configure-libtermcap
$(SET_LIB_PATH) \
(cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) all)
+.PHONY: check-libtermcap maybe-check-libtermcap
+maybe-check-libtermcap:
-.PHONY: check-libtermcap
check-libtermcap:
-
.PHONY: install-libtermcap maybe-install-libtermcap
maybe-install-libtermcap:
+
install-libtermcap: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -5581,14 +6035,15 @@ all-utils: configure-utils
$(SET_LIB_PATH) \
(cd utils && $(MAKE) $(FLAGS_TO_PASS) all)
+.PHONY: check-utils maybe-check-utils
+maybe-check-utils:
-.PHONY: check-utils
check-utils:
-
.PHONY: install-utils maybe-install-utils
maybe-install-utils:
+
install-utils: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -5683,7 +6138,9 @@ all-target-libstdc++-v3: configure-target-libstdc++-v3
(cd $(TARGET_SUBDIR)/libstdc++-v3 && \
$(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' all)
-.PHONY: check-target-libstdc++-v3
+.PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
+maybe-check-target-libstdc++-v3:
+
check-target-libstdc++-v3:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -5694,6 +6151,7 @@ check-target-libstdc++-v3:
.PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
maybe-install-target-libstdc++-v3:
+
install-target-libstdc++-v3: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -5783,7 +6241,9 @@ all-target-newlib: configure-target-newlib
(cd $(TARGET_SUBDIR)/newlib && \
$(MAKE) $(TARGET_FLAGS_TO_PASS) all)
-.PHONY: check-target-newlib
+.PHONY: check-target-newlib maybe-check-target-newlib
+maybe-check-target-newlib:
+
check-target-newlib:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -5794,6 +6254,7 @@ check-target-newlib:
.PHONY: install-target-newlib maybe-install-target-newlib
maybe-install-target-newlib:
+
install-target-newlib: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -5883,7 +6344,9 @@ all-target-libf2c: configure-target-libf2c
(cd $(TARGET_SUBDIR)/libf2c && \
$(MAKE) $(TARGET_FLAGS_TO_PASS) all)
-.PHONY: check-target-libf2c
+.PHONY: check-target-libf2c maybe-check-target-libf2c
+maybe-check-target-libf2c:
+
check-target-libf2c:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -5894,6 +6357,7 @@ check-target-libf2c:
.PHONY: install-target-libf2c maybe-install-target-libf2c
maybe-install-target-libf2c:
+
install-target-libf2c: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -5983,7 +6447,9 @@ all-target-libobjc: configure-target-libobjc
(cd $(TARGET_SUBDIR)/libobjc && \
$(MAKE) $(TARGET_FLAGS_TO_PASS) all)
-.PHONY: check-target-libobjc
+.PHONY: check-target-libobjc maybe-check-target-libobjc
+maybe-check-target-libobjc:
+
check-target-libobjc:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -5994,6 +6460,7 @@ check-target-libobjc:
.PHONY: install-target-libobjc maybe-install-target-libobjc
maybe-install-target-libobjc:
+
install-target-libobjc: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -6083,13 +6550,16 @@ all-target-libtermcap: configure-target-libtermcap
(cd $(TARGET_SUBDIR)/libtermcap && \
$(MAKE) $(TARGET_FLAGS_TO_PASS) all)
+.PHONY: check-target-libtermcap maybe-check-target-libtermcap
+maybe-check-target-libtermcap:
+
# Dummy target for uncheckable module.
-.PHONY: check-target-libtermcap
check-target-libtermcap:
.PHONY: install-target-libtermcap maybe-install-target-libtermcap
maybe-install-target-libtermcap:
+
install-target-libtermcap: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -6179,7 +6649,9 @@ all-target-winsup: configure-target-winsup
(cd $(TARGET_SUBDIR)/winsup && \
$(MAKE) $(TARGET_FLAGS_TO_PASS) all)
-.PHONY: check-target-winsup
+.PHONY: check-target-winsup maybe-check-target-winsup
+maybe-check-target-winsup:
+
check-target-winsup:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -6190,6 +6662,7 @@ check-target-winsup:
.PHONY: install-target-winsup maybe-install-target-winsup
maybe-install-target-winsup:
+
install-target-winsup: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -6279,13 +6752,16 @@ all-target-libgloss: configure-target-libgloss
(cd $(TARGET_SUBDIR)/libgloss && \
$(MAKE) $(TARGET_FLAGS_TO_PASS) all)
+.PHONY: check-target-libgloss maybe-check-target-libgloss
+maybe-check-target-libgloss:
+
# Dummy target for uncheckable module.
-.PHONY: check-target-libgloss
check-target-libgloss:
.PHONY: install-target-libgloss maybe-install-target-libgloss
maybe-install-target-libgloss:
+
install-target-libgloss: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -6375,7 +6851,9 @@ all-target-libiberty: configure-target-libiberty
(cd $(TARGET_SUBDIR)/libiberty && \
$(MAKE) $(TARGET_FLAGS_TO_PASS) all)
-.PHONY: check-target-libiberty
+.PHONY: check-target-libiberty maybe-check-target-libiberty
+maybe-check-target-libiberty:
+
check-target-libiberty:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -6386,6 +6864,7 @@ check-target-libiberty:
.PHONY: install-target-libiberty maybe-install-target-libiberty
maybe-install-target-libiberty:
+
install-target-libiberty: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -6475,7 +6954,9 @@ all-target-gperf: configure-target-gperf
(cd $(TARGET_SUBDIR)/gperf && \
$(MAKE) $(TARGET_FLAGS_TO_PASS) all)
-.PHONY: check-target-gperf
+.PHONY: check-target-gperf maybe-check-target-gperf
+maybe-check-target-gperf:
+
check-target-gperf:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -6486,6 +6967,7 @@ check-target-gperf:
.PHONY: install-target-gperf maybe-install-target-gperf
maybe-install-target-gperf:
+
install-target-gperf: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -6575,13 +7057,16 @@ all-target-examples: configure-target-examples
(cd $(TARGET_SUBDIR)/examples && \
$(MAKE) $(TARGET_FLAGS_TO_PASS) all)
+.PHONY: check-target-examples maybe-check-target-examples
+maybe-check-target-examples:
+
# Dummy target for uncheckable module.
-.PHONY: check-target-examples
check-target-examples:
.PHONY: install-target-examples maybe-install-target-examples
maybe-install-target-examples:
+
# Dummy target for uninstallable.
install-target-examples:
@@ -6667,7 +7152,9 @@ all-target-libffi: configure-target-libffi
(cd $(TARGET_SUBDIR)/libffi && \
$(MAKE) $(TARGET_FLAGS_TO_PASS) all)
-.PHONY: check-target-libffi
+.PHONY: check-target-libffi maybe-check-target-libffi
+maybe-check-target-libffi:
+
check-target-libffi:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -6678,6 +7165,7 @@ check-target-libffi:
.PHONY: install-target-libffi maybe-install-target-libffi
maybe-install-target-libffi:
+
install-target-libffi: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -6768,7 +7256,9 @@ all-target-libjava: configure-target-libjava
(cd $(TARGET_SUBDIR)/libjava && \
$(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' all)
-.PHONY: check-target-libjava
+.PHONY: check-target-libjava maybe-check-target-libjava
+maybe-check-target-libjava:
+
check-target-libjava:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -6779,6 +7269,7 @@ check-target-libjava:
.PHONY: install-target-libjava maybe-install-target-libjava
maybe-install-target-libjava:
+
install-target-libjava: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -6868,7 +7359,9 @@ all-target-zlib: configure-target-zlib
(cd $(TARGET_SUBDIR)/zlib && \
$(MAKE) $(TARGET_FLAGS_TO_PASS) all)
-.PHONY: check-target-zlib
+.PHONY: check-target-zlib maybe-check-target-zlib
+maybe-check-target-zlib:
+
check-target-zlib:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -6879,6 +7372,7 @@ check-target-zlib:
.PHONY: install-target-zlib maybe-install-target-zlib
maybe-install-target-zlib:
+
install-target-zlib: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -6968,7 +7462,9 @@ all-target-boehm-gc: configure-target-boehm-gc
(cd $(TARGET_SUBDIR)/boehm-gc && \
$(MAKE) $(TARGET_FLAGS_TO_PASS) all)
-.PHONY: check-target-boehm-gc
+.PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
+maybe-check-target-boehm-gc:
+
check-target-boehm-gc:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -6979,6 +7475,7 @@ check-target-boehm-gc:
.PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
maybe-install-target-boehm-gc:
+
install-target-boehm-gc: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -7068,7 +7565,9 @@ all-target-qthreads: configure-target-qthreads
(cd $(TARGET_SUBDIR)/qthreads && \
$(MAKE) $(TARGET_FLAGS_TO_PASS) all)
-.PHONY: check-target-qthreads
+.PHONY: check-target-qthreads maybe-check-target-qthreads
+maybe-check-target-qthreads:
+
check-target-qthreads:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -7079,6 +7578,7 @@ check-target-qthreads:
.PHONY: install-target-qthreads maybe-install-target-qthreads
maybe-install-target-qthreads:
+
install-target-qthreads: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -7168,7 +7668,9 @@ all-target-rda: configure-target-rda
(cd $(TARGET_SUBDIR)/rda && \
$(MAKE) $(TARGET_FLAGS_TO_PASS) all)
-.PHONY: check-target-rda
+.PHONY: check-target-rda maybe-check-target-rda
+maybe-check-target-rda:
+
check-target-rda:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -7179,6 +7681,7 @@ check-target-rda:
.PHONY: install-target-rda maybe-install-target-rda
maybe-install-target-rda:
+
install-target-rda: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -7409,6 +7912,8 @@ all-binutils: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-flex
# binutils might be on PATH, and they might need the shared opcodes
# library.
install-binutils: maybe-install-opcodes
+# libopcodes depends on libbfd
+install-opcodes: maybe-install-bfd
all-gas: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-intl
all-gprof: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-intl
all-ld: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-bison maybe-all-byacc maybe-all-flex maybe-all-intl
diff --git a/Makefile.tpl b/Makefile.tpl
index b634b35..f0f5968 100644
--- a/Makefile.tpl
+++ b/Makefile.tpl
@@ -554,8 +554,16 @@ EXTRA_GCC_FLAGS = \
GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS)
-configure-host: @configure_host_modules@
-configure-target: @configure_target_modules@
+.PHONY: configure-host
+configure-host: maybe-configure-gcc [+
+ FOR host_modules +] \
+ maybe-configure-[+module+][+
+ ENDFOR host_modules +]
+.PHONY: configure-target
+configure-target: [+
+ FOR target_modules +] \
+ maybe-configure-target-[+module+][+
+ ENDFOR target_modules +]
# This is a list of the targets for which we can do a clean-{target}.
CLEAN_MODULES =[+
@@ -578,14 +586,19 @@ CLEAN_X11_MODULES = [+ FOR host_modules +][+ IF with_x +]\
clean-[+module+] [+ ENDIF with_x +][+ ENDFOR host_modules +]
# The target built for a native build.
-# This list only includes modules actually being configured and built.
.PHONY: all.normal
-all.normal: @all_build_modules@ \
- @all_host_modules@ \
- @all_target_modules@
-
-all-host: @all_host_modules@
-all-target: @all_target_modules@
+all.normal: @all_build_modules@ all-host all-target
+
+.PHONY: all-host
+all-host: maybe-all-gcc [+
+ FOR host_modules +] \
+ maybe-all-[+module+][+
+ ENDFOR host_modules +]
+.PHONY: all-target
+all-target: [+
+ FOR target_modules +] \
+ maybe-all-target-[+module+][+
+ ENDFOR target_modules +]
# Do a target for all the subdirectories. A ``make do-X'' will do a
# ``make X'' in all subdirectories (because, in general, there is a
@@ -730,8 +743,13 @@ check:
$(MAKE) do-check NOTPARALLEL=parallel-ok
# Only include modules actually being configured and built.
-do-check: @check_host_modules@ \
- @check_target_modules@
+do-check: maybe-check-gcc [+
+ FOR host_modules +] \
+ maybe-check-[+module+][+
+ ENDFOR host_modules +][+
+ FOR target_modules +] \
+ maybe-check-target-[+module+][+
+ ENDFOR target_modules +]
# Automated reporting of test results.
@@ -757,9 +775,25 @@ mail-report-with-warnings.log: warning.log
# Installation targets.
.PHONY: install uninstall
-install: installdirs @install_host_modules@ @install_target_modules@
-
-install-target: @install_target_modules@
+install: installdirs install-host install-target
+
+.PHONY: install-host-nogcc
+install-host-nogcc: [+
+ FOR host_modules +] \
+ maybe-install-[+module+][+
+ ENDFOR host_modules +]
+
+.PHONY: install-host
+install-host: maybe-install-gcc [+
+ FOR host_modules +] \
+ maybe-install-[+module+][+
+ ENDFOR host_modules +]
+
+.PHONY: install-target
+install-target: [+
+ FOR target_modules +] \
+ maybe-install-target-[+module+][+
+ ENDFOR target_modules +]
uninstall:
@echo "the uninstall target is not supported in this tree"
@@ -778,8 +812,8 @@ install.all: install-no-fixedincludes
# install-no-fixedincludes is used because Cygnus can not distribute
# the fixed header files.
.PHONY: install-no-fixedincludes
-install-no-fixedincludes: installdirs @install_host_modules_nogcc@ \
- @install_target_modules@ gcc-no-fixedincludes
+install-no-fixedincludes: installdirs install-host-nogcc \
+ install-target gcc-no-fixedincludes
### other supporting targets
@@ -940,11 +974,11 @@ all-[+module+]: configure-[+module+]
+] $(X11_FLAGS_TO_PASS)[+
ENDIF with_x +] all)
+.PHONY: check-[+module+] maybe-check-[+module+]
+maybe-check-[+module+]:
[+ IF no_check +]
-.PHONY: check-[+module+]
check-[+module+]:
[+ ELIF no_check_cross +]
-.PHONY: check-[+module+]
# This module is only tested in a native toolchain.
check-[+module+]:
@if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
@@ -957,7 +991,6 @@ check-[+module+]:
ENDIF with_x +] check); \
fi
[+ ELSE check +]
-.PHONY: check-[+module+]
check-[+module+]:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -968,13 +1001,11 @@ check-[+module+]:
ENDIF with_x +] check)
[+ ENDIF no_check +]
-[+ IF no_install +]
.PHONY: install-[+module+] maybe-install-[+module+]
maybe-install-[+module+]:
+[+ IF no_install +]
install-[+module+]:
[+ ELSE install +]
-.PHONY: install-[+module+] maybe-install-[+module+]
-maybe-install-[+module+]:
install-[+module+]: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -1079,12 +1110,13 @@ all-target-[+module+]: configure-target-[+module+]
+] 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' [+
ENDIF raw_cxx
+] all)
+
+.PHONY: check-target-[+module+] maybe-check-target-[+module+]
+maybe-check-target-[+module+]:
[+ IF no_check +]
# Dummy target for uncheckable module.
-.PHONY: check-target-[+module+]
check-target-[+module+]:
[+ ELSE check +]
-.PHONY: check-target-[+module+]
check-target-[+module+]:
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -1096,14 +1128,13 @@ check-target-[+module+]:
ENDIF raw_cxx
+] check)
[+ ENDIF no_check +]
-[+ IF no_install +]
+
.PHONY: install-target-[+module+] maybe-install-target-[+module+]
maybe-install-target-[+module+]:
+[+ IF no_install +]
# Dummy target for uninstallable.
install-target-[+module+]:
[+ ELSE install +]
-.PHONY: install-target-[+module+] maybe-install-target-[+module+]
-maybe-install-target-[+module+]:
install-target-[+module+]: installdirs
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
@@ -1334,6 +1365,8 @@ all-binutils: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-flex
# binutils might be on PATH, and they might need the shared opcodes
# library.
install-binutils: maybe-install-opcodes
+# libopcodes depends on libbfd
+install-opcodes: maybe-install-bfd
all-gas: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-intl
all-gprof: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-intl
all-ld: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-bison maybe-all-byacc maybe-all-flex maybe-all-intl
diff --git a/config.guess b/config.guess
index 4fc21ec..6bdac8d 100755
--- a/config.guess
+++ b/config.guess
@@ -3,7 +3,7 @@
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
-timestamp='2003-01-30'
+timestamp='2003-05-09'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
@@ -235,9 +235,6 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
*:OpenBSD:*:*)
echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
- *:MicroBSD:*:*)
- echo ${UNAME_MACHINE}-unknown-microbsd${UNAME_RELEASE}
- exit 0 ;;
alpha:OSF1:*:*)
if test $UNAME_RELEASE = "V4.0"; then
UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
@@ -747,7 +744,7 @@ EOF
*:BSD/OS:*:*)
echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
exit 0 ;;
- *:FreeBSD:*:*)
+ *:FreeBSD:*:*|*:GNU/FreeBSD:*:*)
# Determine whether the default compiler uses glibc.
eval $set_cc_for_build
sed 's/^ //' << EOF >$dummy.c
@@ -1036,7 +1033,7 @@ EOF
exit 0 ;;
M68*:*:R3V[567]*:*)
test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
- 3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0)
+ 3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0)
OS_REL=''
test -r /etc/.relid \
&& OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
diff --git a/config.sub b/config.sub
index 5f94062..fe4f1ed 100755
--- a/config.sub
+++ b/config.sub
@@ -3,7 +3,7 @@
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
-timestamp='2003-02-03'
+timestamp='2003-05-09'
# This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file suggests that SOME GNU software
@@ -373,6 +373,9 @@ case $basic_machine in
basic_machine=a29k-none
os=-bsd
;;
+ amd64)
+ basic_machine=x86_64-pc
+ ;;
amdahl)
basic_machine=580-amdahl
os=-sysv
@@ -1128,7 +1131,7 @@ case $os in
| -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
- | -powermax* | -dnix* | -microbsd*)
+ | -powermax* | -dnix*)
# Remember, each alternative MUST END IN *, to match a version number.
;;
-qnx*)
diff --git a/config/ChangeLog b/config/ChangeLog
index 091f6fd..13d3c88 100644
--- a/config/ChangeLog
+++ b/config/ChangeLog
@@ -1,3 +1,13 @@
+2003-05-14 Kelley Cook <kelleycook@wideopenwest.com>
+
+ * acinclude.m4: Accept i[3456789]86 for machine type.
+
+2003-05-18 Nathanael Nerode <neroden@gcc.gnu.org>
+
+ * config/acx.m4: Introduce _GCC_TOPLEV_NONCANONICAL_BUILD,
+ _GCC_TOPLEV_NONCANOICAL_HOST, _GCC_TOPLEV_NONCANONICAL_TARGET,
+ GCC_TOPLEV_SUBDIRS.
+
2003-03-04 Nathanael Nerode <neroden@gcc.gnu.org>
* mh-dgux: Delete.
diff --git a/config/acinclude.m4 b/config/acinclude.m4
index 00887e0..c60373a 100755
--- a/config/acinclude.m4
+++ b/config/acinclude.m4
@@ -788,7 +788,7 @@ dnl Yes, this is ugly, and only used for a canadian cross anyway. This
dnl is just to keep configure from stopping here.
case "${host}" in
changequote(,)
- i[3456]86-*-*) ac_cv_c_little_endian=yes ;;
+ i[3456789]86-*-*) ac_cv_c_little_endian=yes ;;
sparc*-*-*) ac_cv_c_little_endian=no ;;
changequote([,])
*) AC_MSG_WARN(Can't cross compile this test) ;;
diff --git a/config/acx.m4 b/config/acx.m4
index 4e16bcd..ea5cb07 100644
--- a/config/acx.m4
+++ b/config/acx.m4
@@ -1,6 +1,67 @@
# Autoconf M4 include file defining utility macros for complex Canadian
# cross builds.
+dnl ####
+dnl # _GCC_TOPLEV_NONCANONICAL_BUILD
+dnl # $build_alias or canonical $build if blank.
+dnl # Used when we would use $build_alias, but empty is not OK.
+AC_DEFUN([_GCC_TOPLEV_NONCANONICAL_BUILD],
+[AC_REQUIRE([AC_CANONICAL_BUILD]) []dnl
+case ${build_alias} in
+ "") build_noncanonical=${build} ;;
+ *) build_noncanonical=${build_alias} ;;
+esac
+]) []dnl # _GCC_TOPLEV_NONCANONICAL_BUILD
+
+dnl ####
+dnl # _GCC_TOPLEV_NONCANONICAL_HOST
+dnl # $host_alias, or $build_noncanonical if blank.
+dnl # Used when we would use $host_alias, but empty is not OK.
+AC_DEFUN([_GCC_TOPLEV_NONCANONICAL_HOST],
+[AC_REQUIRE([_GCC_TOPLEV_NONCANONICAL_BUILD]) []dnl
+case ${host_alias} in
+ "") host_noncanonical=${build_noncanonical} ;;
+ *) host_noncanonical=${host_alias} ;;
+esac
+]) []dnl # _GCC_TOPLEV_NONCANONICAL_HOST
+
+dnl ####
+dnl # _GCC_TOPLEV_NONCANONICAL_TARGET
+dnl # $target_alias or $host_noncanonical if blank.
+dnl # Used when we would use $target_alias, but empty is not OK.
+AC_DEFUN([_GCC_TOPLEV_NONCANONICAL_TARGET],
+[AC_REQUIRE([_GCC_TOPLEV_NONCANONICAL_HOST]) []dnl
+case ${target_alias} in
+ "") target_noncanonical=${host_noncanonical} ;;
+ *) target_noncanonical=${target_alias} ;;
+esac
+]) []dnl # _GCC_TOPLEV_NONCANONICAL_TARGET
+
+dnl ####
+dnl # GCC_TOPLEV_SUBDIRS
+dnl # GCC & friends build 'build', 'host', and 'target' tools. These must
+dnl # be separated into three well-known subdirectories of the build directory:
+dnl # build_subdir, host_subdir, and target_subdir. The values are determined
+dnl # here so that they can (theoretically) be changed in the future. They
+dnl # were previously reproduced across many different files.
+dnl #
+dnl # This logic really amounts to very little with autoconf 2.13; it will
+dnl # amount to a lot more with autoconf 2.5x.
+AC_DEFUN([GCC_TOPLEV_SUBDIRS],
+[AC_REQUIRE([_GCC_TOPLEV_NONCANONICAL_TARGET]) []dnl
+AC_REQUIRE([_GCC_TOPLEV_NONCANONICAL_BUILD]) []dnl
+# Prefix 'build-' so this never conflicts with target_subdir.
+build_subdir="build-${build_noncanonical}"
+# Not really a subdirectory, but here for completeness.
+host_subdir=.
+# No prefix.
+target_subdir=${target_noncanonical}
+AC_SUBST([build_subdir]) []dnl
+AC_SUBST([host_subdir]) []dnl
+AC_SUBST([target_subdir]) []dnl
+]) []dnl # GCC_TOPLEV_SUBDIRS
+
+
####
# _NCN_TOOL_PREFIXES: Some stuff that oughtta be done in AC_CANONICAL_SYSTEM
# or AC_INIT.
diff --git a/configure b/configure
index 045ad14..fa3d44f 100755
--- a/configure
+++ b/configure
@@ -661,6 +661,11 @@ test "$program_transform_name" = "" && program_transform_name="s,x,x,"
# Autoconf M4 include file defining utility macros for complex Canadian
# cross builds.
+
+
+
+
+
####
# _NCN_TOOL_PREFIXES: Some stuff that oughtta be done in AC_CANONICAL_SYSTEM
# or AC_INIT.
@@ -824,6 +829,16 @@ target_tools="target-examples target-groff target-gperf target-rda"
configdirs=`echo ${host_libs} ${host_tools}`
target_configdirs=`echo ${target_libs} ${target_tools}`
+# Only make build modules if build != host.
+# This should be done more generally, but at the moment it doesn't matter.
+if test ${host_alias} != ${build_alias} ; then
+ # This is the only build module.
+ build_modules=libiberty
+else
+ build_modules=
+fi
+
+
################################################################################
srcname="gnu development package"
@@ -839,9 +854,29 @@ else
is_cross_compiler=yes
fi
-# We always want to use the same name for this directory, so that dejagnu
-# can reliably find it.
-target_subdir=${target_alias}
+# Find the build and target subdirs.
+ case ${build_alias} in
+ "") build_noncanonical=${build} ;;
+ *) build_noncanonical=${build_alias} ;;
+esac
+
+ case ${host_alias} in
+ "") host_noncanonical=${build_noncanonical} ;;
+ *) host_noncanonical=${host_alias} ;;
+esac
+
+ case ${target_alias} in
+ "") target_noncanonical=${host_noncanonical} ;;
+ *) target_noncanonical=${target_alias} ;;
+esac
+
+ # Prefix 'build-' so this never conflicts with target_subdir.
+build_subdir="build-${build_noncanonical}"
+# Not really a subdirectory, but here for completeness.
+host_subdir=.
+# No prefix.
+target_subdir=${target_noncanonical}
+
if test ! -d ${target_subdir} ; then
if mkdir ${target_subdir} ; then true
@@ -851,9 +886,6 @@ if test ! -d ${target_subdir} ; then
fi
fi
-build_prefix=build-
-build_subdir=${build_prefix}${build_alias}
-
if test x"${build_alias}" != x"${host}" ; then
if test ! -d ${build_subdir} ; then
if mkdir ${build_subdir} ; then true
@@ -938,17 +970,17 @@ case "${host}" in
hppa*64*-*-*)
noconfigdirs="$noconfigdirs byacc"
;;
- i[3456]86-*-vsta)
+ i[3456789]86-*-vsta)
noconfigdirs="tcl expect dejagnu make texinfo bison patch flex byacc send-pr gprof uudecode dejagnu diff guile perl itcl tix gnuserv gettext"
;;
- i[3456]86-*-go32* | i[3456]86-*-msdosdjgpp*)
+ i[3456789]86-*-go32* | i[3456789]86-*-msdosdjgpp*)
noconfigdirs="tcl tk expect dejagnu send-pr uudecode guile itcl tix gnuserv libffi"
;;
- i[3456]86-*-mingw32*)
+ i[3456789]86-*-mingw32*)
# noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr uudecode dejagnu diff guile perl itcl tix gnuserv"
noconfigdirs="expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool"
;;
- i[3456]86-*-beos*)
+ i[3456789]86-*-beos*)
noconfigdirs="$noconfigdirs tk itcl tix libgui gdb"
;;
*-*-cygwin*)
@@ -1155,13 +1187,13 @@ case "${target}" in
# No gdb or ld support yet.
noconfigdirs="$noconfigdirs tix readline mmalloc libgui itcl gdb ld"
;;
- i[3456]86-*-coff | i[3456]86-*-elf)
+ i[3456789]86-*-coff | i[3456789]86-*-elf)
noconfigdirs="$noconfigdirs ${libgcj}"
;;
- i[34567]86-*-freebsd*)
+ i[3456789]86-*-freebsd*)
noconfigdirs="$noconfigdirs target-newlib target-libgloss"
;;
- i[3456]86-*-linux*)
+ i[3456789]86-*-linux*)
# The GCC port for glibc1 has no MD_FALLBACK_FRAME_STATE_FOR, so let's
# not build java stuff by default.
case "${target}" in
@@ -1180,13 +1212,13 @@ case "${target}" in
# if the --with-newlib option has been given, because otherwise
# 'target-newlib' will appear in skipdirs.
;;
- i[3456]86-*-mingw32*)
+ i[3456789]86-*-mingw32*)
target_configdirs="$target_configdirs target-mingw"
noconfigdirs="$noconfigdirs expect target-libgloss ${libgcj}"
# Can't build gdb for mingw32 if not native.
case "${host}" in
- i[3456]86-*-mingw32) ;; # keep gdb tcl tk expect etc.
+ i[3456789]86-*-mingw32) ;; # keep gdb tcl tk expect etc.
*) noconfigdirs="$noconfigdirs gdb tcl tk expect itcl tix gnuserv"
;;
esac
@@ -1204,24 +1236,24 @@ case "${target}" in
;;
esac
;;
- i[3456]86-*-pe)
+ i[3456789]86-*-pe)
noconfigdirs="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
;;
- i[3456]86-*-sco3.2v5*)
+ i[3456789]86-*-sco3.2v5*)
# The linker does not yet know about weak symbols in COFF,
# and is not configured to handle mixed ELF and COFF.
noconfigdirs="$noconfigdirs ld target-libgloss ${libgcj}"
;;
- i[3456]86-*-sco*)
+ i[3456789]86-*-sco*)
noconfigdirs="$noconfigdirs gprof target-libgloss ${libgcj}"
;;
- i[3456]86-*-solaris2*)
+ i[3456789]86-*-solaris2*)
noconfigdirs="$noconfigdirs target-libgloss"
;;
- i[3456]86-*-sysv4*)
+ i[3456789]86-*-sysv4*)
noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
;;
- i[3456]86-*-beos*)
+ i[3456789]86-*-beos*)
noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
;;
m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*)
@@ -1310,9 +1342,9 @@ case "${target}" in
;;
sh-*-*)
case "${host}" in
- i[3456]86-*-vsta) ;; # don't add gprof back in
- i[3456]86-*-go32*) ;; # don't add gprof back in
- i[3456]86-*-msdosdjgpp*) ;; # don't add gprof back in
+ i[3456789]86-*-vsta) ;; # don't add gprof back in
+ i[3456789]86-*-go32*) ;; # don't add gprof back in
+ i[3456789]86-*-msdosdjgpp*) ;; # don't add gprof back in
*) skipdirs=`echo " ${skipdirs} " | sed -e 's/ gprof / /'` ;;
esac
noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
@@ -1707,19 +1739,19 @@ case "${host}" in
i370-ibm-opened*)
tentative_cc="c89"
;;
- i[3456]86-*-sysv5*)
+ i[3456789]86-*-sysv5*)
host_makefile_frag="config/mh-sysv5"
;;
- i[3456]86-*-dgux*)
+ i[3456789]86-*-dgux*)
tentative_cc="gcc -Wall -ansi -D__using_DGUX"
host_makefile_frag="config/mh-dgux386"
;;
- i[3456]86-ncr-sysv4.3*)
+ i[3456789]86-ncr-sysv4.3*)
# The MetaWare compiler will generate a copyright message unless you
# turn it off by adding the -Hnocopyr flag.
tentative_cc="cc -Hnocopyr"
;;
- i[3456]86-ncr-sysv4*)
+ i[3456789]86-ncr-sysv4*)
# for an NCR 3000 (i486/SVR4) system.
# The NCR 3000 ships with a MetaWare compiler installed as /bin/cc.
# This compiler not only emits obnoxious copyright messages every time
@@ -1728,21 +1760,21 @@ case "${host}" in
tentative_cc="/usr/ccs/ATT/cc"
host_makefile_frag="config/mh-ncr3000"
;;
- i[3456]86-*-sco3.2v5*)
+ i[3456789]86-*-sco3.2v5*)
;;
- i[3456]86-*-sco*)
+ i[3456789]86-*-sco*)
# The native C compiler botches some simple uses of const. Unfortunately,
# it doesn't defined anything like "__sco__" for us to test for in ansidecl.h.
tentative_cc="cc -Dconst="
host_makefile_frag="config/mh-sco"
;;
- i[3456]86-*-udk*)
+ i[3456789]86-*-udk*)
host_makefile_frag="config/mh-sysv5"
;;
- i[3456]86-*-solaris2*)
+ i[3456789]86-*-solaris2*)
host_makefile_frag="config/mh-sysv4"
;;
- i[3456]86-*-msdosdjgpp*)
+ i[3456789]86-*-msdosdjgpp*)
host_makefile_frag="config/mh-djgpp"
;;
*-cygwin*)
@@ -1792,7 +1824,7 @@ extra_nmflags_for_target=
extra_ranlibflags_for_target=
target_makefile_frag=/dev/null
case "${target}" in
- i[3456]86-*-netware*)
+ i[3456789]86-*-netware*)
target_makefile_frag="config/mt-netware"
;;
powerpc-*-netware*)
@@ -2264,59 +2296,14 @@ esac
target_configdirs=`echo "${target_configdirs}" | sed -e 's/target-//g'`
# This is the final value for target_configdirs. configdirs already
-# has its final value. It's time to create some lists of valid targets.
-
-# While at that, we remove Makefiles if we were started for recursive
-# configuration, such that the top-level Makefile reconfigures them,
-# like we used to do when configure itself was recursive.
+# has its final value, as does build_modules. It's time to create some
+# lists of valid targets.
all_build_modules=
configure_build_modules=
-# Only make build modules if build != host.
-# This should be done more generally, but at the moment it doesn't matter.
-if test ${host_alias} != ${build_alias} ; then
- for module in libiberty ; do
- all_build_modules=all-build-${module}
- configure_build_modules=configure-build-${module}
- if test -z "${no_recursion}" \
- && test -f ${build_subdir}/${module}/Makefile; then
- echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
- rm -f ${build_subdir}/${module}/Makefile
- fi
- done
-fi
-
-all_host_modules=
-check_host_modules=
-install_host_modules=
-configure_host_modules=
-for module in ${configdirs} ; do
- all_host_modules="${all_host_modules} all-${module}"
- check_host_modules="${check_host_modules} check-${module}"
- install_host_modules="${install_host_modules} install-${module}"
- configure_host_modules="${configure_host_modules} configure-${module}"
- if test -z "${no_recursion}" \
- && test -f ${module}/Makefile; then
- echo 1>&2 "*** removing ${module}/Makefile to force reconfigure"
- rm -f ${module}/Makefile
- fi
-done
-install_host_modules_nogcc=`echo "${install_host_modules}" | sed -e 's/install-gcc//g'`
-
-all_target_modules=
-check_target_modules=
-install_target_modules=
-configure_target_modules=
-for module in ${target_configdirs} ; do
- all_target_modules="${all_target_modules} all-target-${module}"
- check_target_modules="${check_target_modules} check-target-${module}"
- install_target_modules="${install_target_modules} install-target-${module}"
- configure_target_modules="${configure_target_modules} configure-target-${module}"
- if test -z "${no_recursion}" \
- && test -f ${target_subdir}/${module}/Makefile; then
- echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
- rm -f ${target_subdir}/${module}/Makefile
- fi
+for module in ${build_modules} ; do
+ all_build_modules=all-build-${module}
+ configure_build_modules=configure-build-${module}
done
# Determine whether gdb needs tk/tcl or not.
@@ -2346,13 +2333,49 @@ case "$enable_gdbtk" in
esac
# Create the 'maybe dependencies'. This uses a temporary file.
+
+# While at that, we remove Makefiles if we were started for recursive
+# configuration, so that the top-level Makefile reconfigures them,
+# like we used to do when configure itself was recursive.
rm -f maybedep.tmp
echo '# maybedep.tmp' > maybedep.tmp
-for item in ${all_build_modules} ${all_host_modules} ${all_target_modules} \
- ${install_host_modules} ${install_target_modules} \
- ${configure_build_modules} ${configure_host_modules} ${configure_target_modules} \
- ; do
- echo "maybe-${item}: ${item}" >> maybedep.tmp
+
+# Make-targets which may need maybe dependencies.
+mts="configure all install check"
+
+# Loop over modules and make-targets.
+for module in ${build_modules} ; do
+ if test -z "${no_recursion}" \
+ && test -f ${build_subdir}/${module}/Makefile; then
+ echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
+ rm -f ${build_subdir}/${module}/Makefile
+ fi
+ for mt in ${mts} ; do
+ case ${mt} in
+ install) ;; # No installing build modules.
+ *) echo "maybe-${mt}-build-${module}: ${mt}-build-${module}" >> maybedep.tmp ;;
+ esac
+ done
+done
+for module in ${configdirs} ; do
+ if test -z "${no_recursion}" \
+ && test -f ${module}/Makefile; then
+ echo 1>&2 "*** removing ${module}/Makefile to force reconfigure"
+ rm -f ${module}/Makefile
+ fi
+ for mt in ${mts} ; do
+ echo "maybe-${mt}-${module}: ${mt}-${module}" >> maybedep.tmp
+ done
+done
+for module in ${target_configdirs} ; do
+ if test -z "${no_recursion}" \
+ && test -f ${target_subdir}/${module}/Makefile; then
+ echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
+ rm -f ${target_subdir}/${module}/Makefile
+ fi
+ for mt in ${mts} ; do
+ echo "maybe-${mt}-target-${module}: ${mt}-target-${module}" >> maybedep.tmp
+ done
done
maybe_dependencies=maybedep.tmp
@@ -2418,7 +2441,7 @@ baseargs=`echo " ${ac_configure_args} " | \
-e 's/ -host[= ][^ ]* / /' \
-e 's/ -build[= ][^ ]* / /' \
-e 's/ -target[= ][^ ]* / /' \
- -e 's/ [^ -][^ ]* / /' \
+ -e "s/ [^' -][^ ]* / /" \
-e 's/^ *//;s/ *$//'`
# For the build-side libraries, we just need to pretend we're native,
@@ -2488,7 +2511,7 @@ case " $target_configdirs " in
*" --with-newlib "*)
case "$target" in
*-cygwin*)
- FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -L$$r/$(TARGET_SUBDIR)/winsup/w32api/lib -isystem $$s/winsup/include -isystem $$s/winsup/cygwin/include -isystem $$s/winsup/w32api/include -isystem $$s/newlib/libc/sys/cygwin -isystem $$s/newlib/libc/sys/cygwin32' ;;
+ FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -L$$r/$(TARGET_SUBDIR)/winsup/w32api/lib -isystem $$s/winsup/include -isystem $$s/winsup/cygwin/include -isystem $$s/winsup/w32api/include' ;;
esac
# If we're not building GCC, don't discard standard headers.
@@ -2515,7 +2538,7 @@ case " $target_configdirs " in
fi
case "${target}-${is_cross_compiler}" in
- i[3456]86-*-linux*-no)
+ i[3456789]86-*-linux*-no)
# Here host == target, so we don't need to build gcc,
# so we don't want to discard standard headers.
FLAGS_FOR_TARGET=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
@@ -2642,25 +2665,14 @@ ospace_frag=${srcdir}/${ospace_frag}
-
# Host module lists & subconfigure args.
-
-
-
-
-
# Target module lists & subconfigure args.
-
-
-
-
-
# Build tools.
@@ -2679,7 +2691,7 @@ test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
# Extract the first word of "${ncn_tool_prefix}ar", so it can be a program name with args.
set dummy ${ncn_tool_prefix}ar; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2687: checking for $ac_word" >&5
+echo "configure:2695: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -2712,7 +2724,7 @@ if test -z "$ac_cv_prog_AR" ; then
# Extract the first word of "ar", so it can be a program name with args.
set dummy ar; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2720: checking for $ac_word" >&5
+echo "configure:2728: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_AR'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -2751,7 +2763,7 @@ fi
# Extract the first word of "${ncn_tool_prefix}as", so it can be a program name with args.
set dummy ${ncn_tool_prefix}as; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2759: checking for $ac_word" >&5
+echo "configure:2767: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -2784,7 +2796,7 @@ if test -z "$ac_cv_prog_AS" ; then
# Extract the first word of "as", so it can be a program name with args.
set dummy as; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2792: checking for $ac_word" >&5
+echo "configure:2800: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_AS'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -2823,7 +2835,7 @@ fi
# Extract the first word of "${ncn_tool_prefix}dlltool", so it can be a program name with args.
set dummy ${ncn_tool_prefix}dlltool; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2831: checking for $ac_word" >&5
+echo "configure:2839: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -2856,7 +2868,7 @@ if test -z "$ac_cv_prog_DLLTOOL" ; then
# Extract the first word of "dlltool", so it can be a program name with args.
set dummy dlltool; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2864: checking for $ac_word" >&5
+echo "configure:2872: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_DLLTOOL'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -2895,7 +2907,7 @@ fi
# Extract the first word of "${ncn_tool_prefix}ld", so it can be a program name with args.
set dummy ${ncn_tool_prefix}ld; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2903: checking for $ac_word" >&5
+echo "configure:2911: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_LD'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -2928,7 +2940,7 @@ if test -z "$ac_cv_prog_LD" ; then
# Extract the first word of "ld", so it can be a program name with args.
set dummy ld; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2936: checking for $ac_word" >&5
+echo "configure:2944: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_LD'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -2967,7 +2979,7 @@ fi
# Extract the first word of "${ncn_tool_prefix}nm", so it can be a program name with args.
set dummy ${ncn_tool_prefix}nm; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2975: checking for $ac_word" >&5
+echo "configure:2983: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_NM'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -3000,7 +3012,7 @@ if test -z "$ac_cv_prog_NM" ; then
# Extract the first word of "nm", so it can be a program name with args.
set dummy nm; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:3008: checking for $ac_word" >&5
+echo "configure:3016: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_NM'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -3039,7 +3051,7 @@ fi
# Extract the first word of "${ncn_tool_prefix}ranlib", so it can be a program name with args.
set dummy ${ncn_tool_prefix}ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:3047: checking for $ac_word" >&5
+echo "configure:3055: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -3072,7 +3084,7 @@ if test -z "$ac_cv_prog_RANLIB" ; then
# Extract the first word of "ranlib", so it can be a program name with args.
set dummy ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:3080: checking for $ac_word" >&5
+echo "configure:3088: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_RANLIB'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -3111,7 +3123,7 @@ fi
# Extract the first word of "${ncn_tool_prefix}windres", so it can be a program name with args.
set dummy ${ncn_tool_prefix}windres; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:3119: checking for $ac_word" >&5
+echo "configure:3127: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_WINDRES'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -3144,7 +3156,7 @@ if test -z "$ac_cv_prog_WINDRES" ; then
# Extract the first word of "windres", so it can be a program name with args.
set dummy windres; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:3152: checking for $ac_word" >&5
+echo "configure:3160: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_WINDRES'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -3183,7 +3195,7 @@ fi
# Extract the first word of "${ncn_tool_prefix}objcopy", so it can be a program name with args.
set dummy ${ncn_tool_prefix}objcopy; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:3191: checking for $ac_word" >&5
+echo "configure:3199: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_OBJCOPY'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -3216,7 +3228,7 @@ if test -z "$ac_cv_prog_OBJCOPY" ; then
# Extract the first word of "objcopy", so it can be a program name with args.
set dummy objcopy; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:3224: checking for $ac_word" >&5
+echo "configure:3232: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_OBJCOPY'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -3255,7 +3267,7 @@ fi
# Extract the first word of "${ncn_tool_prefix}objdump", so it can be a program name with args.
set dummy ${ncn_tool_prefix}objdump; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:3263: checking for $ac_word" >&5
+echo "configure:3271: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -3288,7 +3300,7 @@ if test -z "$ac_cv_prog_OBJDUMP" ; then
# Extract the first word of "objdump", so it can be a program name with args.
set dummy objdump; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:3296: checking for $ac_word" >&5
+echo "configure:3304: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_OBJDUMP'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -3336,7 +3348,7 @@ fi
# Extract the first word of "${ncn_target_tool_prefix}ar", so it can be a program name with args.
set dummy ${ncn_target_tool_prefix}ar; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:3344: checking for $ac_word" >&5
+echo "configure:3352: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_AR_FOR_TARGET'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -3369,7 +3381,7 @@ if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
# Extract the first word of "ar", so it can be a program name with args.
set dummy ar; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:3377: checking for $ac_word" >&5
+echo "configure:3385: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_AR_FOR_TARGET'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -3408,7 +3420,7 @@ fi
# Extract the first word of "${ncn_target_tool_prefix}as", so it can be a program name with args.
set dummy ${ncn_target_tool_prefix}as; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:3416: checking for $ac_word" >&5
+echo "configure:3424: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_AS_FOR_TARGET'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -3441,7 +3453,7 @@ if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
# Extract the first word of "as", so it can be a program name with args.
set dummy as; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:3449: checking for $ac_word" >&5
+echo "configure:3457: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_AS_FOR_TARGET'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -3480,7 +3492,7 @@ fi
# Extract the first word of "${ncn_target_tool_prefix}dlltool", so it can be a program name with args.
set dummy ${ncn_target_tool_prefix}dlltool; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:3488: checking for $ac_word" >&5
+echo "configure:3496: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL_FOR_TARGET'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -3513,7 +3525,7 @@ if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
# Extract the first word of "dlltool", so it can be a program name with args.
set dummy dlltool; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:3521: checking for $ac_word" >&5
+echo "configure:3529: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_DLLTOOL_FOR_TARGET'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -3552,7 +3564,7 @@ fi
# Extract the first word of "${ncn_target_tool_prefix}ld", so it can be a program name with args.
set dummy ${ncn_target_tool_prefix}ld; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:3560: checking for $ac_word" >&5
+echo "configure:3568: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_LD_FOR_TARGET'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -3585,7 +3597,7 @@ if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
# Extract the first word of "ld", so it can be a program name with args.
set dummy ld; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:3593: checking for $ac_word" >&5
+echo "configure:3601: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_LD_FOR_TARGET'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -3624,7 +3636,7 @@ fi
# Extract the first word of "${ncn_target_tool_prefix}nm", so it can be a program name with args.
set dummy ${ncn_target_tool_prefix}nm; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:3632: checking for $ac_word" >&5
+echo "configure:3640: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_NM_FOR_TARGET'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -3657,7 +3669,7 @@ if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
# Extract the first word of "nm", so it can be a program name with args.
set dummy nm; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:3665: checking for $ac_word" >&5
+echo "configure:3673: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_NM_FOR_TARGET'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -3696,7 +3708,7 @@ fi
# Extract the first word of "${ncn_target_tool_prefix}ranlib", so it can be a program name with args.
set dummy ${ncn_target_tool_prefix}ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:3704: checking for $ac_word" >&5
+echo "configure:3712: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB_FOR_TARGET'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -3729,7 +3741,7 @@ if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
# Extract the first word of "ranlib", so it can be a program name with args.
set dummy ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:3737: checking for $ac_word" >&5
+echo "configure:3745: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_RANLIB_FOR_TARGET'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -3768,7 +3780,7 @@ fi
# Extract the first word of "${ncn_target_tool_prefix}windres", so it can be a program name with args.
set dummy ${ncn_target_tool_prefix}windres; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:3776: checking for $ac_word" >&5
+echo "configure:3784: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_WINDRES_FOR_TARGET'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -3801,7 +3813,7 @@ if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
# Extract the first word of "windres", so it can be a program name with args.
set dummy windres; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:3809: checking for $ac_word" >&5
+echo "configure:3817: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_WINDRES_FOR_TARGET'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -3868,7 +3880,7 @@ RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
-echo "configure:3876: checking whether to enable maintainer-specific portions of Makefiles" >&5
+echo "configure:3884: checking whether to enable maintainer-specific portions of Makefiles" >&5
# Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
if test "${enable_maintainer_mode+set}" = set; then
enableval="$enable_maintainer_mode"
@@ -4049,6 +4061,9 @@ s%@build_cpu@%$build_cpu%g
s%@build_vendor@%$build_vendor%g
s%@build_os@%$build_os%g
s%@TOPLEVEL_CONFIGURE_ARGUMENTS@%$TOPLEVEL_CONFIGURE_ARGUMENTS%g
+s%@build_subdir@%$build_subdir%g
+s%@host_subdir@%$host_subdir%g
+s%@target_subdir@%$target_subdir%g
/@maybe_dependencies@/r $maybe_dependencies
s%@maybe_dependencies@%%g
/@serialization_dependencies@/r $serialization_dependencies
@@ -4073,24 +4088,13 @@ s%@build_tooldir@%$build_tooldir%g
s%@GDB_TK@%$GDB_TK%g
s%@gxx_include_dir@%$gxx_include_dir%g
s%@libstdcxx_incdir@%$libstdcxx_incdir%g
-s%@build_subdir@%$build_subdir%g
s%@build_configargs@%$build_configargs%g
s%@configure_build_modules@%$configure_build_modules%g
s%@all_build_modules@%$all_build_modules%g
s%@host_configargs@%$host_configargs%g
s%@configdirs@%$configdirs%g
-s%@configure_host_modules@%$configure_host_modules%g
-s%@all_host_modules@%$all_host_modules%g
-s%@check_host_modules@%$check_host_modules%g
-s%@install_host_modules@%$install_host_modules%g
-s%@install_host_modules_nogcc@%$install_host_modules_nogcc%g
-s%@target_subdir@%$target_subdir%g
s%@target_configargs@%$target_configargs%g
s%@target_configdirs@%$target_configdirs%g
-s%@configure_target_modules@%$configure_target_modules%g
-s%@all_target_modules@%$all_target_modules%g
-s%@check_target_modules@%$check_target_modules%g
-s%@install_target_modules@%$install_target_modules%g
s%@BISON@%$BISON%g
s%@CC_FOR_BUILD@%$CC_FOR_BUILD%g
s%@LEX@%$LEX%g
diff --git a/configure.in b/configure.in
index f695982..87ab222 100644
--- a/configure.in
+++ b/configure.in
@@ -164,6 +164,16 @@ target_tools="target-examples target-groff target-gperf target-rda"
configdirs=`echo ${host_libs} ${host_tools}`
target_configdirs=`echo ${target_libs} ${target_tools}`
+# Only make build modules if build != host.
+# This should be done more generally, but at the moment it doesn't matter.
+if test ${host_alias} != ${build_alias} ; then
+ # This is the only build module.
+ build_modules=libiberty
+else
+ build_modules=
+fi
+
+
################################################################################
srcname="gnu development package"
@@ -179,9 +189,8 @@ else
is_cross_compiler=yes
fi
-# We always want to use the same name for this directory, so that dejagnu
-# can reliably find it.
-target_subdir=${target_alias}
+# Find the build and target subdirs.
+GCC_TOPLEV_SUBDIRS
if test ! -d ${target_subdir} ; then
if mkdir ${target_subdir} ; then true
@@ -191,9 +200,6 @@ if test ! -d ${target_subdir} ; then
fi
fi
-build_prefix=build-
-build_subdir=${build_prefix}${build_alias}
-
if test x"${build_alias}" != x"${host}" ; then
if test ! -d ${build_subdir} ; then
if mkdir ${build_subdir} ; then true
@@ -278,17 +284,17 @@ case "${host}" in
hppa*64*-*-*)
noconfigdirs="$noconfigdirs byacc"
;;
- i[[3456]]86-*-vsta)
+ i[[3456789]]86-*-vsta)
noconfigdirs="tcl expect dejagnu make texinfo bison patch flex byacc send-pr gprof uudecode dejagnu diff guile perl itcl tix gnuserv gettext"
;;
- i[[3456]]86-*-go32* | i[[3456]]86-*-msdosdjgpp*)
+ i[[3456789]]86-*-go32* | i[[3456789]]86-*-msdosdjgpp*)
noconfigdirs="tcl tk expect dejagnu send-pr uudecode guile itcl tix gnuserv libffi"
;;
- i[[3456]]86-*-mingw32*)
+ i[[3456789]]86-*-mingw32*)
# noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr uudecode dejagnu diff guile perl itcl tix gnuserv"
noconfigdirs="expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool"
;;
- i[[3456]]86-*-beos*)
+ i[[3456789]]86-*-beos*)
noconfigdirs="$noconfigdirs tk itcl tix libgui gdb"
;;
*-*-cygwin*)
@@ -495,13 +501,13 @@ case "${target}" in
# No gdb or ld support yet.
noconfigdirs="$noconfigdirs tix readline mmalloc libgui itcl gdb ld"
;;
- i[[3456]]86-*-coff | i[[3456]]86-*-elf)
+ i[[3456789]]86-*-coff | i[[3456789]]86-*-elf)
noconfigdirs="$noconfigdirs ${libgcj}"
;;
- i[[34567]]86-*-freebsd*)
+ i[[3456789]]86-*-freebsd*)
noconfigdirs="$noconfigdirs target-newlib target-libgloss"
;;
- i[[3456]]86-*-linux*)
+ i[[3456789]]86-*-linux*)
# The GCC port for glibc1 has no MD_FALLBACK_FRAME_STATE_FOR, so let's
# not build java stuff by default.
case "${target}" in
@@ -520,13 +526,13 @@ case "${target}" in
# if the --with-newlib option has been given, because otherwise
# 'target-newlib' will appear in skipdirs.
;;
- i[[3456]]86-*-mingw32*)
+ i[[3456789]]86-*-mingw32*)
target_configdirs="$target_configdirs target-mingw"
noconfigdirs="$noconfigdirs expect target-libgloss ${libgcj}"
# Can't build gdb for mingw32 if not native.
case "${host}" in
- i[[3456]]86-*-mingw32) ;; # keep gdb tcl tk expect etc.
+ i[[3456789]]86-*-mingw32) ;; # keep gdb tcl tk expect etc.
*) noconfigdirs="$noconfigdirs gdb tcl tk expect itcl tix gnuserv"
;;
esac
@@ -544,24 +550,24 @@ case "${target}" in
;;
esac
;;
- i[[3456]]86-*-pe)
+ i[[3456789]]86-*-pe)
noconfigdirs="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
;;
- i[[3456]]86-*-sco3.2v5*)
+ i[[3456789]]86-*-sco3.2v5*)
# The linker does not yet know about weak symbols in COFF,
# and is not configured to handle mixed ELF and COFF.
noconfigdirs="$noconfigdirs ld target-libgloss ${libgcj}"
;;
- i[[3456]]86-*-sco*)
+ i[[3456789]]86-*-sco*)
noconfigdirs="$noconfigdirs gprof target-libgloss ${libgcj}"
;;
- i[[3456]]86-*-solaris2*)
+ i[[3456789]]86-*-solaris2*)
noconfigdirs="$noconfigdirs target-libgloss"
;;
- i[[3456]]86-*-sysv4*)
+ i[[3456789]]86-*-sysv4*)
noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
;;
- i[[3456]]86-*-beos*)
+ i[[3456789]]86-*-beos*)
noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
;;
m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*)
@@ -650,9 +656,9 @@ case "${target}" in
;;
sh-*-*)
case "${host}" in
- i[[3456]]86-*-vsta) ;; # don't add gprof back in
- i[[3456]]86-*-go32*) ;; # don't add gprof back in
- i[[3456]]86-*-msdosdjgpp*) ;; # don't add gprof back in
+ i[[3456789]]86-*-vsta) ;; # don't add gprof back in
+ i[[3456789]]86-*-go32*) ;; # don't add gprof back in
+ i[[3456789]]86-*-msdosdjgpp*) ;; # don't add gprof back in
*) skipdirs=`echo " ${skipdirs} " | sed -e 's/ gprof / /'` ;;
esac
noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
@@ -1047,19 +1053,19 @@ case "${host}" in
i370-ibm-opened*)
tentative_cc="c89"
;;
- i[[3456]]86-*-sysv5*)
+ i[[3456789]]86-*-sysv5*)
host_makefile_frag="config/mh-sysv5"
;;
- i[[3456]]86-*-dgux*)
+ i[[3456789]]86-*-dgux*)
tentative_cc="gcc -Wall -ansi -D__using_DGUX"
host_makefile_frag="config/mh-dgux386"
;;
- i[[3456]]86-ncr-sysv4.3*)
+ i[[3456789]]86-ncr-sysv4.3*)
# The MetaWare compiler will generate a copyright message unless you
# turn it off by adding the -Hnocopyr flag.
tentative_cc="cc -Hnocopyr"
;;
- i[[3456]]86-ncr-sysv4*)
+ i[[3456789]]86-ncr-sysv4*)
# for an NCR 3000 (i486/SVR4) system.
# The NCR 3000 ships with a MetaWare compiler installed as /bin/cc.
# This compiler not only emits obnoxious copyright messages every time
@@ -1068,21 +1074,21 @@ case "${host}" in
tentative_cc="/usr/ccs/ATT/cc"
host_makefile_frag="config/mh-ncr3000"
;;
- i[[3456]]86-*-sco3.2v5*)
+ i[[3456789]]86-*-sco3.2v5*)
;;
- i[[3456]]86-*-sco*)
+ i[[3456789]]86-*-sco*)
# The native C compiler botches some simple uses of const. Unfortunately,
# it doesn't defined anything like "__sco__" for us to test for in ansidecl.h.
tentative_cc="cc -Dconst="
host_makefile_frag="config/mh-sco"
;;
- i[[3456]]86-*-udk*)
+ i[[3456789]]86-*-udk*)
host_makefile_frag="config/mh-sysv5"
;;
- i[[3456]]86-*-solaris2*)
+ i[[3456789]]86-*-solaris2*)
host_makefile_frag="config/mh-sysv4"
;;
- i[[3456]]86-*-msdosdjgpp*)
+ i[[3456789]]86-*-msdosdjgpp*)
host_makefile_frag="config/mh-djgpp"
;;
*-cygwin*)
@@ -1132,7 +1138,7 @@ extra_nmflags_for_target=
extra_ranlibflags_for_target=
target_makefile_frag=/dev/null
case "${target}" in
- i[[3456]]86-*-netware*)
+ i[[3456789]]86-*-netware*)
target_makefile_frag="config/mt-netware"
;;
powerpc-*-netware*)
@@ -1266,7 +1272,7 @@ fi
# Some systems (e.g., one of the i386-aix systems the gas testers are
# using) don't handle "\$" correctly, so don't use it here.
-tooldir='$(exec_prefix)'/${target_alias}
+tooldir='${exec_prefix}'/${target_alias}
build_tooldir=${tooldir}
# Generate a default definition for YACC. This is used if the makefile can't
@@ -1604,59 +1610,14 @@ esac
target_configdirs=`echo "${target_configdirs}" | sed -e 's/target-//g'`
# This is the final value for target_configdirs. configdirs already
-# has its final value. It's time to create some lists of valid targets.
-
-# While at that, we remove Makefiles if we were started for recursive
-# configuration, such that the top-level Makefile reconfigures them,
-# like we used to do when configure itself was recursive.
+# has its final value, as does build_modules. It's time to create some
+# lists of valid targets.
all_build_modules=
configure_build_modules=
-# Only make build modules if build != host.
-# This should be done more generally, but at the moment it doesn't matter.
-if test ${host_alias} != ${build_alias} ; then
- for module in libiberty ; do
- all_build_modules=all-build-${module}
- configure_build_modules=configure-build-${module}
- if test -z "${no_recursion}" \
- && test -f ${build_subdir}/${module}/Makefile; then
- echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
- rm -f ${build_subdir}/${module}/Makefile
- fi
- done
-fi
-
-all_host_modules=
-check_host_modules=
-install_host_modules=
-configure_host_modules=
-for module in ${configdirs} ; do
- all_host_modules="${all_host_modules} all-${module}"
- check_host_modules="${check_host_modules} check-${module}"
- install_host_modules="${install_host_modules} install-${module}"
- configure_host_modules="${configure_host_modules} configure-${module}"
- if test -z "${no_recursion}" \
- && test -f ${module}/Makefile; then
- echo 1>&2 "*** removing ${module}/Makefile to force reconfigure"
- rm -f ${module}/Makefile
- fi
-done
-install_host_modules_nogcc=`echo "${install_host_modules}" | sed -e 's/install-gcc//g'`
-
-all_target_modules=
-check_target_modules=
-install_target_modules=
-configure_target_modules=
-for module in ${target_configdirs} ; do
- all_target_modules="${all_target_modules} all-target-${module}"
- check_target_modules="${check_target_modules} check-target-${module}"
- install_target_modules="${install_target_modules} install-target-${module}"
- configure_target_modules="${configure_target_modules} configure-target-${module}"
- if test -z "${no_recursion}" \
- && test -f ${target_subdir}/${module}/Makefile; then
- echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
- rm -f ${target_subdir}/${module}/Makefile
- fi
+for module in ${build_modules} ; do
+ all_build_modules=all-build-${module}
+ configure_build_modules=configure-build-${module}
done
# Determine whether gdb needs tk/tcl or not.
@@ -1686,13 +1647,49 @@ case "$enable_gdbtk" in
esac
# Create the 'maybe dependencies'. This uses a temporary file.
+
+# While at that, we remove Makefiles if we were started for recursive
+# configuration, so that the top-level Makefile reconfigures them,
+# like we used to do when configure itself was recursive.
rm -f maybedep.tmp
echo '# maybedep.tmp' > maybedep.tmp
-for item in ${all_build_modules} ${all_host_modules} ${all_target_modules} \
- ${install_host_modules} ${install_target_modules} \
- ${configure_build_modules} ${configure_host_modules} ${configure_target_modules} \
- ; do
- echo "maybe-${item}: ${item}" >> maybedep.tmp
+
+# Make-targets which may need maybe dependencies.
+mts="configure all install check"
+
+# Loop over modules and make-targets.
+for module in ${build_modules} ; do
+ if test -z "${no_recursion}" \
+ && test -f ${build_subdir}/${module}/Makefile; then
+ echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
+ rm -f ${build_subdir}/${module}/Makefile
+ fi
+ for mt in ${mts} ; do
+ case ${mt} in
+ install) ;; # No installing build modules.
+ *) echo "maybe-${mt}-build-${module}: ${mt}-build-${module}" >> maybedep.tmp ;;
+ esac
+ done
+done
+for module in ${configdirs} ; do
+ if test -z "${no_recursion}" \
+ && test -f ${module}/Makefile; then
+ echo 1>&2 "*** removing ${module}/Makefile to force reconfigure"
+ rm -f ${module}/Makefile
+ fi
+ for mt in ${mts} ; do
+ echo "maybe-${mt}-${module}: ${mt}-${module}" >> maybedep.tmp
+ done
+done
+for module in ${target_configdirs} ; do
+ if test -z "${no_recursion}" \
+ && test -f ${target_subdir}/${module}/Makefile; then
+ echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
+ rm -f ${target_subdir}/${module}/Makefile
+ fi
+ for mt in ${mts} ; do
+ echo "maybe-${mt}-target-${module}: ${mt}-target-${module}" >> maybedep.tmp
+ done
done
maybe_dependencies=maybedep.tmp
AC_SUBST_FILE(maybe_dependencies)
@@ -1757,7 +1754,7 @@ baseargs=`echo " ${ac_configure_args} " | \
-e 's/ -host[[= ]][[^ ]]* / /' \
-e 's/ -build[[= ]][[^ ]]* / /' \
-e 's/ -target[[= ]][[^ ]]* / /' \
- -e 's/ [[^ -][^ ]*] / /' \
+ -e "s/ [[^' -][^ ]*] / /" \
-e 's/^ *//;s/ *$//'`
# For the build-side libraries, we just need to pretend we're native,
@@ -1827,7 +1824,7 @@ case " $target_configdirs " in
*" --with-newlib "*)
case "$target" in
*-cygwin*)
- FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -L$$r/$(TARGET_SUBDIR)/winsup/w32api/lib -isystem $$s/winsup/include -isystem $$s/winsup/cygwin/include -isystem $$s/winsup/w32api/include -isystem $$s/newlib/libc/sys/cygwin -isystem $$s/newlib/libc/sys/cygwin32' ;;
+ FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -L$$r/$(TARGET_SUBDIR)/winsup/w32api/lib -isystem $$s/winsup/include -isystem $$s/winsup/cygwin/include -isystem $$s/winsup/w32api/include' ;;
esac
# If we're not building GCC, don't discard standard headers.
@@ -1854,7 +1851,7 @@ case " $target_configdirs " in
fi
case "${target}-${is_cross_compiler}" in
- i[[3456]]86-*-linux*-no)
+ i[[3456789]]86-*-linux*-no)
# Here host == target, so we don't need to build gcc,
# so we don't want to discard standard headers.
FLAGS_FOR_TARGET=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
@@ -1977,7 +1974,6 @@ AC_SUBST(gxx_include_dir)
AC_SUBST(libstdcxx_incdir)
# Build module lists & subconfigure args.
-AC_SUBST(build_subdir)
AC_SUBST(build_configargs)
AC_SUBST(configure_build_modules)
AC_SUBST(all_build_modules)
@@ -1985,20 +1981,10 @@ AC_SUBST(all_build_modules)
# Host module lists & subconfigure args.
AC_SUBST(host_configargs)
AC_SUBST(configdirs)
-AC_SUBST(configure_host_modules)
-AC_SUBST(all_host_modules)
-AC_SUBST(check_host_modules)
-AC_SUBST(install_host_modules)
-AC_SUBST(install_host_modules_nogcc)
# Target module lists & subconfigure args.
-AC_SUBST(target_subdir)
AC_SUBST(target_configargs)
AC_SUBST(target_configdirs)
-AC_SUBST(configure_target_modules)
-AC_SUBST(all_target_modules)
-AC_SUBST(check_target_modules)
-AC_SUBST(install_target_modules)
# Build tools.
AC_SUBST(BISON)
diff --git a/etc/ChangeLog b/etc/ChangeLog
index 9a1a67d..6865f2d 100644
--- a/etc/ChangeLog
+++ b/etc/ChangeLog
@@ -1,3 +1,7 @@
+2003-05-16 Kelley Cook <kelleycook@wideopenwest.com>
+
+ * configure.texi: Use "i[3-7]86" in example.
+
2003-01-02 H.J. Lu <hjl@gnu.org>
* Makefile.in (DESTDIR): New.
diff --git a/etc/configure.texi b/etc/configure.texi
index 9140167..d69dc41 100644
--- a/etc/configure.texi
+++ b/etc/configure.texi
@@ -1451,7 +1451,7 @@ canonical configuration name (which will be the case if
@smallexample
case "$@{host@}" in
-i[3456]86-*-linux-gnu*) do something ;;
+i[3-7]86-*-linux-gnu*) do something ;;
sparc*-sun-solaris2.[56789]*) do something ;;
sparc*-sun-solaris*) do something ;;
mips*-*-elf*) do something ;;
@@ -1465,7 +1465,7 @@ field, in order to match the version number which will be generated by
In most cases you must be careful to match a range of processor types.
For most processor families, a trailing @samp{*} suffices, as in
@samp{mips*} above. For the i386 family, something along the lines of
-@samp{i[3456]86} suffices at present. For the m68k family, you will
+@samp{i[3-7]86} suffices at present. For the m68k family, you will
need something like @samp{m68*}. Of course, if you do not need to match
on the processor, it is simpler to just replace the entire field by a
@samp{*}, as in @samp{*-*-irix*}.
diff --git a/include/ChangeLog b/include/ChangeLog
index b88ca78..8dfa46f 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,14 @@
+2003-05-21 Nick Clifton <nickc@redhat.com>
+
+ * bfdlink.h (struct bfd_link_hash_table): Fix typo in comment.
+
+2003-05-15 Jim Blandy <jimb@redhat.com>
+
+ * libiberty.h (hex_value): Make the value an unsigned int, to
+ avoid unexpected sign-extension when cast to unsigned types larger
+ than int --- like bfd_vma, on some platforms.
+ (_hex_value): Update declaration.
+
2003-05-09 Alan Modra <amodra@bigpond.net.au>
* xtensa-isa-internal.h (xtensa_isa_module_struct): Remove const on
diff --git a/include/bfdlink.h b/include/bfdlink.h
index 380923a..89d916e 100644
--- a/include/bfdlink.h
+++ b/include/bfdlink.h
@@ -163,7 +163,7 @@ struct bfd_link_hash_table
struct bfd_link_hash_entry *undefs;
/* Entries are added to the tail of the undefs list. */
struct bfd_link_hash_entry *undefs_tail;
- /* The type of the ink hash table. */
+ /* The type of the link hash table. */
enum bfd_link_hash_table_type type;
};
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog
index 945ce63..59e05e3 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -1,4 +1,14 @@
-2003-04-24 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
+2003-05-15 Roland McGrath <roland@redhat.com>
+
+ * common.h (NT_AUXV, AT_*): New macros.
+ * external.h (Elf32_External_Auxv, Elf64_External_Auxv): New types.
+ * internal.h (Elf_Internal_Auxv): New type.
+
+2003-05-14 Michael Snyder <msnyder@redhat.com>
+ From Bernd Schmidt <bernds@redhat.com>
+ * h8.h (E_H8_MACH_H8300SX): New.
+
+2003-04-24 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
* elf/h8.h (E_H8_MACH_H8300HN, E_H8_MACH_H8300SN): New
@@ -26,7 +36,7 @@
2003-03-25 Stan Cox <scox@redhat.com>
Nick Clifton <nickc@redhat.com>
-
+
Contribute support for Intel's iWMMXt chip - an ARM variant:
* arm.h (ARM_NOTE_SECTION): Define.
diff --git a/include/elf/common.h b/include/elf/common.h
index ca79342..f342d57 100644
--- a/include/elf/common.h
+++ b/include/elf/common.h
@@ -253,7 +253,7 @@
#define EM_CYGNUS_FRV 0x5441
/* Ubicom IP2xxx; no ABI */
-#define EM_IP2K_OLD 0x8217
+#define EM_IP2K_OLD 0x8217
/* MSP430 magic number
Written in the absense everything. */
@@ -364,6 +364,7 @@
#define NT_FPREGSET 2 /* Contains copy of fpregset struct */
#define NT_PRPSINFO 3 /* Contains copy of prpsinfo struct */
#define NT_TASKSTRUCT 4 /* Contains copy of task struct */
+#define NT_AUXV 6 /* Contains copy of Elfxx_auxv_t */
#define NT_PRXFPREG 0x46e62b7f /* Contains a user_xfpregs_struct; */
/* note name must be "LINUX". */
@@ -471,7 +472,7 @@
/* The following constants control how a symbol may be accessed once it has
become part of an executable or shared library. */
-
+
#define STV_DEFAULT 0 /* Visibility is specified by binding type */
#define STV_INTERNAL 1 /* OS specific version of STV_HIDDEN */
#define STV_HIDDEN 2 /* Can only be seen inside currect component */
@@ -687,4 +688,35 @@
#define GRP_COMDAT 0x1 /* A COMDAT group */
+/* Auxv a_type values. */
+
+#define AT_NULL 0 /* End of vector */
+#define AT_IGNORE 1 /* Entry should be ignored */
+#define AT_EXECFD 2 /* File descriptor of program */
+#define AT_PHDR 3 /* Program headers for program */
+#define AT_PHENT 4 /* Size of program header entry */
+#define AT_PHNUM 5 /* Number of program headers */
+#define AT_PAGESZ 6 /* System page size */
+#define AT_BASE 7 /* Base address of interpreter */
+#define AT_FLAGS 8 /* Flags */
+#define AT_ENTRY 9 /* Entry point of program */
+#define AT_NOTELF 10 /* Program is not ELF */
+#define AT_UID 11 /* Real uid */
+#define AT_EUID 12 /* Effective uid */
+#define AT_GID 13 /* Real gid */
+#define AT_EGID 14 /* Effective gid */
+#define AT_CLKTCK 17 /* Frequency of times() */
+#define AT_PLATFORM 15 /* String identifying platform. */
+#define AT_HWCAP 16 /* Machine dependent hints about
+ processor capabilities. */
+#define AT_FPUCW 18 /* Used FPU control word. */
+#define AT_DCACHEBSIZE 19 /* Data cache block size. */
+#define AT_ICACHEBSIZE 20 /* Instruction cache block size. */
+#define AT_UCACHEBSIZE 21 /* Unified cache block size. */
+#define AT_IGNOREPPC 22 /* Entry should be ignored */
+/* Pointer to the global system page used for system calls and other
+ nice things. */
+#define AT_SYSINFO 32
+#define AT_SYSINFO_EHDR 33
+
#endif /* _ELF_COMMON_H */
diff --git a/include/elf/external.h b/include/elf/external.h
index 403ee62..a171439 100644
--- a/include/elf/external.h
+++ b/include/elf/external.h
@@ -258,4 +258,19 @@ typedef struct
unsigned char si_flags[2];
} Elf_External_Syminfo;
+
+/* This structure appears on the stack and in NT_AUXV core file notes. */
+typedef struct
+{
+ unsigned char a_type[4];
+ unsigned char a_val[4];
+} Elf32_External_Auxv;
+
+typedef struct
+{
+ unsigned char a_type[8];
+ unsigned char a_val[8];
+} Elf64_External_Auxv;
+
+
#endif /* _ELF_EXTERNAL_H */
diff --git a/include/elf/h8.h b/include/elf/h8.h
index 5fdf62c..79c0a34 100644
--- a/include/elf/h8.h
+++ b/include/elf/h8.h
@@ -94,5 +94,6 @@ END_RELOC_NUMBERS (R_H8_max)
#define E_H8_MACH_H8300S 0x00820000
#define E_H8_MACH_H8300HN 0x00830000
#define E_H8_MACH_H8300SN 0x00840000
+#define E_H8_MACH_H8300SX 0x00850000
#endif
diff --git a/include/elf/internal.h b/include/elf/internal.h
index 45d682a..a7299d9 100644
--- a/include/elf/internal.h
+++ b/include/elf/internal.h
@@ -214,6 +214,13 @@ typedef struct
unsigned short int si_flags;
} Elf_Internal_Syminfo;
+/* This structure appears on the stack and in NT_AUXV core file notes. */
+typedef struct
+{
+ bfd_vma a_type;
+ bfd_vma a_val;
+} Elf_Internal_Auxv;
+
/* This structure is used to describe how sections should be assigned
to program segments. */
diff --git a/include/libiberty.h b/include/libiberty.h
index 676ceab..761b2cf 100644
--- a/include/libiberty.h
+++ b/include/libiberty.h
@@ -254,12 +254,12 @@ extern double physmem_available PARAMS ((void));
#define _hex_array_size 256
#define _hex_bad 99
-extern const char _hex_value[_hex_array_size];
+extern const unsigned char _hex_value[_hex_array_size];
extern void hex_init PARAMS ((void));
#define hex_p(c) (hex_value (c) != _hex_bad)
/* If you change this, note well: Some code relies on side effects in
the argument being performed exactly once. */
-#define hex_value(c) (_hex_value[(unsigned char) (c)])
+#define hex_value(c) ((unsigned int) _hex_value[(unsigned char) (c)])
/* Definitions used by the pexecute routine. */
diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog
index 8080909..48004d0 100644
--- a/include/opcode/ChangeLog
+++ b/include/opcode/ChangeLog
@@ -1,3 +1,27 @@
+2003-05-20 Jason Eckhardt <jle@rice.edu>
+
+ opcode/i860.h (flush): Set lower 3 bits properly and use 'L'
+ for the immediate operand type instead of 'i'.
+
+2003-05-20 Jason Eckhardt <jle@rice.edu>
+
+ opcode/i860.h (fzchks): Both S and R bits must be set.
+ (pfzchks): Likewise.
+ (faddp): Likewise.
+ (pfaddp): Likewise.
+ (fix.ss): Remove (invalid instruction).
+ (pfix.ss): Likewise.
+ (ftrunc.ss): Likewise.
+ (pftrunc.ss): Likewise.
+
+2003-05-18 Jason Eckhardt <jle@rice.edu>
+
+ * i860.h (form, pform): Add missing .dd suffix.
+
+2003-05-13 Stephane Carrez <stcarrez@nerim.fr>
+
+ * m68hc11.h (M68HC12_BANK_VIRT): Define to 0x010000
+
2003-04-07 Michael Snyder <msnyder@redhat.com>
* h8300.h (ldc/stc): Fix up src/dst swaps.
diff --git a/include/opcode/i860.h b/include/opcode/i860.h
index 2d6ea19..6fdcdba 100644
--- a/include/opcode/i860.h
+++ b/include/opcode/i860.h
@@ -1,5 +1,5 @@
/* Table of opcodes for the i860.
- Copyright 1989, 1991, 2000 Free Software Foundation, Inc.
+ Copyright 1989, 1991, 2000, 2003 Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler, and GDB, the GNU disassembler.
@@ -176,8 +176,8 @@ static const struct i860_opcode i860_opcodes[] =
{ "trap", 0x44000000, 0xb8000000, "1,2,d", 0 }, /* trap isrc1ni,isrc2,idest */
-{ "flush", 0x34000000, 0xc81f0001, "i(2)", E_ADDR }, /* flush #const(isrc2) */
-{ "flush", 0x34000001, 0xc81f0000, "i(2)++", E_ADDR }, /* flush #const(isrc2)++ */
+{ "flush", 0x34000004, 0xc81f0003, "L(2)", E_ADDR }, /* flush #const(isrc2) */
+{ "flush", 0x34000005, 0xc81f0002, "L(2)++", E_ADDR }, /* flush #const(isrc2)++ */
{ "and", 0xc0000000, 0x3c000000, "1,2,d", 0 }, /* and isrc1,isrc2,idest */
{ "and", 0xc4000000, 0x38000000, "i,2,d", E_AND }, /* and #const,isrc2,idest */
@@ -433,10 +433,8 @@ static const struct i860_opcode i860_opcodes[] =
{ "pfsub.ss", 0x48000431, 0xb40001ce, "e,f,g", 0 }, /* pfsub.p fsrc1,fsrc2,fdest */
{ "pfsub.sd", 0x480004b1, 0xb400014e, "e,f,g", 0 }, /* pfsub.p fsrc1,fsrc2,fdest */
{ "pfsub.dd", 0x480005b1, 0xb400004e, "e,f,g", 0 }, /* pfsub.p fsrc1,fsrc2,fdest */
-{ "fix.ss", 0x48000032, 0xb40005cd, "e,g", 0 }, /* fix.p fsrc1,fdest */
{ "fix.sd", 0x480000b2, 0xb400054d, "e,g", 0 }, /* fix.p fsrc1,fdest */
{ "fix.dd", 0x480001b2, 0xb400044d, "e,g", 0 }, /* fix.p fsrc1,fdest */
-{ "pfix.ss", 0x48000432, 0xb40001cd, "e,g", 0 }, /* pfix.p fsrc1,fdest */
{ "pfix.sd", 0x480004b2, 0xb400014d, "e,g", 0 }, /* pfix.p fsrc1,fdest */
{ "pfix.dd", 0x480005b2, 0xb400004d, "e,g", 0 }, /* pfix.p fsrc1,fdest */
{ "famov.ss", 0x48000033, 0xb40005cc, "e,g", 0 }, /* famov.p fsrc1,fdest */
@@ -455,10 +453,8 @@ static const struct i860_opcode i860_opcodes[] =
{ "pfle.dd", 0x480005b4, 0xb400004b, "e,f,g", 0 }, /* pfle.p fsrc1,fsrc2,fdest */
{ "pfeq.ss", 0x48000435, 0xb40001ca, "e,f,g", 0 }, /* pfeq.p fsrc1,fsrc2,fdest */
{ "pfeq.dd", 0x48000535, 0xb40000ca, "e,f,g", 0 }, /* pfeq.p fsrc1,fsrc2,fdest */
-{ "ftrunc.ss", 0x4800003a, 0xb40005c5, "e,g", 0 }, /* ftrunc.p fsrc1,fdest */
{ "ftrunc.sd", 0x480000ba, 0xb4000545, "e,g", 0 }, /* ftrunc.p fsrc1,fdest */
{ "ftrunc.dd", 0x480001ba, 0xb4000445, "e,g", 0 }, /* ftrunc.p fsrc1,fdest */
-{ "pftrunc.ss", 0x4800043a, 0xb40001c5, "e,g", 0 }, /* pftrunc.p fsrc1,fdest */
{ "pftrunc.sd", 0x480004ba, 0xb4000145, "e,g", 0 }, /* pftrunc.p fsrc1,fdest */
{ "pftrunc.dd", 0x480005ba, 0xb4000045, "e,g", 0 }, /* pftrunc.p fsrc1,fdest */
{ "fxfr", 0x48000040, 0xb40005bf, "e,d", 0 }, /* fxfr fsrc1,idest */
@@ -472,10 +468,10 @@ static const struct i860_opcode i860_opcodes[] =
{ "pfisub.dd", 0x480005cd, 0xb4000032, "e,f,g", 0 }, /* pfisub.w fsrc1,fsrc2,fdest */
{ "fzchkl", 0x480001d7, 0xb4000428, "e,f,g", 0 }, /* fzchkl fsrc1,fsrc2,fdest */
{ "pfzchkl", 0x480005d7, 0xb4000028, "e,f,g", 0 }, /* pfzchkl fsrc1,fsrc2,fdest */
-{ "fzchks", 0x4800015f, 0xb4000420, "e,f,g", 0 }, /* fzchks fsrc1,fsrc2,fdest */
-{ "pfzchks", 0x4800055f, 0xb4000020, "e,f,g", 0 }, /* pfzchks fsrc1,fsrc2,fdest */
-{ "faddp", 0x48000050, 0xb40005af, "e,f,g", 0 }, /* faddp fsrc1,fsrc2,fdest */
-{ "pfaddp", 0x48000450, 0xb40001af, "e,f,g", 0 }, /* pfaddp fsrc1,fsrc2,fdest */
+{ "fzchks", 0x480001df, 0xb4000420, "e,f,g", 0 }, /* fzchks fsrc1,fsrc2,fdest */
+{ "pfzchks", 0x480005df, 0xb4000020, "e,f,g", 0 }, /* pfzchks fsrc1,fsrc2,fdest */
+{ "faddp", 0x480001d0, 0xb400042f, "e,f,g", 0 }, /* faddp fsrc1,fsrc2,fdest */
+{ "pfaddp", 0x480005d0, 0xb400002f, "e,f,g", 0 }, /* pfaddp fsrc1,fsrc2,fdest */
{ "faddz", 0x480001d1, 0xb400042e, "e,f,g", 0 }, /* faddz fsrc1,fsrc2,fdest */
{ "pfaddz", 0x480005d1, 0xb400002e, "e,f,g", 0 }, /* pfaddz fsrc1,fsrc2,fdest */
{ "form", 0x480001da, 0xb4000425, "e,g", 0 }, /* form fsrc1,fdest */
diff --git a/include/opcode/m68hc11.h b/include/opcode/m68hc11.h
index 5d2fc9b..648c23b 100644
--- a/include/opcode/m68hc11.h
+++ b/include/opcode/m68hc11.h
@@ -378,7 +378,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
#define M6811_OP_HIGH_ADDR 0x01000000 /* Used internally by gas. */
#define M6811_OP_LOW_ADDR 0x02000000
-#define M68HC12_BANK_VIRT 0x01000000
+#define M68HC12_BANK_VIRT 0x010000
#define M68HC12_BANK_MASK 0x00003fff
#define M68HC12_BANK_BASE 0x00008000
#define M68HC12_BANK_SHIFT 14