Commit 5d4a5ee6 by Jeff Law

Final changes from devo<->egcs merge.

Final changes from devo<->egcs merge.  Ugh, a year of configury/Makefile
hacking.

From-SVN: r23012
parent fdb8a883
...@@ -8,6 +8,12 @@ Wed Sep 30 22:20:50 1998 Robert Lipe <robertl@dgii.com> ...@@ -8,6 +8,12 @@ Wed Sep 30 22:20:50 1998 Robert Lipe <robertl@dgii.com>
* config.sub: Add support for i[34567]86-pc-udk. * config.sub: Add support for i[34567]86-pc-udk.
* configure.in: Likewise. * configure.in: Likewise.
Wed Sep 30 19:23:48 1998 Geoffrey Noer <noer@cygnus.com>
* Makefile.in: add bzip2 package building bits for user
tools module
* configure.in: ditto
Wed Sep 30 03:00:05 1998 Jeffrey A Law (law@cygnus.com) Wed Sep 30 03:00:05 1998 Jeffrey A Law (law@cygnus.com)
* Makefile.in (TARGET_CONFIGDIRS): Add libobjc. * Makefile.in (TARGET_CONFIGDIRS): Add libobjc.
...@@ -21,6 +27,10 @@ Wed Sep 30 03:00:05 1998 Jeffrey A Law (law@cygnus.com) ...@@ -21,6 +27,10 @@ Wed Sep 30 03:00:05 1998 Jeffrey A Law (law@cygnus.com)
* configure.in (target_subdir): Remove duplicate line. * configure.in (target_subdir): Remove duplicate line.
Tue Sep 29 22:45:41 1998 Felix Lee <flee@cygnus.com>
* Makefile.in (all-automake): fix dependencies.
Mon Sep 28 04:04:27 1998 Jeffrey A Law (law@cygnus.com) Mon Sep 28 04:04:27 1998 Jeffrey A Law (law@cygnus.com)
* configure.in: Minor cleanups for building in the $(target_alias) * configure.in: Minor cleanups for building in the $(target_alias)
...@@ -98,6 +108,30 @@ Sat Aug 29 14:32:55 1998 David Edelsohn <edelsohn@mhpcc.edu> ...@@ -98,6 +108,30 @@ Sat Aug 29 14:32:55 1998 David Edelsohn <edelsohn@mhpcc.edu>
* configure: Fix --without/--disable cases for gxx-include-dir. * configure: Fix --without/--disable cases for gxx-include-dir.
Fri Aug 28 12:28:26 1998 Per Bothner <bothner@cygnus.com>
* mdata-sh: Imported. Needed for automake support.
Thu Aug 13 12:49:29 1998 H.J. Lu <hjl@gnu.org>
* Makefile.in (taz): Try "chmod -R og=u ." before
"chmod og=u `find . -print`".
Fri Jul 31 09:38:33 1998 Catherine Moore <clm@cygnus.com>
* configure.in: Add arm-elf and thumb-elf support.
Mon Jul 27 16:23:58 1998 Doug Evans <devans@canuck.cygnus.com>
* Makefile.in: Undo previous patch.
Fri Jul 24 19:55:24 1998 Doug Evans <devans@canuck.cygnus.com>
* Makefile.in (INSTALL_TARGET): Move EXTRA_TARGET_HOST_INSTALL_MODULES
to here ...
(install-no-fixedincludes): and here
(INSTALL_MODULES): ... from here.
Fri Jul 24 17:01:42 1998 Ian Lance Taylor <ian@cygnus.com> Fri Jul 24 17:01:42 1998 Ian Lance Taylor <ian@cygnus.com>
* config.sub: Merge with FSF. * config.sub: Merge with FSF.
...@@ -124,8 +158,41 @@ Fri Jul 17 13:30:18 1998 Ian Lance Taylor <ian@cygnus.com> ...@@ -124,8 +158,41 @@ Fri Jul 17 13:30:18 1998 Ian Lance Taylor <ian@cygnus.com>
* config-ml.in: Default to being verbose, to match Feb 18 change to * config-ml.in: Default to being verbose, to match Feb 18 change to
configure. configure.
Thu Jul 16 12:29:51 1998 Ian Lance Taylor <ian@cygnus.com>
Brought over from egcs:
Sat Jun 27 22:46:32 1998 Jeffrey A Law (law@cygnus.com)
* configure.in (target_subdir): Set to ${target_alias} instead
of "libraries".
Mon Sep 1 16:45:44 1997 Jim Wilson <wilson@cygnus.com>
* configure.in (target_subdir): Set to libraries if enable_multilib.
Wed Jul 15 01:00:54 1998 Ian Lance Taylor <ian@cygnus.com>
* Makefile.in ($(CONFIGURE_TARGET_MODULES)): If there are any
multilibs, force reconfiguration the first time we create
multilib.out in a subdirectory, in case TARGET_SUBDIR is `.'.
Tue Jul 14 23:41:03 1998 Ian Lance Taylor <ian@cygnus.com>
* configure.in: Strip any --no option from CONFIG_ARGUMENTS, to
avoid confusion with --no-recursion.
Tue Jul 14 15:37:41 1998 Geoffrey Noer <noer@cygnus.com>
* configure.in: Win32 hosts shouldn't use install -x
* install-sh: remove -x option, and special .exe-handling
hack.
Tue Jul 14 13:22:18 1998 Ian Lance Taylor <ian@cygnus.com> Tue Jul 14 13:22:18 1998 Ian Lance Taylor <ian@cygnus.com>
* configure: If CC is set but CFLAGS is not, and CC is gcc, make
CFLAGS default to -O2.
* ltmain.sh: Add some hacks to make SunOS --enable-shared work * ltmain.sh: Add some hacks to make SunOS --enable-shared work
when using GNU ld. when using GNU ld.
...@@ -177,6 +244,10 @@ Sat Jun 27 22:46:32 1998 Jeffrey A Law (law@cygnus.com) ...@@ -177,6 +244,10 @@ Sat Jun 27 22:46:32 1998 Jeffrey A Law (law@cygnus.com)
(recursion line): Pass a --with-gcc-version=${gcc_version} (recursion line): Pass a --with-gcc-version=${gcc_version}
to configures in subdirs. to configures in subdirs.
Tue Jun 23 22:42:32 1998 Mark Alexander <marka@cygnus.com>
* configure.in: Add cygmon and libstub support for mn10200.
1998-06-19 Manfred Hollstein <manfred@s-direktnet.de> 1998-06-19 Manfred Hollstein <manfred@s-direktnet.de>
* configure (gcc_version): Add new variable describing the * configure (gcc_version): Add new variable describing the
...@@ -198,6 +269,18 @@ Thu Jun 18 11:26:03 1998 Robert Lipe <robertl@dgii.com> ...@@ -198,6 +269,18 @@ Thu Jun 18 11:26:03 1998 Robert Lipe <robertl@dgii.com>
* config.guess: Detection of Pentium II for *-sco-3.2v5*. * config.guess: Detection of Pentium II for *-sco-3.2v5*.
Mon Jun 15 14:53:54 1998 Andrew Cagney <cagney@b1.cygnus.com>
* Makefile.in (grep): Grep no longer depends on libiberty.
Fri Jun 12 14:03:34 1998 Syd Polk <spolk@cygnus.com>
* Makefile.in: all-snavigator needs all-libgui.
Thu Jun 11 19:43:47 1998 Mark Alexander <marka@cygnus.com>
* configure.in: Add cygmon and libstub support for mn10300.
Wed Jun 10 11:19:47 1998 Ian Lance Taylor <ian@cygnus.com> Wed Jun 10 11:19:47 1998 Ian Lance Taylor <ian@cygnus.com>
* missing: Update to version from automake 1.3. * missing: Update to version from automake 1.3.
...@@ -209,6 +292,12 @@ Wed Jun 3 14:51:42 1998 Ian Lance Taylor <ian@cygnus.com> ...@@ -209,6 +292,12 @@ Wed Jun 3 14:51:42 1998 Ian Lance Taylor <ian@cygnus.com>
* config.sub: Accept m68060 and m5200 as CPU names. * config.sub: Accept m68060 and m5200 as CPU names.
Mon Jun 1 17:25:16 1998 Ian Lance Taylor <ian@cygnus.com>
* configure: Use && rather than using -a in test, because odd
strings can confuse test.
* configure.in: Likewise.
Thu May 28 19:31:13 1998 Ian Lance Taylor <ian@cygnus.com> Thu May 28 19:31:13 1998 Ian Lance Taylor <ian@cygnus.com>
* ltconfig, ltmain.sh: Bring in Visual C++ support. * ltconfig, ltmain.sh: Bring in Visual C++ support.
...@@ -222,15 +311,36 @@ Mon May 11 23:55:56 1998 Jeffrey A Law (law@cygnus.com) ...@@ -222,15 +311,36 @@ Mon May 11 23:55:56 1998 Jeffrey A Law (law@cygnus.com)
* mpw-* Delete. Not used. * mpw-* Delete. Not used.
Mon May 11 23:11:34 1998 Jeffrey A Law (law@cygnus.com)
* COPYING.LIB: Update FSF address.
Fri May 8 01:30:20 1998 Ian Lance Taylor <ian@cygnus.com> Fri May 8 01:30:20 1998 Ian Lance Taylor <ian@cygnus.com>
* ltconfig, ltmain.sh: Update to libtool 1.2a. * ltconfig, ltmain.sh: Update to libtool 1.2a.
* Makefile.in (GASB_SUPPORT_DIRS): Remove intl; already included via
GAS_SUPPORT_DIRS.
Thu May 7 17:27:35 1998 Ian Lance Taylor <ian@cygnus.com> Thu May 7 17:27:35 1998 Ian Lance Taylor <ian@cygnus.com>
* ltconfig, ltmain.sh: Avoid producing a version number if * ltconfig, ltmain.sh: Avoid producing a version number if
-version-info was not used. -version-info was not used.
Tue May 5 18:02:24 1998 Ian Lance Taylor <ian@cygnus.com>
* configure.in: Add --with-newlib to CONFIG_ARGUMENTS if we are
building with newlib.
1998-04-30 Paul Eggert <eggert@twinsun.com>
* Makefile.in (EXTRA_GCC_FLAGS): Remove backslash at end;
Solaris `make' causes it to continue to next definition.
Tue Apr 28 18:11:24 1998 Ian Lance Taylor <ian@cygnus.com>
* configure.in: Change alpha to alpha* in several places.
Tue Apr 28 07:35:02 1998 Michael Meissner <meissner@cygnus.com> Tue Apr 28 07:35:02 1998 Michael Meissner <meissner@cygnus.com>
* configure.in (--enable-target-optspace): Remove debug echo. * configure.in (--enable-target-optspace): Remove debug echo.
...@@ -243,6 +353,10 @@ Thu Apr 23 12:26:38 1998 Ian Lance Taylor <ian@cygnus.com> ...@@ -243,6 +353,10 @@ Thu Apr 23 12:26:38 1998 Ian Lance Taylor <ian@cygnus.com>
* ltconfig: Update cygwin32 support. * ltconfig: Update cygwin32 support.
* Makefile.in (GAS_SUPPORT_DIRS): Add intl.
(BINUTILS_SUPPORT_DIRS, GASB_SUPPORT_DIRS): Likewise.
(GDB_SUPPORT_DIRS): Likewise.
Wed Apr 22 12:30:10 1998 Michael Meissner <meissner@cygnus.com> Wed Apr 22 12:30:10 1998 Michael Meissner <meissner@cygnus.com>
* configure.in (target_makefile_frag): If --enable-target-optspace, * configure.in (target_makefile_frag): If --enable-target-optspace,
...@@ -250,10 +364,40 @@ Wed Apr 22 12:30:10 1998 Michael Meissner <meissner@cygnus.com> ...@@ -250,10 +364,40 @@ Wed Apr 22 12:30:10 1998 Michael Meissner <meissner@cygnus.com>
using -Os for m32r if --{enable,disable}-target-optspace is not using -Os for m32r if --{enable,disable}-target-optspace is not
used. used.
Tue Apr 21 23:06:54 1998 Tom Tromey <tromey@cygnus.com>
* Makefile.in (all-bfd): Depend on all-intl.
(all-binutils): Likewise.
(all-gas): Likewise.
(all-gprof): Likewise.
(all-ld): Likewise.
1998-04-19 Brendan Kehoe <brendan@cygnus.com>
* configure.in (host_tools): Fix typo, lbtool -> libtool.
Fri Apr 17 16:20:42 1998 Ian Lance Taylor <ian@cygnus.com> Fri Apr 17 16:20:42 1998 Ian Lance Taylor <ian@cygnus.com>
* Makefile.in (all-bfd): Depend upon all-libiberty.
* ltconfig, ltmain.sh: Bring in newer cygwin32 support. * ltconfig, ltmain.sh: Bring in newer cygwin32 support.
Fri Apr 17 12:22:22 1998 Bob Manson <manson@charmed.cygnus.com>
* Makefile.in: Add libstub.
* configure.in: Ditto. Build libstub for targets that have cygmon
support.
Tue Apr 14 18:01:55 1998 Ian Lance Taylor <ian@cygnus.com>
* configure.in: Don't set PICFLAG on ix86-cygwin32.
Tue Apr 14 12:24:45 1998 J. Kean Johnston <jkj@sco.com>
* configure.in: Recognise i[3456]96-*-sysv5* as a valid host, and
use mh-sysv5 if specified. Support gprof on SCO Open Server.
Tue Apr 14 11:33:51 1998 Krister Walfridsson <cato@df.lth.se> Tue Apr 14 11:33:51 1998 Krister Walfridsson <cato@df.lth.se>
* configure: Define DEFAULT_M4 by searching PATH. * configure: Define DEFAULT_M4 by searching PATH.
...@@ -263,15 +407,57 @@ Mon Apr 13 15:37:24 1998 Ian Lance Taylor <ian@cygnus.com> ...@@ -263,15 +407,57 @@ Mon Apr 13 15:37:24 1998 Ian Lance Taylor <ian@cygnus.com>
* ltconfig: Add cygwin32 support. * ltconfig: Add cygwin32 support.
* Makefile.in, configure.in: Add libtool as a native only directory
to configure and build.
Sun Apr 12 20:58:46 1998 Jeffrey A Law (law@cygnus.com) Sun Apr 12 20:58:46 1998 Jeffrey A Law (law@cygnus.com)
* Makefile.in (INSTALL_MODULES): Remove texinfo. * Makefile.in (INSTALL_MODULES): Remove texinfo.
Wed Apr 8 13:18:56 1998 Philippe De Muyter <phdm@macqel.be>
* Makefile.in (EXTRA_GCC_FLAGS): XFOO lines shortened.
Thu Apr 2 14:48:44 1998 Geoffrey Noer <noer@cygnus.com>
* Makefile.in: add ash make rules
* configure.in: add ash to native_only and host_tools lists
Thu Mar 26 12:53:20 1998 Tom Tromey <tromey@cygnus.com>
* Makefile.in (all-gettext, all-intl): New targets.
(ALL_MODULES): Added all-gettext, all-intl.
(CROSS_CHECK_MODULES): Added check-gettext, check-intl.
(INSTALL_MODULES): Added install-gettext, install-intl.
(CLEAN_MODULES): Added clean-gettext, clean-intl.
* configure.in (host_tools): Added gettext.
(native_only): Likewise.
(noconfigdirs) [various cases]: Likewise.
(host_libs): Added intl.
Wed Mar 25 10:04:18 1998 Nick Clifton <nickc@cygnus.com> Wed Mar 25 10:04:18 1998 Nick Clifton <nickc@cygnus.com>
* configure.in: Add thumb-coff target. * configure.in: Add thumb-coff target.
* config.sub: Add thumb-coff target. * config.sub: Add thumb-coff target.
Wed Mar 25 11:49:12 1998 Jason Molenda (crash@bugshack.cygnus.com)
* Makefile.in: Revert yesterday's change.
(all-target-winsup): all-target-librx stays out of here.
Tue Mar 24 16:58:29 1998 Jason Molenda (crash@bugshack.cygnus.com)
* Makefile.in (TARGET_CONFIGDIRS, ALL_TARGET_MODULES,
CONFIGURE_TARGET_MODULES, CHECK_TARGET_MODULES,
INSTALL_TARGET_MODULES, CLEAN_TARGET_MODULES, all-target-winsup):
Remove references to librx and libg++.
Tue Mar 24 18:28:12 1998 Eric Mumpower <nocturne@cygnus.com>
* Makefile.in (BASE_FLAGS_TO_PASS): Pass $(lispdir) down to
recursive makes
Tue Mar 24 11:37:45 1998 Ian Lance Taylor <ian@cygnus.com> Tue Mar 24 11:37:45 1998 Ian Lance Taylor <ian@cygnus.com>
* Makefile.in (CC_FOR_TARGET): Use $(TARGET_SUBDIR) when passing -B * Makefile.in (CC_FOR_TARGET): Use $(TARGET_SUBDIR) when passing -B
...@@ -297,6 +483,10 @@ Fri Mar 20 09:32:14 1998 Manfred Hollstein <manfred@s-direktnet.de> ...@@ -297,6 +483,10 @@ Fri Mar 20 09:32:14 1998 Manfred Hollstein <manfred@s-direktnet.de>
* Makefile.in ($(CONFIGURE_TARGET_MODULES)): Set CONFIG_SITE to a * Makefile.in ($(CONFIGURE_TARGET_MODULES)): Set CONFIG_SITE to a
non-existent file since /dev/null loses with bash 2.0/autoconf 2.12. non-existent file since /dev/null loses with bash 2.0/autoconf 2.12.
Tue Mar 17 16:59:00 1998 Syd Polk <spolk@cygnus.com>
* Makefile.in - changed sn targets to snavigator
* configure.in - changed sn targets to snavigator
Tue Mar 17 10:33:28 1998 Manfred Hollstein <manfred@s-direktnet.de> Tue Mar 17 10:33:28 1998 Manfred Hollstein <manfred@s-direktnet.de>
* config-ml.in: After building symlink tree call make distclean * config-ml.in: After building symlink tree call make distclean
...@@ -320,6 +510,26 @@ Mon Feb 23 15:09:18 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de ...@@ -320,6 +510,26 @@ Mon Feb 23 15:09:18 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de
* config.sub (sco5): Fix typo. * config.sub (sco5): Fix typo.
Mon Feb 23 14:46:06 1998 Ian Lance Taylor <ian@cygnus.com>
* Makefile.in (INSTALL_MODULES): Move install-tcl before
install-itcl.
(install-itcl): Remove dependency on install-tcl.
Mon Feb 23 09:53:28 1998 Mark Alexander <marka@cygnus.com>
* configure.in: Remove libgloss from noconfigdirs for MN10300.
Thu Feb 19 13:40:41 1998 Ian Lance Taylor <ian@cygnus.com>
* configure.in: Don't build libgui for a cygwin32 target when not on
a cygwin32 host.
Wed Feb 18 12:29:00 1998 Jason Molenda (crash@bugshack.cygnus.com)
* configure (redirect): Set to null, so default behavior of
configure is now --verbose.
1998-02-16 Dave Love <d.love@dl.ac.uk> 1998-02-16 Dave Love <d.love@dl.ac.uk>
* Makefile.in ($(CONFIGURE_TARGET_MODULES)): Run configure with * Makefile.in ($(CONFIGURE_TARGET_MODULES)): Run configure with
...@@ -330,6 +540,12 @@ Mon Feb 16 12:23:53 1998 Manfred Hollstein <Manfred.Hollstein@ks.sel.alcatel.d ...@@ -330,6 +540,12 @@ Mon Feb 16 12:23:53 1998 Manfred Hollstein <Manfred.Hollstein@ks.sel.alcatel.d
* Makefile.in (BASE_FLAGS_TO_PASS, EXTRA_TARGET_FLAGS): Really add * Makefile.in (BASE_FLAGS_TO_PASS, EXTRA_TARGET_FLAGS): Really add
this change to sync Makefile.in with its ChangeLog entries. this change to sync Makefile.in with its ChangeLog entries.
Thu Feb 12 15:03:08 1998 H.J. Lu <hjl@gnu.org>
* ltmain.sh (mkdir): Check that the directory doesn't exist
before we exit with error, so that we don't get races during
parallel builds.
Sat Feb 7 15:19:18 1998 Ian Lance Taylor <ian@cygnus.com> Sat Feb 7 15:19:18 1998 Ian Lance Taylor <ian@cygnus.com>
* ltconfig, ltmain.sh: Update from libtool 1.0i. * ltconfig, ltmain.sh: Update from libtool 1.0i.
...@@ -348,10 +564,23 @@ Fri Feb 6 01:33:52 1998 Manfred Hollstein <manfred@s-direktnet.de> ...@@ -348,10 +564,23 @@ Fri Feb 6 01:33:52 1998 Manfred Hollstein <manfred@s-direktnet.de>
* config/mt-sparcpic (PICFLAG_FOR_TARGET): Define to properly * config/mt-sparcpic (PICFLAG_FOR_TARGET): Define to properly
according to current multilib configuration. according to current multilib configuration.
Thu Feb 5 17:01:12 1998 Jason Molenda (crash@bugshack.cygnus.com)
* configure.in (host_tools, native_only): Add libtool.
Wed Feb 4 16:53:58 1998 Geoffrey Noer <noer@cygnus.com>
* configure.in: add target-gperf to noconfigdirs for Cygwin32.
Fix typo in ming config comment.
Wed Feb 4 18:56:13 1998 Ian Lance Taylor <ian@cygnus.com> Wed Feb 4 18:56:13 1998 Ian Lance Taylor <ian@cygnus.com>
* ltconfig, ltmain.sh: Update from libtool 1.0h. * ltconfig, ltmain.sh: Update from libtool 1.0h.
Mon Feb 2 19:38:19 1998 Ian Lance Taylor <ian@cygnus.com>
* config.sub: Add tic30 cases, and map c30 to tic30.
Sun Feb 1 02:40:41 1998 Richard Henderson <rth@cygnus.com> Sun Feb 1 02:40:41 1998 Richard Henderson <rth@cygnus.com>
* Makefile.in (TARGET_CONFIGDIRS): Add libf2c. * Makefile.in (TARGET_CONFIGDIRS): Add libf2c.
...@@ -361,8 +590,17 @@ Sun Feb 1 02:40:41 1998 Richard Henderson <rth@cygnus.com> ...@@ -361,8 +590,17 @@ Sun Feb 1 02:40:41 1998 Richard Henderson <rth@cygnus.com>
(all-target-libf2c): Add dependences. (all-target-libf2c): Add dependences.
* configure.in (target_libs): Add libf2c. * configure.in (target_libs): Add libf2c.
Fri Jan 30 17:18:32 1998 Geoffrey Noer <noer@cygnus.com>
* configure.in: Remove expect from noconfigdirs when target
is cygwin32. OK to build expect and dejagnu with Canadian
Cross.
Wed Jan 28 12:58:49 1998 Ian Lance Taylor <ian@cygnus.com> Wed Jan 28 12:58:49 1998 Ian Lance Taylor <ian@cygnus.com>
* configure.in: Do build expect, dejagnu, and cvssrc for a cygwin32
host.
* config.guess: Use ${UNAME_MACHINE} rather than i386 for cygwin32 * config.guess: Use ${UNAME_MACHINE} rather than i386 for cygwin32
and mingw32. and mingw32.
...@@ -412,6 +650,19 @@ Fri Jan 16 00:41:37 1998 Alexandre Oliva <oliva@dcc.unicamp.br> ...@@ -412,6 +650,19 @@ Fri Jan 16 00:41:37 1998 Alexandre Oliva <oliva@dcc.unicamp.br>
* configure.in: check whether host and target makefile * configure.in: check whether host and target makefile
fragments exist before adding them to *_makefile_frag fragments exist before adding them to *_makefile_frag
Wed Jan 14 23:39:10 1998 Bob Manson <manson@charmed.cygnus.com>
* configure.in (target_configdirs): Add cygmon for sparc64-elf.
Wed Jan 14 12:48:07 1998 Keith Seitz <keiths@pizza.cygnus.com>
* configure.in: Make sure we only replace RPATH_ENVVAR on
lines which begin with RPATH_ENVVAR, i.e. add "^" to the
regexp to sed.
* Makefile.in (BASE_FLAGS_TO_PASS): Pass RRPATH_ENVVAR down
to sub-makes.
1998-01-13 Lee Iverson (leei@ai.sri.com) 1998-01-13 Lee Iverson (leei@ai.sri.com)
* config-ml.in (multi-do): LDFLAGS must include multilib * config-ml.in (multi-do): LDFLAGS must include multilib
...@@ -431,6 +682,17 @@ Sat Jan 3 12:11:05 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com> ...@@ -431,6 +682,17 @@ Sat Jan 3 12:11:05 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
* configure.in: Finalize support for {alpha|powerpc}*-*-linux-gnulibc1 * configure.in: Finalize support for {alpha|powerpc}*-*-linux-gnulibc1
Sun Dec 28 11:28:58 1997 Jeffrey A Law (law@cygnus.com)
* Makefile.in (INSTALL_TARGET): Do install-gcc first.
* configure (gxx_include_dir): Provide a definition for subdirs
which do not use autoconf.
Wed Dec 24 22:46:55 1997 Jeffrey A Law (law@cygnus.com)
* config.guess: Sync with egcs. Picks up new alpha support,
BeOS & some additional linux support.
Tue Dec 23 12:44:24 1997 Jeffrey A Law (law@cygnus.com) Tue Dec 23 12:44:24 1997 Jeffrey A Law (law@cygnus.com)
* config.guess: HP 9000/803 is a PA1.1 machine. * config.guess: HP 9000/803 is a PA1.1 machine.
...@@ -446,10 +708,38 @@ Sun Dec 21 16:53:12 1997 H.J. Lu (hjl@gnu.ai.mit.edu) ...@@ -446,10 +708,38 @@ Sun Dec 21 16:53:12 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
(alpha-*-linux*): Treat alpha-*-linux* as alpha-*-linux* and (alpha-*-linux*): Treat alpha-*-linux* as alpha-*-linux* and
alpha-*-*. alpha-*-*.
Tue Dec 16 17:36:05 1997 Ian Lance Taylor <ian@cygnus.com>
* Makefile.in: Add libgui directory.
(GDB_TK): Add all-libgui.
* configure.in: Add libgui directory.
* configure: Add all-libgui to GDB_TK.
Mon Dec 15 16:12:28 1997 Nick Clifton <nickc@cygnus.com>
* config-ml.in (multidirs): Add m32r to multilib list.
Fri Dec 12 10:43:31 1997 Brendan Kehoe <brendan@canuck.cygnus.com>
* Makefile.in (all-target-gperf): Change dependency to
all-target-libstdc++.
Thu Dec 11 23:30:51 1997 Fred Fish <fnf@ninemoons.com> Thu Dec 11 23:30:51 1997 Fred Fish <fnf@ninemoons.com>
* config.guess: Add BeOS support. * config.guess: Add BeOS support.
Wed Dec 10 15:10:38 1997 Ian Lance Taylor <ian@cygnus.com>
Source directory cvs renamed to cvssrc:
* configure.in (host_tools): Change cvs to cvssrc.
(native_only): Likewise.
(noconfigdirs) [various cases]: Likewise.
* Makefile.in (ALL_MODULES): Change all-cvs to all-cvssrc.
(CROSS_CHECK_MODULES): Change check-cvs to check-cvssrc.
(INSTALL_MODULES): Change install-cvs to install-cvssrc.
(CLEAN_MODULES): Change clean-cvs to clean-cvssrc.
(all-cvssrc): Rename target from all-cvs.
Wed Dec 3 07:55:59 1997 Jeffrey A Law (law@cygnus.com) Wed Dec 3 07:55:59 1997 Jeffrey A Law (law@cygnus.com)
* configure (gxx_include_dir): Fix thinko. * configure (gxx_include_dir): Fix thinko.
...@@ -459,6 +749,18 @@ Tue Dec 2 10:55:34 1997 Jeffrey A Law (law@cygnus.com) ...@@ -459,6 +749,18 @@ Tue Dec 2 10:55:34 1997 Jeffrey A Law (law@cygnus.com)
* Makefile.in (INSTALL_TARGET_CROSS): Define. * Makefile.in (INSTALL_TARGET_CROSS): Define.
(install-cross, install-gcc-cross): New targets. (install-cross, install-gcc-cross): New targets.
Tue Dec 2 10:08:31 1997 Nick Clifton <nickc@cygnus.com>
* configure.in (noconfigdirs): Add support for Thumb target.
* config.sub (maybe_os): Add support for Thumb target.
Sun Nov 30 16:12:27 1997 Bob Manson <manson@charmed.cygnus.com>
* Makefile.in: Add rules for cygmon.
* configure.in: Build cygmon for sparc-elf and sparclite-aout.
Thu Nov 27 01:31:30 1997 Jeffrey A Law (law@cygnus.com) Thu Nov 27 01:31:30 1997 Jeffrey A Law (law@cygnus.com)
* Makefile.in (INSTALL_TARGET): Do install-gcc first. * Makefile.in (INSTALL_TARGET): Do install-gcc first.
...@@ -480,6 +782,23 @@ Thu Nov 13 11:38:37 1997 Jeffrey A Law (law@cygnus.com) ...@@ -480,6 +782,23 @@ Thu Nov 13 11:38:37 1997 Jeffrey A Law (law@cygnus.com)
* configure.in (i[3456]86-ncr-sysv4.3*): Tweak. * configure.in (i[3456]86-ncr-sysv4.3*): Tweak.
Mon Nov 10 15:23:21 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
* ltmain.sh: If mkdir fails, check whether the directory was created
anyhow by some other process.
Fri Nov 7 10:34:09 1997 Rob Savoye <rob@darkstar.cygnus.com>
* include/libiberty.h: Add extern "C" { so it can be used with C++
progrms.
* include/remote-sim.h: Add extern "C" { so it can be used with C++
programs.
Mon Oct 27 13:17:24 1997 Stan Shebs <shebs@andros.cygnus.com>
* configure.in: Remove a "second pass" of tweaking noconfigdirs,
is no longer needed.
Mon Oct 27 12:03:53 1997 Jason Merrill <jason@yorick.cygnus.com> Mon Oct 27 12:03:53 1997 Jason Merrill <jason@yorick.cygnus.com>
* Makefile.in: check-target-libio depends on all-target-libstdc++. * Makefile.in: check-target-libio depends on all-target-libstdc++.
...@@ -514,6 +833,10 @@ Thu Sep 18 21:43:23 1997 Alexandre Oliva <oliva@dcc.unicamp.br> ...@@ -514,6 +833,10 @@ Thu Sep 18 21:43:23 1997 Alexandre Oliva <oliva@dcc.unicamp.br>
* configure: Rewrite so that project Makefile fragment is inserted * configure: Rewrite so that project Makefile fragment is inserted
first and appears last in the resulting Makefile. first and appears last in the resulting Makefile.
Fri Sep 12 16:19:20 1997 Geoffrey Noer <noer@cygnus.com>
* configure.in: remove bison from noconfigdirs for Cygwin32 host
Thu Sep 11 16:40:46 1997 H.J. Lu (hjl@gnu.ai.mit.edu) Thu Sep 11 16:40:46 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
* Makefile.in (local-distclean): Also remove mh-frag mt-frag. * Makefile.in (local-distclean): Also remove mh-frag mt-frag.
...@@ -1306,10 +1629,26 @@ Mon Sep 16 17:00:52 1996 Ian Lance Taylor <ian@cygnus.com> ...@@ -1306,10 +1629,26 @@ Mon Sep 16 17:00:52 1996 Ian Lance Taylor <ian@cygnus.com>
* configure.in: Use a single line for host_tools and native_only. * configure.in: Use a single line for host_tools and native_only.
Tue Sep 16 09:55:07 1997 Andrew Cagney <cagney@b1.cygnus.com>
* Makefile.in (install-itcl): Install tcl first.
Sun Sep 14 20:53:42 1997 Geoffrey Noer <noer@cygnus.com>
* config/mh-cygwin32: ok to build split texinfo files
Fri Sep 12 16:19:20 1997 Geoffrey Noer <noer@cygnus.com>
* configure.in: remove bison from noconfigdirs for Cygwin32 host
Mon Sep 9 12:21:30 1996 Doug Evans <dje@canuck.cygnus.com> Mon Sep 9 12:21:30 1996 Doug Evans <dje@canuck.cygnus.com>
* config.sub, configure.in: Add entries for m32r. * config.sub, configure.in: Add entries for m32r.
Mon Sep 8 20:46:20 1997 Ian Lance Taylor <ian@cygnus.com>
* config.guess: Merge with FSF.
Thu Sep 5 13:52:47 1996 Tom Tromey <tromey@creche.cygnus.com> Thu Sep 5 13:52:47 1996 Tom Tromey <tromey@creche.cygnus.com>
* Makefile.in (inet-install): Don't run install-gzip. * Makefile.in (inet-install): Don't run install-gzip.
...@@ -1336,6 +1675,10 @@ Mon Aug 26 18:34:42 1996 Martin M. Hunt <hunt@pizza.cygnus.com> ...@@ -1336,6 +1675,10 @@ Mon Aug 26 18:34:42 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
* configure.in (noconfigdirs): Removed gdb for D10V. * configure.in (noconfigdirs): Removed gdb for D10V.
Tue Aug 26 16:46:46 1997 Andrew Cagney <cagney@b1.cygnus.com>
* Makefile.in (all-sim): Depends on all-readline.
Wed Aug 21 18:56:38 1996 Fred Fish <fnf@cygnus.com> Wed Aug 21 18:56:38 1996 Fred Fish <fnf@cygnus.com>
* configure: Fix three locations where shell scripts were * configure: Fix three locations where shell scripts were
...@@ -3882,6 +4225,10 @@ Fri Oct 8 14:15:39 1993 Ken Raeburn (raeburn@cygnus.com) ...@@ -3882,6 +4225,10 @@ Fri Oct 8 14:15:39 1993 Ken Raeburn (raeburn@cygnus.com)
* config.sub: Accept linux*coff and linux*elf as operating * config.sub: Accept linux*coff and linux*elf as operating
systems. systems.
Tue Oct 7 14:24:41 1997 Ian Lance Taylor <ian@cygnus.com>
* ltmain.sh: Handle symlinks in generated script.
Thu Oct 7 12:57:19 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) Thu Oct 7 12:57:19 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
* config.sub: Recognize mips64, and mips3 as an alias for it. * config.sub: Recognize mips64, and mips3 as an alias for it.
...@@ -3906,11 +4253,27 @@ Mon Oct 4 16:15:09 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) ...@@ -3906,11 +4253,27 @@ Mon Oct 4 16:15:09 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
--with options (but still pass them down on the command line, --with options (but still pass them down on the command line,
if they were explicitly specified). if they were explicitly specified).
Wed Oct 1 13:11:27 1997 Ian Lance Taylor <ian@cygnus.com>
* configure: Handle autoconf style directory options: --bindir,
--datadir, --includedir, --infodir, --libdir, --libexecdir,
--mandir, --oldincludedir, --sbindir, --sharedstatedir,
--sysconfdir.
* Makefile.in (sbindir, libexecdir, sysconfdir): New variables.
(sharedstatedir, localstatedir, oldincludedir): New variables.
(BASE_FLAGS_TO_PASS): Pass down bindir, datadir, includedir,
infodir, libdir, libexecdir, localstatedir, mandir, oldincludedir,
sbindir, sharedstatedir, and sysconfdir.
Fri Sep 24 19:11:13 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) Fri Sep 24 19:11:13 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
* configure: substitute SHELL value in Makefile.in with * configure: substitute SHELL value in Makefile.in with
${CONFIG_SHELL} ${CONFIG_SHELL}
Wed Sep 24 15:18:32 1997 Ian Lance Taylor <ian@cygnus.com>
* ltmain.sh: Tweak shell pattern to avoid bug in NetBSD /bin/sh.
Thu Sep 23 18:05:13 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) Thu Sep 23 18:05:13 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
* configure.in: Build gas, ld, and binutils for *-*-sysv4* and * configure.in: Build gas, ld, and binutils for *-*-sysv4* and
......
# #
# Makefile for directory with subdirs to build. # Makefile for directory with subdirs to build.
# Copyright (C) 1990, 91, 92, 93, 94, 95, 96, 97, 1998 Free Software Foundation # Copyright (C) 1990, 91, 92, 93, 94, 95, 96, 97, 1998
# Free Software Foundation
# #
# This file is free software; you can redistribute it and/or modify # 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 # it under the terms of the GNU General Public License as published by
...@@ -20,16 +21,25 @@ ...@@ -20,16 +21,25 @@
srcdir = . srcdir = .
prefix = /usr/local prefix = /usr/local
exec_prefix = $(prefix) exec_prefix = $(prefix)
bindir = $(exec_prefix)/bin
libdir = $(exec_prefix)/lib bindir=${exec_prefix}/bin
sbindir=${exec_prefix}/sbin
libexecdir=${exec_prefix}/libexec
datadir=${prefix}/share
sysconfdir=${prefix}/etc
sharedstatedir=${prefix}/com
localstatedir=${prefix}/var
libdir=${exec_prefix}/lib
includedir=${prefix}/include
oldincludedir=/usr/include
infodir=${prefix}/info
mandir=${prefix}/man
tooldir = $(exec_prefix)/$(target) tooldir = $(exec_prefix)/$(target)
program_transform_name = program_transform_name =
datadir = $(prefix)/share
mandir = $(prefix)/man
man1dir = $(mandir)/man1 man1dir = $(mandir)/man1
man2dir = $(mandir)/man2 man2dir = $(mandir)/man2
man3dir = $(mandir)/man3 man3dir = $(mandir)/man3
...@@ -80,6 +90,8 @@ LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET) ...@@ -80,6 +90,8 @@ LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
PICFLAG = PICFLAG =
PICFLAG_FOR_TARGET = PICFLAG_FOR_TARGET =
CHILLFLAGS = $(CFLAGS)
CHILL_LIB = -lchill
CXX = c++ CXX = c++
# Use -O2 to stress test the compiler. # Use -O2 to stress test the compiler.
...@@ -154,7 +166,7 @@ OTHERS = ...@@ -154,7 +166,7 @@ OTHERS =
# This is set by the configure script to the list of directories which # This is set by the configure script to the list of directories which
# should be built using the target tools. # should be built using the target tools.
TARGET_CONFIGDIRS = libiberty libgloss newlib libio librx libstdc++ libg++ libf2c libchill libobjc winsup TARGET_CONFIGDIRS = libiberty libgloss newlib libio librx libstdc++ libg++ winsup opcodes libstub cygmon libf2c libchill libobjc
# Target libraries are put under this directory: # Target libraries are put under this directory:
# Changed by configure to $(target_alias) if cross. # Changed by configure to $(target_alias) if cross.
...@@ -216,6 +228,16 @@ CC_FOR_TARGET = ` \ ...@@ -216,6 +228,16 @@ CC_FOR_TARGET = ` \
# overridden on the command line. # overridden on the command line.
GCC_FOR_TARGET = $$r/gcc/xgcc -B$$r/gcc/ GCC_FOR_TARGET = $$r/gcc/xgcc -B$$r/gcc/
CHILL_FOR_TARGET = ` \
if [ -f $$r/gcc/xgcc ] ; then \
echo $$r/gcc/xgcc -B$$r/gcc/ -L$$r/gcc/ch/runtime/; \
else \
if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
echo $(CC); \
else \
t='$(program_transform_name)'; echo gcc | sed -e 's/x/x/' $$t; \
fi; \
fi`
CXX_FOR_TARGET = ` \ CXX_FOR_TARGET = ` \
if [ -f $$r/gcc/xgcc ] ; then \ if [ -f $$r/gcc/xgcc ] ; then \
...@@ -313,6 +335,18 @@ NM_FOR_TARGET = ` \ ...@@ -313,6 +335,18 @@ NM_FOR_TARGET = ` \
fi; \ fi; \
fi` fi`
# The first rule in the file had better be this one. Don't put any above it.
# This lives here to allow makefile fragments to contain dependencies.
all: all.normal
.PHONY: all
# These can be overridden by config/mt-*.
# The _TARGET_ is because they're specified in mt-foo.
# The _HOST_ is because they're programs that run on the host.
EXTRA_TARGET_HOST_ALL_MODULES =
EXTRA_TARGET_HOST_INSTALL_MODULES =
EXTRA_TARGET_HOST_CHECK_MODULES =
#### host and target specific makefile fragments come in here. #### host and target specific makefile fragments come in here.
### ###
...@@ -327,6 +361,9 @@ BASE_FLAGS_TO_PASS = \ ...@@ -327,6 +361,9 @@ BASE_FLAGS_TO_PASS = \
"CC_FOR_TARGET=$(CC_FOR_TARGET)" \ "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
"CFLAGS=$(CFLAGS)" \ "CFLAGS=$(CFLAGS)" \
"CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \ "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
"CHILLFLAGS=$(CHILLFLAGS)" \
"CHILL_FOR_TARGET=$(CHILL_FOR_TARGET)" \
"CHILL_LIB=$(CHILL_LIB)" \
"CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \ "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
"CXXFLAGS=$(CXXFLAGS)" \ "CXXFLAGS=$(CXXFLAGS)" \
"CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \ "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
...@@ -348,6 +385,7 @@ BASE_FLAGS_TO_PASS = \ ...@@ -348,6 +385,7 @@ BASE_FLAGS_TO_PASS = \
"MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \ "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
"NM_FOR_TARGET=$(NM_FOR_TARGET)" \ "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
"RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \ "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
"RPATH_ENVVAR=$(RPATH_ENVVAR)" \
"SHELL=$(SHELL)" \ "SHELL=$(SHELL)" \
"EXPECT=$(EXPECT)" \ "EXPECT=$(EXPECT)" \
"RUNTEST=$(RUNTEST)" \ "RUNTEST=$(RUNTEST)" \
...@@ -355,8 +393,21 @@ BASE_FLAGS_TO_PASS = \ ...@@ -355,8 +393,21 @@ BASE_FLAGS_TO_PASS = \
"TARGET_SUBDIR=$(TARGET_SUBDIR)" \ "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
"WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \ "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
"YACC=$(YACC)" \ "YACC=$(YACC)" \
"bindir=$(bindir)" \
"datadir=$(datadir)" \
"exec_prefix=$(exec_prefix)" \ "exec_prefix=$(exec_prefix)" \
"includedir=$(includedir)" \
"infodir=$(infodir)" \
"libdir=$(libdir)" \
"libexecdir=$(libexecdir)" \
"lispdir=$(lispdir)" \
"localstatedir=$(localstatedir)" \
"mandir=$(mandir)" \
"oldincludedir=$(oldincludedir)" \
"prefix=$(prefix)" \ "prefix=$(prefix)" \
"sbindir=$(sbindir)" \
"sharedstatedir=$(sharedstatedir)" \
"sysconfdir=$(sysconfdir)" \
"tooldir=$(tooldir)" \ "tooldir=$(tooldir)" \
"gxx_include_dir=$(gxx_include_dir)" \ "gxx_include_dir=$(gxx_include_dir)" \
"gcc_version=$(gcc_version)" \ "gcc_version=$(gcc_version)" \
...@@ -432,15 +483,15 @@ EXTRA_GCC_FLAGS = \ ...@@ -432,15 +483,15 @@ EXTRA_GCC_FLAGS = \
'RANLIB=$$(RANLIB_FOR_TARGET)' \ 'RANLIB=$$(RANLIB_FOR_TARGET)' \
'WINDRES=$$(WINDRES_FOR_TARGET)' \ 'WINDRES=$$(WINDRES_FOR_TARGET)' \
"GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \ "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
"`if test x'$(LANGUAGES)' != x; then echo 'LANGUAGES=$(LANGUAGES)'; else echo 'XFOO=bar'; fi`" \ "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s/.*=$$/XFOO=/`" \
"`if test x'$(STMP_FIXPROTO)' != x; then echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)'; else echo 'XFOO=bar'; fi`" \ "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s/.*=$$/XFOO=/`" \
"`if test x'$(LIMITS_H_TEST)' != x; then echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)'; else echo 'XFOO=bar'; fi`" \ "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s/.*=$$/XFOO=/`" \
"`if test x'$(LIBGCC1_TEST)' != x; then echo 'LIBGCC1_TEST=$(LIBGCC1_TEST)'; else echo 'XFOO=bar'; fi`" \ "`echo 'LIBGCC1_TEST=$(LIBGCC1_TEST)' | sed -e s/.*=$$/XFOO=/`" \
"`if test x'$(LIBGCC2_CFLAGS)' != x; then echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)'; else echo 'XFOO=bar'; fi`" \ "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" \
"`if test x'$(LIBGCC2_DEBUG_CFLAGS)' != x; then echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)'; else echo 'XFOO=bar'; fi`" \ "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" \
"`if test x'$(LIBGCC2_INCLUDES)' != x; then echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)'; else echo 'XFOO=bar'; fi`" \ "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s/.*=$$/XFOO=/`" \
"`if test x'$(ENQUIRE)' != x; then echo 'ENQUIRE=$(ENQUIRE)'; else echo 'XFOO=bar'; fi`" \ "`echo 'ENQUIRE=$(ENQUIRE)' | sed -e s/.*=$$/XFOO=/`" \
"`if test x'$(BOOT_CFLAGS)' != x; then echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)'; else echo 'XFOO=bar'; fi`" "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s/.*=$$/XFOO=/`"
GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS)
...@@ -448,6 +499,7 @@ GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) ...@@ -448,6 +499,7 @@ GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS)
# using $(FLAGS_TO_PASS). # using $(FLAGS_TO_PASS).
ALL_MODULES = \ ALL_MODULES = \
all-apache \ all-apache \
all-ash \
all-autoconf \ all-autoconf \
all-automake \ all-automake \
all-bash \ all-bash \
...@@ -455,7 +507,8 @@ ALL_MODULES = \ ...@@ -455,7 +507,8 @@ ALL_MODULES = \
all-binutils \ all-binutils \
all-bison \ all-bison \
all-byacc \ all-byacc \
all-cvs \ all-bzip2 \
all-cvssrc \
all-db \ all-db \
all-dejagnu \ all-dejagnu \
all-diff \ all-diff \
...@@ -467,6 +520,7 @@ ALL_MODULES = \ ...@@ -467,6 +520,7 @@ ALL_MODULES = \
all-flex \ all-flex \
all-gas \ all-gas \
all-gawk \ all-gawk \
all-gettext \
all-gnuserv \ all-gnuserv \
all-gprof \ all-gprof \
all-grep \ all-grep \
...@@ -475,9 +529,11 @@ ALL_MODULES = \ ...@@ -475,9 +529,11 @@ ALL_MODULES = \
all-hello \ all-hello \
all-indent \ all-indent \
all-inet \ all-inet \
all-intl \
all-ispell \ all-ispell \
all-itcl \ all-itcl \
all-ld \ all-ld \
all-libgui \
all-libiberty \ all-libiberty \
all-m4 \ all-m4 \
all-make \ all-make \
...@@ -494,7 +550,7 @@ ALL_MODULES = \ ...@@ -494,7 +550,7 @@ ALL_MODULES = \
all-send-pr \ all-send-pr \
all-shellutils \ all-shellutils \
all-sim \ all-sim \
all-sn \ all-snavigator \
all-tar \ all-tar \
all-tcl \ all-tcl \
all-texinfo \ all-texinfo \
...@@ -502,7 +558,8 @@ ALL_MODULES = \ ...@@ -502,7 +558,8 @@ ALL_MODULES = \
all-tgas \ all-tgas \
all-time \ all-time \
all-uudecode \ all-uudecode \
all-wdiff all-wdiff \
$(EXTRA_TARGET_HOST_ALL_MODULES)
# This is a list of the check targets for all of the modules which are # This is a list of the check targets for all of the modules which are
# compiled using $(FLAGS_TO_PASS). # compiled using $(FLAGS_TO_PASS).
...@@ -517,12 +574,14 @@ NATIVE_CHECK_MODULES = \ ...@@ -517,12 +574,14 @@ NATIVE_CHECK_MODULES = \
CROSS_CHECK_MODULES = \ CROSS_CHECK_MODULES = \
check-apache \ check-apache \
check-ash \
check-autoconf \ check-autoconf \
check-automake \ check-automake \
check-bash \ check-bash \
check-bfd \ check-bfd \
check-binutils \ check-binutils \
check-cvs \ check-bzip2 \
check-cvssrc \
check-db \ check-db \
check-dejagnu \ check-dejagnu \
check-diff \ check-diff \
...@@ -532,6 +591,7 @@ CROSS_CHECK_MODULES = \ ...@@ -532,6 +591,7 @@ CROSS_CHECK_MODULES = \
check-find \ check-find \
check-gas \ check-gas \
check-gawk \ check-gawk \
check-gettext \
check-gnuserv \ check-gnuserv \
check-gprof \ check-gprof \
check-grep \ check-grep \
...@@ -539,10 +599,13 @@ CROSS_CHECK_MODULES = \ ...@@ -539,10 +599,13 @@ CROSS_CHECK_MODULES = \
check-hello \ check-hello \
check-indent \ check-indent \
check-inet \ check-inet \
check-intl \
check-ispell \ check-ispell \
check-itcl \ check-itcl \
check-ld \ check-ld \
check-libgui \
check-libiberty \ check-libiberty \
check-libtool \
check-m4 \ check-m4 \
check-make \ check-make \
check-mmcheckoc \ check-mmcheckoc \
...@@ -556,7 +619,7 @@ CROSS_CHECK_MODULES = \ ...@@ -556,7 +619,7 @@ CROSS_CHECK_MODULES = \
check-sed \ check-sed \
check-send-pr \ check-send-pr \
check-shellutils \ check-shellutils \
check-sn \ check-snaviagor \
check-sim \ check-sim \
check-tar \ check-tar \
check-tcl \ check-tcl \
...@@ -565,7 +628,8 @@ CROSS_CHECK_MODULES = \ ...@@ -565,7 +628,8 @@ CROSS_CHECK_MODULES = \
check-tgas \ check-tgas \
check-time \ check-time \
check-uudecode \ check-uudecode \
check-wdiff check-wdiff \
$(EXTRA_TARGET_HOST_CHECK_MODULES)
CHECK_MODULES=$(NATIVE_CHECK_MODULES) $(CROSS_CHECK_MODULES) CHECK_MODULES=$(NATIVE_CHECK_MODULES) $(CROSS_CHECK_MODULES)
...@@ -574,17 +638,21 @@ CHECK_MODULES=$(NATIVE_CHECK_MODULES) $(CROSS_CHECK_MODULES) ...@@ -574,17 +638,21 @@ CHECK_MODULES=$(NATIVE_CHECK_MODULES) $(CROSS_CHECK_MODULES)
# We put install-opcodes before install-binutils because the installed # We put install-opcodes before install-binutils because the installed
# binutils might be on PATH, and they might need the shared opcodes # binutils might be on PATH, and they might need the shared opcodes
# library. # library.
# We put install-tcl before install-itcl because itcl wants to run a
# program on installation which uses the Tcl libraries.
INSTALL_MODULES = \ INSTALL_MODULES = \
install-apache \ install-apache \
install-ash \
install-autoconf \ install-autoconf \
install-automake \ install-automake \
install-bash \ install-bash \
install-bfd \ install-bfd \
install-bzip2 \
install-opcodes \ install-opcodes \
install-binutils \ install-binutils \
install-bison \ install-bison \
install-byacc \ install-byacc \
install-cvs \ install-cvssrc \
install-db \ install-db \
install-dejagnu \ install-dejagnu \
install-diff \ install-diff \
...@@ -596,6 +664,7 @@ INSTALL_MODULES = \ ...@@ -596,6 +664,7 @@ INSTALL_MODULES = \
install-flex \ install-flex \
install-gas \ install-gas \
install-gawk \ install-gawk \
install-gettext \
install-gnuserv \ install-gnuserv \
install-gprof \ install-gprof \
install-grep \ install-grep \
...@@ -604,10 +673,14 @@ INSTALL_MODULES = \ ...@@ -604,10 +673,14 @@ INSTALL_MODULES = \
install-hello \ install-hello \
install-indent \ install-indent \
install-inet \ install-inet \
install-intl \
install-ispell \ install-ispell \
install-tcl \
install-itcl \ install-itcl \
install-ld \ install-ld \
install-libgui \
install-libiberty \ install-libiberty \
install-libtool \
install-m4 \ install-m4 \
install-make \ install-make \
install-mmalloc \ install-mmalloc \
...@@ -621,14 +694,15 @@ INSTALL_MODULES = \ ...@@ -621,14 +694,15 @@ INSTALL_MODULES = \
install-send-pr \ install-send-pr \
install-shellutils \ install-shellutils \
install-sim \ install-sim \
install-sn \ install-snavigator \
install-tar \ install-tar \
install-tcl \ install-texinfo \
install-textutils \ install-textutils \
install-tgas \ install-tgas \
install-time \ install-time \
install-uudecode \ install-uudecode \
install-wdiff install-wdiff \
$(EXTRA_TARGET_HOST_INSTALL_MODULES)
# This is a list of the targets for all of the modules which are compiled # This is a list of the targets for all of the modules which are compiled
# using $(X11_FLAGS_TO_PASS). # using $(X11_FLAGS_TO_PASS).
...@@ -683,7 +757,9 @@ ALL_TARGET_MODULES = \ ...@@ -683,7 +757,9 @@ ALL_TARGET_MODULES = \
all-target-libgloss \ all-target-libgloss \
all-target-libiberty \ all-target-libiberty \
all-target-gperf \ all-target-gperf \
all-target-examples all-target-examples \
all-target-libstub \
all-target-cygmon
# This is a list of the configure targets for all of the modules which # This is a list of the configure targets for all of the modules which
# are compiled using the target tools. # are compiled using the target tools.
...@@ -700,7 +776,9 @@ CONFIGURE_TARGET_MODULES = \ ...@@ -700,7 +776,9 @@ CONFIGURE_TARGET_MODULES = \
configure-target-libgloss \ configure-target-libgloss \
configure-target-libiberty \ configure-target-libiberty \
configure-target-gperf \ configure-target-gperf \
configure-target-examples configure-target-examples \
configure-target-libstub \
configure-target-cygmon
# This is a list of the check targets for all of the modules which are # This is a list of the check targets for all of the modules which are
# compiled using $(TARGET_FLAGS_TO_PASS). # compiled using $(TARGET_FLAGS_TO_PASS).
...@@ -734,6 +812,7 @@ INSTALL_TARGET_MODULES = \ ...@@ -734,6 +812,7 @@ INSTALL_TARGET_MODULES = \
# This is a list of the targets for which we can do a clean-{target}. # This is a list of the targets for which we can do a clean-{target}.
CLEAN_MODULES = \ CLEAN_MODULES = \
clean-apache \ clean-apache \
clean-ash \
clean-autoconf \ clean-autoconf \
clean-automake \ clean-automake \
clean-bash \ clean-bash \
...@@ -741,7 +820,8 @@ CLEAN_MODULES = \ ...@@ -741,7 +820,8 @@ CLEAN_MODULES = \
clean-binutils \ clean-binutils \
clean-bison \ clean-bison \
clean-byacc \ clean-byacc \
clean-cvs \ clean-bzip2 \
clean-cvssrc \
clean-db \ clean-db \
clean-dejagnu \ clean-dejagnu \
clean-diff \ clean-diff \
...@@ -753,6 +833,7 @@ CLEAN_MODULES = \ ...@@ -753,6 +833,7 @@ CLEAN_MODULES = \
clean-flex \ clean-flex \
clean-gas \ clean-gas \
clean-gawk \ clean-gawk \
clean-gettext \
clean-gnuserv \ clean-gnuserv \
clean-gprof \ clean-gprof \
clean-grep \ clean-grep \
...@@ -761,10 +842,13 @@ CLEAN_MODULES = \ ...@@ -761,10 +842,13 @@ CLEAN_MODULES = \
clean-hello \ clean-hello \
clean-indent \ clean-indent \
clean-inet \ clean-inet \
clean-intl \
clean-ispell \ clean-ispell \
clean-itcl \ clean-itcl \
clean-ld \ clean-ld \
clean-libgui \
clean-libiberty \ clean-libiberty \
clean-libtool \
clean-m4 \ clean-m4 \
clean-make \ clean-make \
clean-mmalloc \ clean-mmalloc \
...@@ -780,7 +864,7 @@ CLEAN_MODULES = \ ...@@ -780,7 +864,7 @@ CLEAN_MODULES = \
clean-send-pr \ clean-send-pr \
clean-shellutils \ clean-shellutils \
clean-sim \ clean-sim \
clean-sn \ clean-snavigator \
clean-tar \ clean-tar \
clean-tcl \ clean-tcl \
clean-texinfo \ clean-texinfo \
...@@ -804,7 +888,9 @@ CLEAN_TARGET_MODULES = \ ...@@ -804,7 +888,9 @@ CLEAN_TARGET_MODULES = \
clean-target-libgloss \ clean-target-libgloss \
clean-target-libiberty \ clean-target-libiberty \
clean-target-gperf \ clean-target-gperf \
clean-target-examples clean-target-examples \
clean-target-libstub \
clean-target-cygmon
# All of the x11 modules that can be cleaned # All of the x11 modules that can be cleaned
CLEAN_X11_MODULES = \ CLEAN_X11_MODULES = \
...@@ -1427,14 +1513,18 @@ install-dosrel-fake: ...@@ -1427,14 +1513,18 @@ install-dosrel-fake:
# This is a list of inter-dependencies among modules. # This is a list of inter-dependencies among modules.
all-apache: all-apache:
all-ash:
all-autoconf: all-m4 all-texinfo all-autoconf: all-m4 all-texinfo
all-automake: all-automake: all-m4 all-texinfo
all-bash: all-bash:
all-bfd: all-bfd: all-libiberty all-intl
all-binutils: all-libiberty all-opcodes all-bfd all-flex all-bison all-byacc all-binutils: all-libiberty all-opcodes all-bfd all-flex all-bison all-byacc all-intl
all-bison: all-texinfo all-bison: all-texinfo
all-byacc: all-byacc:
all-cvs: all-bzip2:
all-cvssrc:
configure-target-cygmon: $(ALL_GCC)
all-target-cygmon: configure-target-cygmon all-gas all-ld all-gcc all-target-libiberty all-target-newlib all-target-libio all-target-libstub
all-db: all-db:
all-dejagnu: all-tcl all-expect all-tk all-dejagnu: all-tcl all-expect all-tk
all-diff: all-libiberty all-diff: all-libiberty
...@@ -1448,17 +1538,19 @@ all-fileutils: all-libiberty ...@@ -1448,17 +1538,19 @@ all-fileutils: all-libiberty
all-findutils: all-findutils:
all-find: all-find:
all-flex: all-libiberty all-bison all-byacc all-flex: all-libiberty all-bison all-byacc
all-gas: all-libiberty all-opcodes all-bfd all-gas: all-libiberty all-opcodes all-bfd all-intl
all-gash: all-tcl all-gash: all-tcl
all-gawk: all-gawk:
ALL_GCC = all-gcc ALL_GCC = all-gcc
all-gcc: all-bison all-byacc all-binutils all-gas all-ld all-gcc: all-bison all-byacc all-binutils all-gas all-ld
GDB_TK = all-tk all-tcl all-itcl all-tix all-bootstrap: all-libiberty all-bison all-byacc all-binutils all-gas all-ld
GDB_TK = all-tk all-tcl all-itcl all-tix all-libgui
all-gdb: all-libiberty all-opcodes all-bfd all-mmalloc all-readline all-bison all-byacc all-sim $(gdbnlmrequirements) $(GDB_TK) all-gdb: all-libiberty all-opcodes all-bfd all-mmalloc all-readline all-bison all-byacc all-sim $(gdbnlmrequirements) $(GDB_TK)
all-gettext:
all-gnuserv: all-gnuserv:
configure-target-gperf: $(ALL_GCC) configure-target-gperf: $(ALL_GCC)
all-target-gperf: configure-target-gperf all-target-libiberty all-target-libg++ all-target-gperf: configure-target-gperf all-target-libiberty all-target-libstdc++
all-gprof: all-libiberty all-bfd all-opcodes all-gprof: all-libiberty all-bfd all-opcodes all-intl
all-grep: all-libiberty all-grep: all-libiberty
all-grez: all-libiberty all-bfd all-opcodes all-grez: all-libiberty all-bfd all-opcodes
all-gui: all-gdb all-libproc all-target-librx all-gui: all-gdb all-libproc all-target-librx
...@@ -1467,9 +1559,10 @@ all-gzip: all-libiberty ...@@ -1467,9 +1559,10 @@ all-gzip: all-libiberty
all-hello: all-libiberty all-hello: all-libiberty
all-indent: all-indent:
all-inet: all-tcl all-send-pr all-perl all-inet: all-tcl all-send-pr all-perl
all-intl:
all-ispell: all-emacs19 all-ispell: all-emacs19
all-itcl: all-tcl all-tk all-itcl: all-tcl all-tk
all-ld: all-libiberty all-bfd all-opcodes all-bison all-byacc all-flex all-ld: all-libiberty all-bfd all-opcodes all-bison all-byacc all-flex all-intl
configure-target-libg++: $(ALL_GCC) configure-target-librx configure-target-libg++: $(ALL_GCC) configure-target-librx
all-target-libg++: configure-target-libg++ all-gas all-ld all-gcc all-target-libiberty all-target-newlib all-target-libio all-target-librx all-target-libstdc++ all-target-libg++: configure-target-libg++ all-gas all-ld all-gcc all-target-libiberty all-target-newlib all-target-libio all-target-librx all-target-libstdc++
configure-target-libgloss: $(ALL_GCC) configure-target-libgloss: $(ALL_GCC)
...@@ -1477,11 +1570,15 @@ all-target-libgloss: configure-target-libgloss configure-target-newlib ...@@ -1477,11 +1570,15 @@ all-target-libgloss: configure-target-libgloss configure-target-newlib
configure-target-libio: $(ALL_GCC) configure-target-libio: $(ALL_GCC)
all-target-libio: configure-target-libio all-gas all-ld all-gcc all-target-libiberty all-target-newlib all-target-libio: configure-target-libio all-gas all-ld all-gcc all-target-libiberty all-target-newlib
check-target-libio: all-target-libstdc++ check-target-libio: all-target-libstdc++
all-libgui: all-tcl all-tk all-itcl
all-libiberty: all-libiberty:
configure-target-librx: $(ALL_GCC) configure-target-newlib configure-target-librx: $(ALL_GCC) configure-target-newlib
all-target-librx: configure-target-librx all-target-librx: configure-target-librx
configure-target-libstdc++: $(ALL_GCC) configure-target-libstdc++: $(ALL_GCC)
all-target-libstdc++: configure-target-libstdc++ all-gas all-ld all-gcc all-target-libiberty all-target-newlib all-target-libio all-target-libstdc++: configure-target-libstdc++ all-gas all-ld all-gcc all-target-libiberty all-target-newlib all-target-libio
configure-target-libstub: $(ALL_GCC)
all-target-libstub: configure-target-libstub
all-libtool:
all-target-libf2c: configure-target-libf2c all-gas all-ld all-gcc all-target-libiberty all-target-newlib all-target-libf2c: configure-target-libf2c all-gas all-ld all-gcc all-target-libiberty all-target-newlib
all-target-libchill: configure-target-libchill all-gas all-ld all-gcc all-target-libiberty all-target-newlib all-target-libchill: configure-target-libchill all-gas all-ld all-gcc all-target-libiberty all-target-newlib
all-target-libobjc: configure-target-libobjc all-gas all-ld all-gcc all-target-libiberty all-target-newlib all-target-libobjc: configure-target-libobjc all-gas all-ld all-gcc all-target-libiberty all-target-newlib
...@@ -1500,8 +1597,8 @@ all-recode: all-libiberty ...@@ -1500,8 +1597,8 @@ all-recode: all-libiberty
all-sed: all-libiberty all-sed: all-libiberty
all-send-pr: all-prms all-send-pr: all-prms
all-shellutils: all-shellutils:
all-sim: all-libiberty all-bfd all-opcodes all-sim: all-libiberty all-bfd all-opcodes all-readline
all-sn: all-tcl all-tk all-itcl all-db all-grep all-snavigator: all-tcl all-tk all-itcl all-db all-grep all-flexlm all-libgui
all-tar: all-libiberty all-tar: all-libiberty
all-tcl: all-tcl:
all-tclX: all-tcl all-tk all-tclX: all-tcl all-tk
...@@ -1512,7 +1609,7 @@ all-tgas: all-libiberty all-bfd all-opcodes ...@@ -1512,7 +1609,7 @@ all-tgas: all-libiberty all-bfd all-opcodes
all-time: all-time:
all-tix: all-tcl all-tk all-tix: all-tcl all-tk
all-wdiff: all-wdiff:
all-target-winsup: all-target-newlib all-target-libiberty all-target-librx all-target-libio configure-target-winsup all-target-winsup: all-target-newlib all-target-libiberty all-target-libio configure-target-winsup
configure-target-winsup: configure-target-newlib configure-target-winsup: configure-target-newlib
all-uudecode: all-libiberty all-uudecode: all-libiberty
configure-target-libiberty: $(ALL_GCC) configure-target-libiberty: $(ALL_GCC)
...@@ -1581,7 +1678,7 @@ SUPPORT_FILES = list-of-support-files-for-tool-in-question ...@@ -1581,7 +1678,7 @@ SUPPORT_FILES = list-of-support-files-for-tool-in-question
taz: $(DEVO_SUPPORT) $(SUPPORT_FILES) \ taz: $(DEVO_SUPPORT) $(SUPPORT_FILES) \
texinfo/texinfo.tex texinfo/gpl.texinfo texinfo/lgpl.texinfo texinfo/texinfo.tex texinfo/gpl.texinfo texinfo/lgpl.texinfo
# Take out texinfo from a few places; make simple BISON=bison line. # Take out texinfo from a few places
sed -e '/^all\.normal: /s/\all-texinfo //' \ sed -e '/^all\.normal: /s/\all-texinfo //' \
-e '/^ install-texinfo /d' \ -e '/^ install-texinfo /d' \
<Makefile.in >tmp <Makefile.in >tmp
...@@ -1631,7 +1728,7 @@ taz: $(DEVO_SUPPORT) $(SUPPORT_FILES) \ ...@@ -1631,7 +1728,7 @@ taz: $(DEVO_SUPPORT) $(SUPPORT_FILES) \
mkdir proto-toplev/texinfo/util && \ mkdir proto-toplev/texinfo/util && \
ln -s ../../../texinfo/util/tex3patch proto-toplev/texinfo/util ; \ ln -s ../../../texinfo/util/tex3patch proto-toplev/texinfo/util ; \
else true; fi else true; fi
chmod og=u `find . -print` chmod -R og=u . || chmod og=u `find . -print`
if grep AM_INIT_AUTOMAKE $(TOOL)/configure.in >/dev/null 2>&1; then \ if grep AM_INIT_AUTOMAKE $(TOOL)/configure.in >/dev/null 2>&1; then \
ver=`sed < $(TOOL)/configure.in -n 's/AM_INIT_AUTOMAKE[^,]*, *\([^)]*\))/\1/p'`; \ ver=`sed < $(TOOL)/configure.in -n 's/AM_INIT_AUTOMAKE[^,]*, *\([^)]*\))/\1/p'`; \
else \ else \
...@@ -1650,14 +1747,14 @@ TEXINFO_SUPPORT= texinfo/texinfo.tex texinfo/gpl.texinfo texinfo/lgpl.texinfo ...@@ -1650,14 +1747,14 @@ TEXINFO_SUPPORT= texinfo/texinfo.tex texinfo/gpl.texinfo texinfo/lgpl.texinfo
DIST_SUPPORT= $(DEVO_SUPPORT) $(TEXINFO_SUPPORT) DIST_SUPPORT= $(DEVO_SUPPORT) $(TEXINFO_SUPPORT)
.PHONY: gas.tar.gz .PHONY: gas.tar.gz
GAS_SUPPORT_DIRS= bfd include libiberty opcodes setup.com makefile.vms GAS_SUPPORT_DIRS= bfd include libiberty opcodes intl setup.com makefile.vms
gas.tar.gz: $(DIST_SUPPORT) $(GAS_SUPPORT_DIRS) gas gas.tar.gz: $(DIST_SUPPORT) $(GAS_SUPPORT_DIRS) gas
$(MAKE) -f Makefile.in taz TOOL=gas \ $(MAKE) -f Makefile.in taz TOOL=gas \
SUPPORT_FILES="$(GAS_SUPPORT_DIRS)" SUPPORT_FILES="$(GAS_SUPPORT_DIRS)"
# The FSF "binutils" release includes gprof and ld. # The FSF "binutils" release includes gprof and ld.
.PHONY: binutils.tar.gz .PHONY: binutils.tar.gz
BINUTILS_SUPPORT_DIRS= bfd gas include libiberty opcodes ld gprof setup.com makefile.vms BINUTILS_SUPPORT_DIRS= bfd gas include libiberty opcodes ld gprof intl setup.com makefile.vms
binutils.tar.gz: $(DIST_SUPPORT) $(BINUTILS_SUPPORT_DIRS) binutils binutils.tar.gz: $(DIST_SUPPORT) $(BINUTILS_SUPPORT_DIRS) binutils
$(MAKE) -f Makefile.in taz TOOL=binutils \ $(MAKE) -f Makefile.in taz TOOL=binutils \
SUPPORT_FILES="$(BINUTILS_SUPPORT_DIRS) makeall.bat configure.bat" SUPPORT_FILES="$(BINUTILS_SUPPORT_DIRS) makeall.bat configure.bat"
...@@ -1680,7 +1777,7 @@ gnats.tar.gz: $(DIST_SUPPORT) $(GNATS_SUPPORT_DIRS) gnats ...@@ -1680,7 +1777,7 @@ gnats.tar.gz: $(DIST_SUPPORT) $(GNATS_SUPPORT_DIRS) gnats
SUPPORT_FILES="$(GNATS_SUPPORT_DIRS)" SUPPORT_FILES="$(GNATS_SUPPORT_DIRS)"
.PHONY: gdb.tar.gz .PHONY: gdb.tar.gz
GDB_SUPPORT_DIRS= bfd include libiberty mmalloc opcodes readline sim utils GDB_SUPPORT_DIRS= bfd include libiberty mmalloc opcodes readline sim utils intl
GDBTK_SUPPORT_DIRS= `if [ -d tcl -a -d tk ] ; then echo tcl tk ; fi` GDBTK_SUPPORT_DIRS= `if [ -d tcl -a -d tk ] ; then echo tcl tk ; fi`
gdb.tar.gz: $(DIST_SUPPORT) $(GDB_SUPPORT_DIRS) gdb gdb.tar.gz: $(DIST_SUPPORT) $(GDB_SUPPORT_DIRS) gdb
$(MAKE) -f Makefile.in taz TOOL=gdb \ $(MAKE) -f Makefile.in taz TOOL=gdb \
...@@ -1707,5 +1804,4 @@ newlib.tar.gz: $(DIST_SUPPORT) $(NEWLIB_SUPPORT_DIRS) newlib ...@@ -1707,5 +1804,4 @@ newlib.tar.gz: $(DIST_SUPPORT) $(NEWLIB_SUPPORT_DIRS) newlib
.NOEXPORT: .NOEXPORT:
MAKEOVERRIDES= MAKEOVERRIDES=
# end of Makefile.in # end of Makefile.in
...@@ -51,6 +51,8 @@ build_alias= ...@@ -51,6 +51,8 @@ build_alias=
cache_file=config.cache cache_file=config.cache
cache_file_option= cache_file_option=
configdirs= configdirs=
extraconfigdirs=
diroptions=
exec_prefix= exec_prefix=
exec_prefixoption= exec_prefixoption=
fatal= fatal=
...@@ -73,7 +75,7 @@ program_suffix= ...@@ -73,7 +75,7 @@ program_suffix=
program_suffixoption= program_suffixoption=
program_transform_name= program_transform_name=
program_transform_nameoption= program_transform_nameoption=
redirect=">/dev/null" redirect=
removing= removing=
site= site=
site_makefile_frag= site_makefile_frag=
...@@ -86,6 +88,18 @@ target_makefile_frag= ...@@ -86,6 +88,18 @@ target_makefile_frag=
undefs=NOUNDEFS undefs=NOUNDEFS
version="$Revision: 1.22 $" version="$Revision: 1.22 $"
x11=default x11=default
bindir='${exec_prefix}/bin'
sbindir='${exec_prefix}/sbin'
libexecdir='${exec_prefix}/libexec'
datadir='${prefix}/share'
sysconfdir='${prefix}/etc'
sharedstatedir='${prefix}/com'
localstatedir='${prefix}/var'
libdir='${exec_prefix}/lib'
includedir='${prefix}/include'
oldincludedir='/usr/include'
infodir='${prefix}/info'
mandir='${prefix}/man'
### we might need to use some other shell than /bin/sh for running subshells ### we might need to use some other shell than /bin/sh for running subshells
...@@ -192,6 +206,10 @@ do ...@@ -192,6 +206,10 @@ do
# Now, process the options # Now, process the options
case $option in case $option in
--bi*)
bindir=$optarg
diroptions="$diroptions --bindir=$optarg"
;;
--build* | --bu*) --build* | --bu*)
case "$build_alias" in case "$build_alias" in
"") build_alias=$optarg ;; "") build_alias=$optarg ;;
...@@ -203,6 +221,10 @@ do ...@@ -203,6 +221,10 @@ do
--cache*) --cache*)
cache_file=$optarg cache_file=$optarg
;; ;;
--da*)
datadir=$optarg
diroptions="$diroptions --datadir=$optarg"
;;
--disable-*) --disable-*)
enableopt=`echo ${option} | sed 's:^--disable-:enable_:;s:-:_:g'` enableopt=`echo ${option} | sed 's:^--disable-:enable_:;s:-:_:g'`
eval $enableopt=no eval $enableopt=no
...@@ -236,6 +258,30 @@ do ...@@ -236,6 +258,30 @@ do
;; ;;
esac esac
;; ;;
--inc*)
includedir=$optarg
diroptions="$diroptions --includedir=$optarg"
;;
--inf*)
infodir=$optarg
diroptions="$diroptions --infodir=$optarg"
;;
--libd*)
libdir=$optarg
diroptions="$diroptions --libdir=$optarg"
;;
--libe*)
libexecdir=$optarg
diroptions="$diroptions --libexecdir=$optarg"
;;
--lo*)
localstatedir=$optarg
diroptions="$diroptions --localstatedir=$optarg"
;;
--ma*)
mandir=$optarg
diroptions="$diroptions --mandir=$optarg"
;;
--nfp | --nf*) --nfp | --nf*)
floating_point=no floating_point=no
floating_pointoption="--nfp" floating_pointoption="--nfp"
...@@ -243,6 +289,10 @@ do ...@@ -243,6 +289,10 @@ do
--norecursion | --no*) --norecursion | --no*)
norecursion=yes norecursion=yes
;; ;;
--ol*)
oldincludedir=$optarg
diroptions="$diroptions --oldincludedir=$optarg"
;;
--prefix* | --pre*) --prefix* | --pre*)
prefix=$optarg prefix=$optarg
prefixoption="--prefix=$optarg" prefixoption="--prefix=$optarg"
...@@ -263,6 +313,14 @@ do ...@@ -263,6 +313,14 @@ do
--rm) --rm)
removing=--rm removing=--rm
;; ;;
--sb*)
sbindir=$optarg
diroptions="$diroptions --sbindir=$optarg"
;;
--sh*)
sharedstatedir=$optarg
diroptions="$diroptions --sharedstatedir=$optarg"
;;
--silent | --sil* | --quiet | --q*) --silent | --sil* | --quiet | --q*)
redirect=">/dev/null" redirect=">/dev/null"
verbose=--silent verbose=--silent
...@@ -281,6 +339,10 @@ do ...@@ -281,6 +339,10 @@ do
--srcdir* | --sr*) --srcdir* | --sr*)
srcdir=$optarg srcdir=$optarg
;; ;;
--sy*)
sysconfdir=$optarg
diroptions="$diroptions --sysconfdir=$optarg"
;;
--target* | --ta*) --target* | --ta*)
case $target_alias in case $target_alias in
NOTARGET) target_alias=$optarg ;; NOTARGET) target_alias=$optarg ;;
...@@ -321,9 +383,6 @@ do ...@@ -321,9 +383,6 @@ do
;; ;;
--x-i* | --x-l*) other_options="$other_options $orig_option" --x-i* | --x-l*) other_options="$other_options $orig_option"
;; ;;
--bi* | --sb* | --li* | --da* | --sy* | --sh* | --lo* | --in* | --ol* | --ma*)
# These options were added to autoconf for emacs.
;;
--*) --*)
echo "configure: Unrecognized option: \"$orig_option\"; use --help for usage." >&2 echo "configure: Unrecognized option: \"$orig_option\"; use --help for usage." >&2
exit 1 exit 1
...@@ -461,6 +520,7 @@ configsub=`echo ${progname} | sed 's/configure$/config.sub/'` ...@@ -461,6 +520,7 @@ configsub=`echo ${progname} | sed 's/configure$/config.sub/'`
moveifchange=`echo ${progname} | sed 's/configure$/move-if-change/'` moveifchange=`echo ${progname} | sed 's/configure$/move-if-change/'`
topsrcdir=`cd \`dirname ${progname}\`; pwd` topsrcdir=`cd \`dirname ${progname}\`; pwd`
# this is a hack. sun4 must always be a valid host alias or this will fail. # this is a hack. sun4 must always be a valid host alias or this will fail.
if ${config_shell} ${configsub} sun4 >/dev/null 2>&1 ; then if ${config_shell} ${configsub} sun4 >/dev/null 2>&1 ; then
true true
...@@ -566,7 +626,7 @@ case "`grep '^# per\-host:' ${srcdir}/configure.in`" in ...@@ -566,7 +626,7 @@ case "`grep '^# per\-host:' ${srcdir}/configure.in`" in
eval exec ${config_shell} ${srcdir}/configure ${verbose} \ eval exec ${config_shell} ${srcdir}/configure ${verbose} \
${buildopt} --host=${host_alias} --target=${target_alias} \ ${buildopt} --host=${host_alias} --target=${target_alias} \
${prefixoption} ${tmpdiroption} ${exec_prefixoption} \ ${prefixoption} ${tmpdiroption} ${exec_prefixoption} \
${srcdiroption} \ ${srcdiroption} ${diroptions} \
${program_prefixoption} ${program_suffixoption} \ ${program_prefixoption} ${program_suffixoption} \
${program_transform_nameoption} ${site_option} \ ${program_transform_nameoption} ${site_option} \
${withoptions} ${withoutoptions} \ ${withoptions} ${withoutoptions} \
...@@ -728,7 +788,7 @@ fi ...@@ -728,7 +788,7 @@ fi
# If CC and CXX are not set in the environment, and the Makefile # If CC and CXX are not set in the environment, and the Makefile
# exists, try to extract them from it. This is to handle running # exists, try to extract them from it. This is to handle running
# ./config.status by hand. # ./config.status by hand.
if [ -z "${CC}" -a -r Makefile ]; then if [ -z "${CC}" ] && [ -r Makefile ]; then
sed -n -e ':loop sed -n -e ':loop
/\\$/ N /\\$/ N
s/\\\n//g s/\\\n//g
...@@ -738,7 +798,7 @@ t loop ...@@ -738,7 +798,7 @@ t loop
rm -f Makefile.cc rm -f Makefile.cc
fi fi
if [ -z "${CFLAGS}" -a -r Makefile ]; then if [ -z "${CFLAGS}" ] && [ -r Makefile ]; then
sed -n -e ':loop sed -n -e ':loop
/\\$/ N /\\$/ N
s/\\\n//g s/\\\n//g
...@@ -748,7 +808,7 @@ t loop ...@@ -748,7 +808,7 @@ t loop
rm -f Makefile.cc rm -f Makefile.cc
fi fi
if [ -z "${CXX}" -a -r Makefile ]; then if [ -z "${CXX}" ] && [ -r Makefile ]; then
sed -n -e ':loop sed -n -e ':loop
/\\$/ N /\\$/ N
s/\\\n//g s/\\\n//g
...@@ -758,7 +818,7 @@ t loop ...@@ -758,7 +818,7 @@ t loop
rm -f Makefile.cc rm -f Makefile.cc
fi fi
if [ -z "${CXXFLAGS}" -a -r Makefile ]; then if [ -z "${CXXFLAGS}" ] && [ -r Makefile ]; then
sed -n -e ':loop sed -n -e ':loop
/\\$/ N /\\$/ N
s/\\\n//g s/\\\n//g
...@@ -837,7 +897,7 @@ if [ "${build}" != "${host}" ]; then ...@@ -837,7 +897,7 @@ if [ "${build}" != "${host}" ]; then
tools="${tools} WINDRES WINDRES_FOR_TARGET YACC" tools="${tools} WINDRES WINDRES_FOR_TARGET YACC"
for var in ${tools}; do for var in ${tools}; do
if [ -z "`eval 'echo $'"${var}"`" -a -r Makefile ]; then if [ -z "`eval 'echo $'"${var}"`" ] && [ -r Makefile ]; then
sed -n -e ':loop sed -n -e ':loop
/\\$/ N /\\$/ N
s/\\\n//g s/\\\n//g
...@@ -950,6 +1010,24 @@ else ...@@ -950,6 +1010,24 @@ else
done done
IFS="$save_ifs" IFS="$save_ifs"
CC=${CC-cc} CC=${CC-cc}
else
if test -z "${CFLAGS}"; then
# Here CC is set but CFLAGS is not. Use a quick hack to use -O2 if CC
# is set to a version of gcc.
case "${CC}" in
*gcc)
echo 'void f(){}' > conftest.c
if test -z "`${CC} -g -c conftest.c 2>&1`"; then
CFLAGS=${CFLAGS-"-g -O2"}
CXXFLAGS=${CXXFLAGS-"-g -O2"}
else
CFLAGS=${CFLAGS-"-O2"}
CXXFLAGS=${CXXFLAGS-"-O2"}
fi
rm -f conftest*
;;
esac
fi
fi fi
CXX=${CXX-"c++"} CXX=${CXX-"c++"}
...@@ -1297,6 +1375,18 @@ EOF ...@@ -1297,6 +1375,18 @@ EOF
fi fi
sed -e "s|^prefix[ ]*=.*$|prefix = ${prefix}|" \ sed -e "s|^prefix[ ]*=.*$|prefix = ${prefix}|" \
-e "s|^exec_prefix[ ]*=.*$|exec_prefix = ${exec_prefix}|" \ -e "s|^exec_prefix[ ]*=.*$|exec_prefix = ${exec_prefix}|" \
-e "s|^bindir[ ]*=.*$|bindir = ${bindir}|" \
-e "s|^sbindir[ ]*=.*$|sbindir = ${sbindir}|" \
-e "s|^libexecdir[ ]*=.*$|libexecdir = ${libexecdir}|" \
-e "s|^datadir[ ]*=.*$|datadir = ${datadir}|" \
-e "s|^sysconfdir[ ]*=.*$|sysconfdir = ${sysconfdir}|" \
-e "s|^sharedstatedir[ ]*=.*$|sharedstatedir = ${sharedstatedir}|" \
-e "s|^localstatedir[ ]*=.*$|localstatedir = ${localstatedir}|" \
-e "s|^libdir[ ]*=.*$|libdir = ${libdir}|" \
-e "s|^includedir[ ]*=.*$|includedir = ${includedir}|" \
-e "s|^oldincludedir[ ]*=.*$|oldincludedir = ${oldincludedir}|" \
-e "s|^infodir[ ]*=.*$|infodir = ${infodir}|" \
-e "s|^mandir[ ]*=.*$|mandir = ${mandir}|" \
-e "/^CC[ ]*=/{ -e "/^CC[ ]*=/{
:loop1 :loop1
/\\\\$/ N /\\\\$/ N
...@@ -1419,19 +1509,33 @@ ${progname}" ${arguments} " ...@@ -1419,19 +1509,33 @@ ${progname}" ${arguments} "
done done
# If there are subdirectories, then recur. # If there are subdirectories, then recur.
if [ -z "${norecursion}" -a -n "${configdirs}" ] ; then if [ -z "${norecursion}" ] && [ -n "${configdirs}" ] ; then
for configdir in ${configdirs} ; do for configdir in ${configdirs} ${extraconfigdirs} ; do
# If configdir contains ',' it is
# srcdir,builddir,target_alias
# These come from extraconfigdirs.
case ${configdir} in
*,*)
eval `echo ${configdir} | sed -e 's/\([^,]*\),\([^,]*\),\(.*\)/cfg_dir=\1 bld_dir=\2 tgt_alias=\3/'`
;;
*)
cfg_dir=${configdir}
bld_dir=${configdir}
tgt_alias=${target_alias}
;;
esac
if [ -d ${srcdir}/${configdir} ] ; then if [ -d ${srcdir}/${cfg_dir} ] ; then
eval echo Configuring ${configdir}... ${redirect} eval echo Configuring ${configdir}... ${redirect}
case "${srcdir}" in case "${srcdir}" in
".") ;; ".") ;;
*) *)
if [ ! -d ./${configdir} ] ; then if [ ! -d ./${bld_dir} ] ; then
if mkdir ./${configdir} ; then if mkdir ./${bld_dir} ; then
true true
else else
echo '***' "${progname}: could not make ${PWD=`pwd`}/${configdir}" 1>&2 echo '***' "${progname}: could not make ${PWD=`pwd`}/${bld_dir}" 1>&2
exit 1 exit 1
fi fi
fi fi
...@@ -1439,21 +1543,21 @@ if [ -z "${norecursion}" -a -n "${configdirs}" ] ; then ...@@ -1439,21 +1543,21 @@ if [ -z "${norecursion}" -a -n "${configdirs}" ] ; then
esac esac
POPDIR=${PWD=`pwd`} POPDIR=${PWD=`pwd`}
cd ${configdir} cd ${bld_dir}
### figure out what to do with srcdir ### figure out what to do with srcdir
case "${srcdir}" in case "${srcdir}" in
".") newsrcdir=${srcdir} ;; # no -srcdir option. We're building in place. ".") newsrcdir=${srcdir} ;; # no -srcdir option. We're building in place.
/*) # absolute path /*) # absolute path
newsrcdir=${srcdir}/${configdir} newsrcdir=${srcdir}/${cfg_dir}
srcdiroption="--srcdir=${newsrcdir}" srcdiroption="--srcdir=${newsrcdir}"
;; ;;
?:*) # absolute path on win32 ?:*) # absolute path on win32
newsrcdir=${srcdir}/${configdir} newsrcdir=${srcdir}/${cfg_dir}
srcdiroption="--srcdir=${newsrcdir}" srcdiroption="--srcdir=${newsrcdir}"
;; ;;
*) # otherwise relative *) # otherwise relative
newsrcdir=../${srcdir}/${configdir} newsrcdir=../${srcdir}/${cfg_dir}
srcdiroption="--srcdir=${newsrcdir}" srcdiroption="--srcdir=${newsrcdir}"
;; ;;
esac esac
...@@ -1483,15 +1587,15 @@ if [ -z "${norecursion}" -a -n "${configdirs}" ] ; then ...@@ -1483,15 +1587,15 @@ if [ -z "${norecursion}" -a -n "${configdirs}" ] ; then
*) recprog=../${progname} ;; *) recprog=../${progname} ;;
esac esac
else else
eval echo No configuration information in ${configdir} ${redirect} eval echo No configuration information in ${cfg_dir} ${redirect}
recprog= recprog=
fi fi
### The recursion line is here. ### The recursion line is here.
if [ ! -z "${recprog}" ] ; then if [ ! -z "${recprog}" ] ; then
if eval ${config_shell} ${recprog} ${verbose} ${buildopt} --host=${host_alias} --target=${target_alias} \ if eval ${config_shell} ${recprog} ${verbose} ${buildopt} --host=${host_alias} --target=${tgt_alias} \
${prefixoption} ${tmpdiroption} ${exec_prefixoption} \ ${prefixoption} ${tmpdiroption} ${exec_prefixoption} \
${srcdiroption} ${program_prefixoption} ${program_suffixoption} ${program_transform_nameoption} ${site_option} ${withoptions} ${withoutoptions} ${enableoptions} ${disableoptions} ${floating_pointoption} ${cache_file_option} ${removing} ${other_options} ${redirect} ; then ${srcdiroption} ${diroptions} ${program_prefixoption} ${program_suffixoption} ${program_transform_nameoption} ${site_option} ${withoptions} ${withoutoptions} ${enableoptions} ${disableoptions} ${floating_pointoption} ${cache_file_option} ${removing} ${other_options} ${redirect} ; then
true true
else else
echo Configure in `pwd` failed, exiting. 1>&2 echo Configure in `pwd` failed, exiting. 1>&2
......
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
# these libraries are used by various programs built for the host environment # these libraries are used by various programs built for the host environment
# #
host_libs="mmalloc libiberty opcodes bfd readline gash db tcl tk tclX itcl tix" host_libs="intl mmalloc libiberty opcodes bfd readline gash db tcl tk tclX itcl tix libgui"
if [ "${enable_gdbgui}" = "yes" ] ; then if [ "${enable_gdbgui}" = "yes" ] ; then
host_libs="${host_libs} libgui" host_libs="${host_libs} libgui"
...@@ -50,13 +50,22 @@ fi ...@@ -50,13 +50,22 @@ fi
# these tools are built for the host environment # these tools are built for the host environment
# Note, the powerpc-eabi build depends on sim occurring before gdb in order to # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
# know that we are building the simulator. # know that we are building the simulator.
host_tools="texinfo byacc flex bison binutils ld gas gcc sim gdb make patch prms send-pr gprof gdbtest tgas etc expect dejagnu bash m4 autoconf automake ispell grep diff rcs cvs fileutils shellutils time textutils wdiff find emacs emacs19 uudecode hello tar gzip indent recode release sed utils guile perl apache inet gawk findutils sn" host_tools="texinfo byacc flex bison binutils ld gas gcc sim gdb make patch prms send-pr gprof gdbtest tgas etc expect dejagnu ash bash bzip2 m4 autoconf automake libtool ispell grep diff rcs cvssrc fileutils shellutils time textutils wdiff find emacs emacs19 uudecode hello tar gzip indent recode release sed utils guile perl apache inet gawk findutils snavigator libtool gettext"
# these libraries are built for the target environment, and are built after # these libraries are built for the target environment, and are built after
# the host libraries and the host tools (which may be a cross compiler) # the host libraries and the host tools (which may be a cross compiler)
# #
target_libs="target-libiberty target-libgloss target-newlib target-libio target-librx target-libstdc++ target-libg++ target-libf2c target-libchill target-libobjc" target_libs="target-libiberty \
target-libgloss \
target-newlib \
target-libio \
target-librx \
target-libstdc \++
target-libg++ \
target-libf2c \
target-libchill \
target-libobjc"
# these tools are built using the target libs, and are intended to run only # these tools are built using the target libs, and are intended to run only
# in the target environment # in the target environment
...@@ -79,11 +88,11 @@ target_tools="target-examples target-groff target-gperf" ...@@ -79,11 +88,11 @@ target_tools="target-examples target-groff target-gperf"
# #
# This must be a single line because of the way it is searched by grep in # This must be a single line because of the way it is searched by grep in
# the code below. # the code below.
native_only="autoconf automake cvs emacs emacs19 fileutils find gawk grep gzip hello indent ispell m4 rcs recode sed shellutils tar textutils gash uudecode wdiff gprof target-groff guile perl apache inet time bash prms sn gnuserv target-gperf" native_only="autoconf automake libtool cvssrc emacs emacs19 fileutils find gawk gettext grep gzip hello indent ispell m4 rcs recode sed shellutils tar textutils gash uudecode wdiff gprof target-groff guile perl apache inet time ash bash bzip2 prms snavigator gnuserv target-gperf"
# directories to be built in a cross environment only # directories to be built in a cross environment only
# #
cross_only="target-libgloss target-newlib" cross_only="target-libgloss target-newlib target-cygmon target-opcodes target-libstub"
## All tools belong in one of the four categories, and are assigned above ## All tools belong in one of the four categories, and are assigned above
## We assign ${configdirs} this way to remove all embedded newlines. This ## We assign ${configdirs} this way to remove all embedded newlines. This
...@@ -149,6 +158,9 @@ case "${host}" in ...@@ -149,6 +158,9 @@ case "${host}" in
mips*-*-sysv*) mips*-*-sysv*)
host_makefile_frag="${host_makefile_frag} config/mh-riscos" host_makefile_frag="${host_makefile_frag} config/mh-riscos"
;; ;;
i[3456]86-*-sysv5*)
host_makefile_frag="${host_makefile_frag} config/mh-sysv5"
;;
i[3456]86-*-dgux*) i[3456]86-*-dgux*)
host_makefile_frag="${host_makefile_frag} config/mh-dgux386" host_makefile_frag="${host_makefile_frag} config/mh-dgux386"
;; ;;
...@@ -229,7 +241,7 @@ fi ...@@ -229,7 +241,7 @@ fi
# If we aren't going to be using gcc, see if we can extract a definition # If we aren't going to be using gcc, see if we can extract a definition
# of CC from the fragment. # of CC from the fragment.
if [ -z "${CC}" -a "${build}" = "${host}" ]; then if [ -z "${CC}" ] && [ "${build}" = "${host}" ]; then
IFS="${IFS= }"; save_ifs="$IFS"; IFS="${IFS}:" IFS="${IFS= }"; save_ifs="$IFS"; IFS="${IFS}:"
found= found=
for dir in $PATH; do for dir in $PATH; do
...@@ -240,7 +252,7 @@ if [ -z "${CC}" -a "${build}" = "${host}" ]; then ...@@ -240,7 +252,7 @@ if [ -z "${CC}" -a "${build}" = "${host}" ]; then
fi fi
done done
IFS="$save_ifs" IFS="$save_ifs"
if [ -z "${found}" -a -n "${host_makefile_frag}" -a -f "${srcdir}/${host_makefile_frag}" ]; then if [ -z "${found}" ] && [ -n "${host_makefile_frag}" ] && [ -f "${srcdir}/${host_makefile_frag}" ]; then
xx=`sed -n -e 's/^[ ]*CC[ ]*=[ ]*\(.*\)$/\1/p' < ${srcdir}/${host_makefile_frag}` xx=`sed -n -e 's/^[ ]*CC[ ]*=[ ]*\(.*\)$/\1/p' < ${srcdir}/${host_makefile_frag}`
if [ -n "${xx}" ] ; then if [ -n "${xx}" ] ; then
CC=$xx CC=$xx
...@@ -271,6 +283,9 @@ if [ x${shared} = xyes ]; then ...@@ -271,6 +283,9 @@ if [ x${shared} = xyes ]; then
hppa*) hppa*)
host_makefile_frag="${host_makefile_frag} config/mh-papic" host_makefile_frag="${host_makefile_frag} config/mh-papic"
;; ;;
i[3456]86-*-cygwin32*)
# We don't want -fPIC on cygwin32.
;;
i[3456]86-*) i[3456]86-*)
host_makefile_frag="${host_makefile_frag} config/mh-x86pic" host_makefile_frag="${host_makefile_frag} config/mh-x86pic"
;; ;;
...@@ -346,7 +361,7 @@ case ${with_x} in ...@@ -346,7 +361,7 @@ case ${with_x} in
yes | "") # the default value for this tree is that X11 is available yes | "") # the default value for this tree is that X11 is available
;; ;;
no) no)
skipdirs="${skipdirs} tk gash" skipdirs="${skipdirs} tk libgui gash"
;; ;;
*) *)
echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2
...@@ -495,17 +510,17 @@ noconfigdirs="" ...@@ -495,17 +510,17 @@ noconfigdirs=""
case "${host}" in case "${host}" in
i[3456]86-*-vsta) i[3456]86-*-vsta)
noconfigdirs="tcl expect dejagnu make texinfo bison patch flex byacc send-pr gprof uudecode dejagnu diff guile perl apache inet itcl tix db sn gnuserv" noconfigdirs="tcl expect dejagnu make texinfo bison patch flex byacc send-pr gprof uudecode dejagnu diff guile perl apache inet itcl tix db snavigator gnuserv gettext"
;; ;;
i[3456]86-*-go32* | i[3456]86-*-msdosdjgpp*) i[3456]86-*-go32* | i[3456]86-*-msdosdjgpp*)
noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr uudecode dejagnu diff guile perl apache inet itcl tix db sn gnuserv" noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr uudecode dejagnu diff guile perl apache inet itcl tix db snavigator gnuserv gettext"
;; ;;
i[3456]86-*-mingw32*) i[3456]86-*-mingw32*)
# noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr uudecode dejagnu diff guile perl apache inet itcl tix db sn gnuserv" # noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr uudecode dejagnu diff guile perl apache inet itcl tix db snavigator gnuserv"
noconfigdirs="expect dejagnu cvs autoconf automake send-pr gprof rcs guile perl texinfo apache inet" noconfigdirs="expect dejagnu cvs autoconf automake send-pr gprof rcs guile perl texinfo apache inet libtool"
;; ;;
*-*-cygwin32) *-*-cygwin32)
noconfigdirs="expect dejagnu cvs autoconf automake bison send-pr gprof rcs guile perl texinfo apache inet" noconfigdirs="autoconf automake send-pr gprof rcs guile perl texinfo apache inet"
;; ;;
*-*-windows*) *-*-windows*)
# This is only used to build WinGDB... # This is only used to build WinGDB...
...@@ -513,8 +528,11 @@ case "${host}" in ...@@ -513,8 +528,11 @@ case "${host}" in
configdirs="bfd libiberty opcodes readline sim gdb" configdirs="bfd libiberty opcodes readline sim gdb"
target_configdirs= target_configdirs=
;; ;;
*-*-netbsd*)
noconfigdirs="rcs"
;;
ppc*-*-pe) ppc*-*-pe)
noconfigdirs="patch diff make tk tcl expect dejagnu cvs autoconf automake texinfo bison send-pr gprof rcs guile perl apache inet itcl tix db sn gnuserv" noconfigdirs="patch diff make tk tcl expect dejagnu cvssrc autoconf automake texinfo bison send-pr gprof rcs guile perl apache inet itcl tix db snavigator gnuserv"
;; ;;
esac esac
...@@ -557,15 +575,15 @@ case "${target}" in ...@@ -557,15 +575,15 @@ case "${target}" in
arm-*-coff*) arm-*-coff*)
noconfigdirs="$noconfigdirs target-libgloss" noconfigdirs="$noconfigdirs target-libgloss"
;; ;;
arm-*-riscix*)
noconfigdirs="$noconfigdirs ld target-libgloss"
;;
c4x-*-*) c4x-*-*)
noconfigdirs="$noconfigdirs target-libg++ target-libstdc++ target-libio target-librx target-libgloss" noconfigdirs="$noconfigdirs target-libg++ target-libstdc++ target-libio target-librx target-libgloss"
;; ;;
thumb-*-coff) thumb-*-coff)
noconfigdirs="$noconfigdirs target-libgloss" noconfigdirs="$noconfigdirs target-libgloss"
;; ;;
arm-*-riscix*)
noconfigdirs="$noconfigdirs ld target-libgloss"
;;
d10v-*-*) d10v-*-*)
noconfigdirs="$noconfigdirs target-librx target-libg++ target-libstdc++ target-libio target-libgloss" noconfigdirs="$noconfigdirs target-librx target-libg++ target-libstdc++ target-libio target-libgloss"
;; ;;
...@@ -599,23 +617,23 @@ case "${target}" in ...@@ -599,23 +617,23 @@ case "${target}" in
target_configdirs="$target_configdirs target-mingw" target_configdirs="$target_configdirs target-mingw"
noconfigdirs="$noconfigdirs expect target-libgloss" noconfigdirs="$noconfigdirs expect target-libgloss"
# Can't build gdb for cygwin32 if not native. # Can't build gdb for mingw32 if not native.
case "${host}" in case "${host}" in
i[3456]86-*-mingw32) ;; # keep gdb tcl tk expect etc. i[3456]86-*-mingw32) ;; # keep gdb tcl tk expect etc.
*) noconfigdirs="$noconfigdirs gdb tcl tk expect itcl tix db sn gnuserv" *) noconfigdirs="$noconfigdirs gdb tcl tk expect itcl tix db snavigator gnuserv"
;; ;;
esac esac
;; ;;
*-*-cygwin32) *-*-cygwin32*)
target_configdirs="$target_configdirs target-winsup" target_configdirs="$target_configdirs target-winsup"
noconfigdirs="$noconfigdirs expect target-libgloss" noconfigdirs="$noconfigdirs target-gperf target-libgloss"
# always build newlib. # always build newlib.
skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
# Can't build gdb for cygwin32 if not native. # Can't build gdb for cygwin32 if not native.
case "${host}" in case "${host}" in
*-*-cygwin32) ;; # keep gdb tcl tk expect etc. *-*-cygwin32*) ;; # keep gdb tcl tk expect etc.
*) noconfigdirs="$noconfigdirs gdb tcl tk expect itcl tix db sn gnuserv" *) noconfigdirs="$noconfigdirs gdb tcl tk expect itcl tix libgui db snavigator gnuserv"
;; ;;
esac esac
;; ;;
...@@ -625,7 +643,7 @@ case "${target}" in ...@@ -625,7 +643,7 @@ case "${target}" in
i[3456]86-*-sco3.2v5*) i[3456]86-*-sco3.2v5*)
# The linker does not yet know about weak symbols in COFF, # The linker does not yet know about weak symbols in COFF,
# and is not configured to handle mixed ELF and COFF. # and is not configured to handle mixed ELF and COFF.
noconfigdirs="$noconfigdirs gprof ld target-libgloss" noconfigdirs="$noconfigdirs ld target-libgloss"
;; ;;
i[3456]86-*-sco*) i[3456]86-*-sco*)
noconfigdirs="$noconfigdirs gprof target-libgloss" noconfigdirs="$noconfigdirs gprof target-libgloss"
...@@ -646,31 +664,37 @@ case "${target}" in ...@@ -646,31 +664,37 @@ case "${target}" in
noconfigdirs="$noconfigdirs emacs emacs19 target-libgloss" noconfigdirs="$noconfigdirs emacs emacs19 target-libgloss"
;; ;;
mn10200-*-*) mn10200-*-*)
noconfigdirs="$noconfigdirs target-libgloss" noconfigdirs="$noconfigdirs"
if [ x${is_cross_compiler} != xno ] ; then
target_configdirs="${target_configdirs} target-libstub target-cygmon"
fi
;; ;;
mn10300-*-*) mn10300-*-*)
noconfigdirs="$noconfigdirs target-libgloss" noconfigdirs="$noconfigdirs"
if [ x${is_cross_compiler} != xno ] ; then
target_configdirs="${target_configdirs} target-libstub target-cygmon"
fi
;; ;;
powerpc-*-aix*) powerpc-*-aix*)
# copied from rs6000-*-* entry # copied from rs6000-*-* entry
noconfigdirs="$noconfigdirs gprof cvs target-libgloss" noconfigdirs="$noconfigdirs gprof cvssrc target-libgloss"
# This is needed until gcc and ld are fixed to work together. # This is needed until gcc and ld are fixed to work together.
use_gnu_ld=no use_gnu_ld=no
;; ;;
powerpc*-*-winnt* | powerpc*-*-pe* | ppc*-*-pe) powerpc*-*-winnt* | powerpc*-*-pe* | ppc*-*-pe)
target_configdirs="$target_configdirs target-winsup" target_configdirs="$target_configdirs target-winsup"
noconfigdirs="$noconfigdirs gdb tcl tk make expect target-libgloss itcl tix db sn gnuserv" noconfigdirs="$noconfigdirs gdb tcl tk make expect target-libgloss itcl tix db snavigator gnuserv"
# always build newlib. # always build newlib.
skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
;; ;;
# This is temporary until we can link against shared libraries # This is temporary until we can link against shared libraries
powerpcle-*-solaris*) powerpcle-*-solaris*)
noconfigdirs="$noconfigdirs gdb sim make tcl tk expect itcl tix db sn gnuserv" noconfigdirs="$noconfigdirs gdb sim make tcl tk expect itcl tix db snavigator gnuserv"
;; ;;
rs6000-*-lynxos*) rs6000-*-lynxos*)
# The CVS server code doesn't work on the RS/6000 # The CVS server code doesn't work on the RS/6000
# Newlib makes problems for libg++ in crosses. # Newlib makes problems for libg++ in crosses.
noconfigdirs="$noconfigdirs target-newlib gprof cvs" noconfigdirs="$noconfigdirs target-newlib gprof cvssrc"
;; ;;
rs6000-*-aix*) rs6000-*-aix*)
noconfigdirs="$noconfigdirs gprof" noconfigdirs="$noconfigdirs gprof"
...@@ -699,6 +723,10 @@ case "${target}" in ...@@ -699,6 +723,10 @@ case "${target}" in
mips*-*-bsd*) mips*-*-bsd*)
noconfigdirs="$noconfigdirs gprof target-libgloss" noconfigdirs="$noconfigdirs gprof target-libgloss"
;; ;;
mipstx39-*-*)
noconfigdirs="$noconfigdirs gprof" # same as generic mips
target_configdirs="${target_configdirs} target-libstub target-cygmon"
;;
mips*-*-*) mips*-*-*)
noconfigdirs="$noconfigdirs gprof" noconfigdirs="$noconfigdirs gprof"
;; ;;
...@@ -714,6 +742,21 @@ case "${target}" in ...@@ -714,6 +742,21 @@ case "${target}" in
esac esac
noconfigdirs="$noconfigdirs target-libgloss" noconfigdirs="$noconfigdirs target-libgloss"
;; ;;
sparc-*-elf*)
if [ x${is_cross_compiler} != xno ] ; then
target_configdirs="${target_configdirs} target-libstub target-cygmon"
fi
;;
sparc64-*-elf*)
if [ x${is_cross_compiler} != xno ] ; then
target_configdirs="${target_configdirs} target-libstub target-cygmon"
fi
;;
sparclite-*-aout*)
if [ x${is_cross_compiler} != xno ] ; then
target_configdirs="${target_configdirs} target-libstub target-cygmon"
fi
;;
sparc-*-sunos4*) sparc-*-sunos4*)
if [ x${is_cross_compiler} != xno ] ; then if [ x${is_cross_compiler} != xno ] ; then
noconfigdirs="$noconfigdirs gdb gdbtest target-newlib target-libgloss" noconfigdirs="$noconfigdirs gdb gdbtest target-newlib target-libgloss"
...@@ -724,6 +767,9 @@ case "${target}" in ...@@ -724,6 +767,9 @@ case "${target}" in
v810-*-*) v810-*-*)
noconfigdirs="$noconfigdirs bfd binutils gas gcc gdb ld target-libio target-libg++ target-libstdc++ opcodes target-libgloss" noconfigdirs="$noconfigdirs bfd binutils gas gcc gdb ld target-libio target-libg++ target-libstdc++ opcodes target-libgloss"
;; ;;
v850-*-*)
noconfigdirs="$noconfigdirs target-libgloss"
;;
vax-*-vms) vax-*-vms)
noconfigdirs="$noconfigdirs bfd binutils gdb ld target-newlib opcodes target-libgloss" noconfigdirs="$noconfigdirs bfd binutils gdb ld target-newlib opcodes target-libgloss"
;; ;;
...@@ -741,13 +787,6 @@ case "${target}" in ...@@ -741,13 +787,6 @@ case "${target}" in
;; ;;
esac esac
# targets that need a second pass
case "${target}" in
*-gm-magic*)
noconfigdirs="$noconfigdirs target-libgloss"
;;
esac
# If we aren't building newlib, then don't build libgloss, since libgloss # If we aren't building newlib, then don't build libgloss, since libgloss
# depends upon some newlib header files. # depends upon some newlib header files.
case "${noconfigdirs}" in case "${noconfigdirs}" in
...@@ -755,12 +794,6 @@ case "${noconfigdirs}" in ...@@ -755,12 +794,6 @@ case "${noconfigdirs}" in
*target-newlib*) noconfigdirs="$noconfigdirs target-libgloss" ;; *target-newlib*) noconfigdirs="$noconfigdirs target-libgloss" ;;
esac esac
# If we are building a Canadian Cross, discard tools that can not be built
# using a cross compiler. FIXME: These tools should be fixed.
if [ "${build}" != "${host}" ]; then
noconfigdirs="$noconfigdirs expect dejagnu"
fi
# Make sure we don't let GNU ld be added if we didn't want it. # Make sure we don't let GNU ld be added if we didn't want it.
if [ x$with_gnu_ld = xno ]; then if [ x$with_gnu_ld = xno ]; then
use_gnu_ld=no use_gnu_ld=no
...@@ -824,12 +857,12 @@ fi ...@@ -824,12 +857,12 @@ fi
# Deconfigure all subdirectories, in case we are changing the # Deconfigure all subdirectories, in case we are changing the
# configuration from one where a subdirectory is supported to one where it # configuration from one where a subdirectory is supported to one where it
# is not. # is not.
if [ -z "${norecursion}" -a -n "${configdirs}" ]; then if [ -z "${norecursion}" ] && [ -n "${configdirs}" ]; then
for i in `echo ${configdirs} | sed -e s/target-//g` ; do for i in `echo ${configdirs} | sed -e s/target-//g` ; do
rm -f $i/Makefile rm -f $i/Makefile
done done
fi fi
if [ -z "${norecursion}" -a -n "${target_configdirs}" ]; then if [ -z "${norecursion}" ] && [ -n "${target_configdirs}" ]; then
for i in `echo ${target_configdirs} | sed -e s/target-//g` ; do for i in `echo ${target_configdirs} | sed -e s/target-//g` ; do
rm -f ${target_subdir}/$i/Makefile rm -f ${target_subdir}/$i/Makefile
done done
...@@ -944,7 +977,7 @@ fi ...@@ -944,7 +977,7 @@ fi
# can be created. At this point the main configure script has set CC. # can be created. At this point the main configure script has set CC.
echo "int main () { return 0; }" > conftest.c echo "int main () { return 0; }" > conftest.c
${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
if [ $? = 0 ] && [ -s conftest ]; then if [ $? = 0 ] && [ -s conftest -o -s conftest.exe ]; then
: :
else else
echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed." echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
...@@ -992,7 +1025,7 @@ if [ "${shared}" = "yes" ]; then ...@@ -992,7 +1025,7 @@ if [ "${shared}" = "yes" ]; then
case "${host}" in case "${host}" in
*-*-hpux*) *-*-hpux*)
sed -e 's/RPATH_ENVVAR[ ]*=.*$/RPATH_ENVVAR = SHLIB_PATH/' \ sed -e 's/^RPATH_ENVVAR[ ]*=.*$/RPATH_ENVVAR = SHLIB_PATH/' \
Makefile > Makefile.tem Makefile > Makefile.tem
rm -f Makefile rm -f Makefile
mv -f Makefile.tem Makefile mv -f Makefile.tem Makefile
...@@ -1000,21 +1033,10 @@ if [ "${shared}" = "yes" ]; then ...@@ -1000,21 +1033,10 @@ if [ "${shared}" = "yes" ]; then
esac esac
fi fi
# If we are building for a win32 host, then set INSTALL_PROGRAM_ARGS to
# -x. This will cause programs to be installed with .exe extensions.
case "${host}" in
*-*-cygwin32* | i[3456]86-*-mingw32)
sed -e 's/^INSTALL_PROGRAM_ARGS[ ]*=.*$/INSTALL_PROGRAM_ARGS = -x/' \
Makefile > Makefile.tem
rm -f Makefile
mv -f Makefile.tem Makefile
;;
esac
# Record target_configdirs and the configure arguments in Makefile. # Record target_configdirs and the configure arguments in Makefile.
target_configdirs=`echo "${target_configdirs}" | sed -e 's/target-//g'` target_configdirs=`echo "${target_configdirs}" | sed -e 's/target-//g'`
targargs=`echo "${arguments}" | \ targargs=`echo "${arguments}" | \
sed -e 's/--norecursion//' \ sed -e 's/--no[^ ]*//' \
-e 's/--cache[a-z-]*=[^ ]*//' \ -e 's/--cache[a-z-]*=[^ ]*//' \
-e 's/--ho[a-z-]*=[^ ]*//' \ -e 's/--ho[a-z-]*=[^ ]*//' \
-e 's/--bu[a-z-]*=[^ ]*//' \ -e 's/--bu[a-z-]*=[^ ]*//' \
...@@ -1034,6 +1056,12 @@ if [ x${enable_multilib} = x ]; then ...@@ -1034,6 +1056,12 @@ if [ x${enable_multilib} = x ]; then
targargs="--enable-multilib ${targargs}" targargs="--enable-multilib ${targargs}"
fi fi
# Pass --with-newlib if appropriate. Note that target_configdirs has
# changed from the earlier setting of with_newlib.
if [ x${with_newlib} != xno ] && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && [ -d ${srcdir}/newlib ] ; then
targargs="--with-newlib ${targargs}"
fi
targargs="--host=${target_alias} --build=${build_alias} ${targargs}" targargs="--host=${target_alias} --build=${build_alias} ${targargs}"
sed -e "s:^TARGET_CONFIGDIRS[ ]*=.*$:TARGET_CONFIGDIRS = ${target_configdirs}:" \ sed -e "s:^TARGET_CONFIGDIRS[ ]*=.*$:TARGET_CONFIGDIRS = ${target_configdirs}:" \
-e "s%^CONFIG_ARGUMENTS[ ]*=.*$%CONFIG_ARGUMENTS = ${targargs}%" \ -e "s%^CONFIG_ARGUMENTS[ ]*=.*$%CONFIG_ARGUMENTS = ${targargs}%" \
......
...@@ -53,9 +53,6 @@ mvcmd="$mvprog" ...@@ -53,9 +53,6 @@ mvcmd="$mvprog"
src="" src=""
dst="" dst=""
dir_arg="" dir_arg=""
# CYGNUS LOCAL: exeext variable
exeext=""
# END CYGNUS LOCAL
while [ x"$1" != x ]; do while [ x"$1" != x ]; do
case $1 in case $1 in
...@@ -94,16 +91,6 @@ while [ x"$1" != x ]; do ...@@ -94,16 +91,6 @@ while [ x"$1" != x ]; do
shift shift
continue;; continue;;
# CYGNUS LOCAL: -x option
-x=*) exeext=`echo $1 | sed 's/-x=//'`
shift
continue;;
-x) exeext=".exe"
shift
continue;;
# END CYGNUS LOCAL
*) if [ x"$src" = x ] *) if [ x"$src" = x ]
then then
src=$1 src=$1
...@@ -137,22 +124,6 @@ if [ x"$dir_arg" != x ]; then ...@@ -137,22 +124,6 @@ if [ x"$dir_arg" != x ]; then
fi fi
else else
# CYGNUS LOCAL noer
# Win32-based gcc automatically appends .exe to produced executables,
# whether asked for or not. This breaks installs. The following
# changes the value of $src to $src.exe if $src is missing
if [ -f $src ]
then
true
elif [ -f $src.exe ]
then
echo "install: $src does not exist, trying with .exe appended"
src="$src".exe
fi
# end CYGNUS LOCAL noer
# Waiting for this to be detected by the "$instcmd $src $dsttmp" command # Waiting for this to be detected by the "$instcmd $src $dsttmp" command
# might cause directories to be created, which would be especially bad # might cause directories to be created, which would be especially bad
# if $src (and thus $dsttmp) contains '*'. # if $src (and thus $dsttmp) contains '*'.
...@@ -182,13 +153,6 @@ else ...@@ -182,13 +153,6 @@ else
else else
true true
fi fi
# CYGNUS LOCAL: Use exeext
case "`basename $dst`" in
*.*) ;;
*) dst="$dst$exeext" ;;
esac
# END CYGNUS LOCAL
fi fi
## this sed command emulates the dirname command ## this sed command emulates the dirname command
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment