Commit graph

556 commits

Author SHA1 Message Date
Stan Shebs
33bc6fe5fc * Makefile.in: (configure-target-examples, all-target-examples):
New targets, configure and build example programs.
1995-12-18 19:50:07 +00:00
Stan Shebs
a585028b88 * mpw-configure: If an mpw-config.in generated a file mk.sed,
use it as input to sedit the generated MPW makefile.
	* mpw-README: Add a suggestion about Gestalt.h.
1995-12-16 00:20:14 +00:00
Ian Lance Taylor
48ac185397 * config.sub: Accept *-*-ieee*. 1995-12-13 21:45:07 +00:00
Ian Lance Taylor
8c5bc3e33a * Makefile.in (local-distclean): Remove $(TARGET_SUBDIR). From
Ronald F. Guilmette <rfg@monkeys.com>.
1995-12-12 17:03:18 +00:00
Jason Molenda
a51794f15a * configure.in (host==powerpc-pe): Add many directories to noconfigdirs
for powerpc-pe native.
        (target==i386-win32): add tcl, make to noconfigdirs if canadian cross.
        (target==powerpc-pe): duplicate i386-win32 entry.
1995-12-11 23:34:30 +00:00
Jim Wilson
406477a696 Disable newlib for all vxworks targets. 1995-12-09 22:59:09 +00:00
Stan Shebs
4ac27a602f * mpw-configure: Add support for exec-prefix. 1995-12-04 20:48:19 +00:00
Jeff Law
ebf7305276 * config.guess: Recognize HP model 816 machines as having
a PA1.1 processor.

Already at the FSF.
1995-12-04 18:19:32 +00:00
Ian Lance Taylor
c222f1246f * configure: Ignore new autoconf configure options. 1995-12-04 17:34:36 +00:00
J.T. Conklin
cee52482d3 * config/mt-v810 (CC_FOR_TARGET): Add -ansi flag. NEC compiler
defaults to K&R mode, but doesn't have varargs.h, so we have to
compile in ANSI mode.
1995-11-30 23:01:31 +00:00
Per Bothner
638536a7ef * config.guess: Recognize Pentium under SCO. 1995-11-30 22:00:52 +00:00
J.T. Conklin
d25fd70ded * configure.in (noconfigdirs): Disable target-libio on v810-*-*.
* config/mt-v810 (CC_FOR_TARGET, AS_FOR_TARGET, AR_FOR_TARGET,
RANLIB_FOR_TARGET): Set as appropriate for NEC v810 toolchain.
1995-11-29 21:57:12 +00:00
Ian Lance Taylor
2a3486d2f9 * configure.in: Don't configure gas for alpha-dec-osf*. 1995-11-29 17:09:41 +00:00
Ian Lance Taylor
4f0ad91b9b * configure.in: Default to --with-stabs for some targets for which
it makes sense: mips*-*-*, alpha*-*-osf*, i[345]86*-*-sysv4* and
	i[345]86*-*-unixware*.
1995-11-28 22:15:27 +00:00
Ian Lance Taylor
f70c5b5618 * config-ml.in: Get list of multidirs using gcc --print-multi-lib
rather than basing it on the target.  Simplify handling of options
	controlling which directories to configure.  Remove extraneous
	slash in multi-clean target.
1995-11-27 18:50:31 +00:00
David Edelsohn
2a59259c98 * config-ml.in: Prefix more variables with ml_ so they don't collide
with configure's.
1995-11-25 01:40:05 +00:00
Ian Lance Taylor
81749575db * configure: Don't turn -v into --v. 1995-11-22 16:30:36 +00:00
David Edelsohn
90bdf86429 * configure.in (targargs): Fix typo. 1995-11-22 00:49:42 +00:00
David Edelsohn
283a2b3dbf * Makefile.in (DEVO_SUPPORT): Add symlink-tree. 1995-11-22 00:08:26 +00:00
Ian Lance Taylor
7fc36fdab4 * configure.in: Strip --host and --target options from
CONFIG_ARGUMENTS, and always configure for --host only.  Add
	--with-cross-host option when building with a cross-compiler.
	* configure: Canonicalize the arguments put into config.status by
	always using `=' for an option with an argument.  Pass a presumed
	--host or --target explicitly.
1995-11-21 19:13:51 +00:00
Jason Molenda
77cd090ad5 * configure.in (target_configdirs): add target-winsup only
for win32 target systems.
1995-11-18 01:43:37 +00:00
Ian Lance Taylor
71a164f70a * Makefile.in (all-target-libgloss): Depend upon
configure-target-newlib, since when libgloss is built it looks to
	see if the newlib directory exists.
1995-11-16 19:05:52 +00:00
Ian Lance Taylor
29386972b9 * configure: Handle LD and LD_FOR_TARGET when configuring a
Canadian Cross.
1995-11-15 16:46:19 +00:00
Jason Molenda
600b2f21c9 * configure.in (target_libs): add target-winsup.
(target==i386-win32): add patch diff flex make to $noconfigdirs.
        (target==ppcle-pe): remove ld from $noconfigdirs.
1995-11-14 22:58:14 +00:00
David Edelsohn
d747cac4c2 * Makefile.in (CONFIGURE_TARGET_MODULES): Pass --with-target-subdir.
Preserve relative path names in $srcdir.  Build symlink tree if
	configuring cross target dir and srcdir=. (= no VPATH support).
	(configure-target-libg++): Depend on configure-target-librx.
	* cfg-ml-com.in, cfg-ml-pos.in: Deleted.
	* config-ml.in: New file.
	* symlink-tree: New file.
	* configure: Ensure srcdir="." if that's what it is.
1995-11-14 09:32:50 +00:00
Stan Shebs
13a0f5955f * mpw-README: Clarify some phrasing, add notes about CodeWarrior
includes and FLEX_SKELETON setting.
	* mpw-configure (--with-gnu-ld): New option, controls whether
	to use PPCLink or ld with PowerMac GCC.
	* mpw-build.in (all-grez, do-grez, install-grez): New targets.
	* mpw-config.in: Configure grez if targeting Mac.
1995-11-14 03:31:22 +00:00
Stan Shebs
19b1d034dc * config.sub: Accept pmac and pmac-mpw as names for PowerMacs,
accept mpw and mac-mpw as names for m68k Macs, change macos7 to
 	just macos.
	* configure.in: Configure grez resource compiler if targeting Mac.
	* Makefile.in (all-grez, install-grez): New targets.
1995-11-13 20:47:41 +00:00
Ian Lance Taylor
bfe725ec1d * configure: Default ${build} correctly. Avoid picking up extra
spaces when reading CC and CXX from Makefile.  When doing a
	Canadian Cross, use plausible default values for numerous
	variables.
	* configure.in: When doing a Canadian Cross, don't try to
	configure tools whose configure script can't handle it.
1995-11-07 23:47:45 +00:00
Jim Wilson
f59312e9d9 Patch for old Sega PR
* cfg-ml-com.in (sh-*-*): Add m2 and ml/m2 to multidirs.
1995-11-07 04:05:40 +00:00
Per Bothner
96457d7f4d * configure: Remove dubious bug reporting address. 1995-11-05 08:14:38 +00:00
Per Bothner
d3e8ed54bd * Makefile.in ($(CONFIGURE_TARGET_MODULES)): If subdir has
configure script, run that instead of this directory's configure.
	In either case, print a message that we're configuring the sub-dir.
1995-11-03 16:18:31 +00:00
Per Bothner
b58d9e5d03 * configure.in: Before checking for the existence of various files,
use sed to filter out "target-".
1995-11-03 16:08:08 +00:00
Ian Lance Taylor
ec7a8792d9 * Makefile.in (DO_X): Split rule to decrease command line length
for systems with small ARG_MAX values.  From phdm@info.ucl.ac.be
	(Philippe De Muyter).
1995-11-03 03:52:08 +00:00
Jason Molenda
be2c65d3c5 * Makefile.in (all-patch): depend on all-libiberty. 1995-11-01 23:19:28 +00:00
Ian Lance Taylor
fba668022c * configure.in: If the only directory in target_configdirs which
actually exists is libiberty, then set target_configdirs to empty,
	to avoid trying to build a target libiberty in a gas or gdb
	distribution.
1995-11-01 17:25:21 +00:00
J.T. Conklin
39772dd8f1 * configure.in (host_makefile_frag): Use m68k-sun-sunos* instead
of m68k-sun-* when selecting mh-sun3 to avoid matching NetBSD/sun3
systems.
1995-11-01 02:02:21 +00:00
Jim Wilson
52b5deb997 Patches to make fixincludes work for cross toolchains. 1995-11-01 01:03:31 +00:00
Steve Chamberlain
309dca2a1e * Makefile.in, configure.in: Make winsup builds work with
new scheme.
1995-10-31 18:32:51 +00:00
Ian Lance Taylor
92caaa6a62 * configure.in: Build the linker on AIX. 1995-10-30 23:58:15 +00:00
Per Bothner
e66eb65843 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Add $(TARGET_SUBDIR)
where needed.
1995-10-30 20:57:41 +00:00
David Edelsohn
fc3524a9cc * Makefile.in (all-gcc): Fix typo. 1995-10-30 20:47:56 +00:00
Per Bothner
136ca05d3a * Makefile.in ($(CHECK_TARGET_MODULES)): Fix typo. 1995-10-28 17:26:38 +00:00
Per Bothner
ab1cbc6742 * configure.in: Rename libFOO to target-libFOO, and xiberty
to target-xiberty, to provide more flexibility.
	(target_subdir):  Define.  Create if cross.
	Set TARGET_SUBDIR in Makefile to ${target_subdir}.
	* Makefile.in:  Rename all-libFOO -> all-target-libFOO, all-xiberty
	-> all-target-libiberty, configure-libFOO -> configure-target-libFOO,
	check-libFOO -> check-target-libFOO, etc.
	($(DO_X)):  Iterate over TARGET_CONFIGDIRS after SUBDIRS.
	($(CONFIGURE_TARGET_MODULES), $(CHECK_TARGET_MODULES),
	$(ALL_TARGET_MODULES), $(INSTALL_TARGET_MODULES)): Update accordingly.
	(configure-target-XXX):  Depend on $(ALL_GCC), not all-gcc, to
	allow ALL_GCC="" to only configure.
	(DEVO_SUPPORT):  Add cfg-ml-com.in and cfg-ml-pos.in.
	(ETC_SUPPORT, ETC_SUPPORT_PFX):  Merge;  update 'taz' accordingly.
	(LIBGXX_SUPPORT_DIRS):  Remove xiberty.
1995-10-28 06:28:42 +00:00
Ken Raeburn
3dbe0fa2a7 * Makefile.in (taz): Build "info" in etc explicitly. 1995-10-28 05:55:18 +00:00
Stu Grossman
2f9bfdfa15 * configure.in: Make sure that CC is undefined (as opposed to
null) if toplevel/config/mh-{host} doesn't define it.  Fixes a
	problem with autoconf trying to configure on a host without GCC.

	* config.sub:  Add `magic' as an OS target for General Magic.
1995-10-27 16:39:10 +00:00
Stan Shebs
7391e11c40 * mpw-configure: Set host alias from choice of host compiler,
only use generic MPW Makefile sed if present, edit a file
	named "hacked_Makefile.in" instead of "Makefile.in" if present.
	* mpw-README: Add problem notes about CW6 and CW7.
1995-10-27 05:39:36 +00:00
Ken Raeburn
65f1be0633 Makefile.in (taz): Use ";" not ";;". 1995-10-26 09:47:14 +00:00
Per Bothner
6b9e3a780b * Makefile.in (taz): Grep for '^diststuff:' or '^info:' in
sub-directory Makefiles, instead of using DISTSTUFFDIRS and
	DISTDOCDIRS.
	(DISTSTUFFDIRS, DISTDOCDIRS):  Removed - no longer used.
	(newlib.tar.gz):  Don't pass DISTDOCDIRS to recursive make.
1995-10-25 22:23:40 +00:00
Per Bothner
fd83c2d212 * Makefile.in (DISTDOCDIRS): Remove ld gprof bnutils gas libg++ gdb
and gnats, because they are now subsumed by DISTSTUFFDIRS.
	Move bfd to DISTSTUFFDIRS.
1995-10-25 21:54:55 +00:00
Jason Molenda
054f9adaa2 Tue Oct 24 18:19:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
* Makefile.in (X11_LIB): Removed.
        (X11_FLAGS_TO_PASS): pass only X11_EXTRA_CFLAGS and X11_EXTRA_LIBS.

        * configure.in (host_makefile_frag): mh-aix & mh-sun removed.
1995-10-25 01:21:08 +00:00