Commit graph

534 commits

Author SHA1 Message Date
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
Michael Meissner
0228bc7b3a shorten some multi directory names. 1995-10-22 17:06:26 +00:00
Michael Meissner
ab1da7f49b Add -mcall-aixdesc variants 1995-10-20 22:03:21 +00:00
Steve Chamberlain
2cbf1e15f6 * winsup. New directory.
* Makefile.in: Build winsup.
	* configure.in: Winsup is configured when target is win32.
	Can only build win32 target GDB when native.
1995-10-19 00:39:43 +00:00
Jeff Law
5cee13532b * config.guess: Recognize HP model 819 machines has having
a PA 1.1 processor.
Already in the official version at the FSF.
1995-10-16 15:49:13 +00:00
Ian Lance Taylor
e7876e46ee * configure: Fix sed loop which substitutes for CC and CXX to
avoid bug found in various sed implementations.
1995-10-16 14:50:53 +00:00
Ian Lance Taylor
034fd45d55 build gas on AIX 1995-10-10 00:26:54 +00:00
Ian Lance Taylor
a6d5af315d * configure.in: Stop putting binutils in noconfigdirs for
powerpc-*-aix* and rs6000-*-*.
1995-10-09 21:23:34 +00:00
Michael Meissner
adbc2f5521 Add support for building -mcall-aixdesc libraries. 1995-10-09 16:40:32 +00:00
Michael Meissner
e2eb48d6b3 do not build aixdesc libs. 1995-10-07 02:52:25 +00:00
Ken Raeburn
69ee9125f8 Mon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* config.sub (arm | armel | armeb): Fix shell syntax.
1995-10-06 20:38:53 +00:00
Michael Meissner
ea2785a34a Add AIX multilib support; Add -mcall-aix/-mcall-aixdesc multilibs to powerpc*-*-eabisim. 1995-10-06 18:42:50 +00:00
Brendan Kehoe
f4791d95f1 * configure.in: Allow configuration and build of emacs19 for the alpha. 1995-10-05 20:27:24 +00:00
Jason Molenda
c67de58444 * configure.in (CC): Get ^CC, not just any old CC, from
${host_makefile_frag}.
1995-10-05 05:39:40 +00:00
Jason Molenda
4caf3f7d0e * configure.in (CC): Try to get CC from
${srcdir}/${host_makefile_frag}, not ${host_makefile_frag}.
1995-10-05 05:03:55 +00:00
Jason Molenda
abf85a722c * Makefile.in (TARGET_CONFIGDIRS): configure targetdirs
only if it exists in $(srcdir).
1995-10-05 04:45:32 +00:00
Ian Lance Taylor
ca2ce3b317 * configure: If CC and CXX are not set in the environment, set
them, based on either an existing Makefile or on searching for gcc
	in PATH.  Substitute for CC and CXX in Makefile.
	* configure.in: Remove libm from target_libs.  Separate
	target_configdirs from configdirs.  If CC is not set in
	environment, try to get it from a host Makefile fragment.  Rewrite
	changes of configdirs to use skipdirs instead.  A few minor
	tweaks.  Take directories out of target_configdirs as they are
	taken out of configdirs.  Remove existing Makefile files from
	subdirectories.  Substitute for TARGET_CONFIGDIRS and
	CONFIG_ARGUMENTS in Makefile.
	* Makefile.in (TARGET_CONFIGDIRS): New variable, automatically set
	by configure.in.
	(CONFIG_ARGUMENTS): Likewise.
	(CONFIGURE_TARGET_MODULES): New variable.
	($(DO_X)): Loop over TARGET_CONFIGDIRS as well as SUBDIRS.
	($(CONFIGURE_TARGET_MODULES)): New target.
	(configure-libg++, configure-libio): New targets.
	(all-libg++): Depend upon configure-libg++.
	(all-libio): Depend upon configure-libio.
	(configure-libgloss, all-libgloss): New targets.
	(configure-libstdc++): New target.
	(all-libstdc++): Depend upon configure-libstdc++.
	(configure-librx, all-librx): New targets.
	(configure-newlib): New target.
	(all-newlib): Depend upon configure-newlib
	(configure-xiberty): New target.
	(all-xiberty): Depend upon configure-xiberty.
1995-10-04 16:22:37 +00:00
Stan Shebs
98fec350e9 * mpw-configure: Fix sed command file name. 1995-09-29 04:21:00 +00:00
Steve Chamberlain
9e6dfd9676 * configure.in (host i[345]86-*-win32): Reduce the
noconfigdirs again.
1995-09-29 00:41:15 +00:00
Ian Lance Taylor
1293a6fc03 check powerpc-*-pe* as well as powerpc-*-winnt* 1995-09-27 17:39:16 +00:00
Ian Lance Taylor
81d08d0c53 * configure.in: Don't configure ld and gdb for powerpc*-*-winnt*,
since they are not yet supported.
1995-09-27 16:24:58 +00:00
Stan Shebs
a2e7268980 Add PowerMac support and many other enhancements.
* mpw-configure: New option --cc to select compiler to use,
	paste options set according to --cc into the generated
	Makefile, generate the Makefile by sed'ing the Unix Makefile.in
	if mpw-make.sed is present.
	* mpw-config.in: Don't test for gC1, test for mpw-touch,
	add forward includes for PowerPC include files.
	* mpw-build.in: Build using Makefile.PPC if present.
	(do-byacc, etc): Remove separate version resource builds.
	(do-gas): Build "stamps" before "all".
	(do-gcc): Build "stamps-h" and "stamps-c" before "all".
	* mpw-README: Update to reflect --cc option, PowerMac support,
	and recently-reported compatibility problems.
1995-09-26 21:51:30 +00:00
David Edelsohn
d9677195b1 * cfg-ml-com.in (m68*-*-*): Only build multilibs for
embedded m68k systems (-aout, -coff, -elf, -vxworks).
	(--with-multilib-top): Pass to recursive invocations.
1995-09-22 19:21:08 +00:00