Commit graph

279 commits

Author SHA1 Message Date
Ian Lance Taylor
0599289144 * Makefile.in (EXTRA_GCC_FLAGS): Pass down GCC_FOR_TARGET
unconditionally.
	(MAKEOVERRIDES): Define (revert this part of October 18 change).
1996-10-24 16:13:43 +00:00
Stu Grossman
3e288e2736 * Makefile.in (FLAGS_TO_PASS): Add $(HOST_FLAGS) to allow the
host to add it's own flags.
	* config/mh-windows (HOST_FLAGS):  Set srcroot, which is needed
	for MSVC build procedure.
1996-10-24 16:07:51 +00:00
Ian Lance Taylor
72ce05e86d * Makefile.in (CC_FOR_TARGET): Check for xgcc, not Makefile.
(CXX_FOR_TARGET): Likewise.
	(GCC_FOR_TARGET): Define.
	(BASE_FLAGS_TO_PASS): Remove GCC_FOR_TARGET.
	(EXTRA_GCC_FLAGS): Define GCC_FOR_TARGET based on whether
	CC_FOR_TARGET was specified on the command line.
	(MAKEOVERRIDES): Don't define.
1996-10-18 17:40:56 +00:00
Ian Lance Taylor
81eb5025a9 * Makefile.in: Replace all uses of srcroot with s, to shrink
command line lengths.
1996-10-08 14:48:47 +00:00
Ian Lance Taylor
d5a8bfde90 Patches from Geoffrey Noer <noer@cygnus.com>:
* configure.in: If configuring for newlib, pass --with-newlib to
	subdirectories.
	* Makefile.in (CC_FOR_TARGET): If winsup/Makefile exists, pass a
	-Bnewlib/ and -Lwinsup to gcc.
	(CXX_FOR_TARGET): Likewise.
1996-10-08 14:41:43 +00:00
Ian Lance Taylor
f2b435665b * Makefile.in (ETC_SUPPORT): Add configure. 1996-10-07 14:59:56 +00:00
Ken Raeburn
b5dbae2826 * Makefile.in (do-tar-gz): New target, split out from tail end of taz target.
Run each command separately, don't use pipes.
(taz): Use it.
1996-07-13 03:22:47 +00:00
Michael Meissner
59d3634c87 Set r environment variable that CC_FOR_TARGET needs in CONFIGURE_TARGET_MODULES 1996-07-12 13:54:37 +00:00
Michael Meissner
354a86c70f Check whether $(TARGET_SUBDIR)/$${dir} exists before trying to output --print-multi-lib there 1996-07-11 23:28:28 +00:00
Michael Meissner
062aded9d1 Automagically reconfigure target directories whenever the multilib options change 1996-07-11 14:17:12 +00:00
David Edelsohn
5db223e45f * Makefile.in (ALL_MODULES,CROSS_CHECK_MODULES,INSTALL_MODULES,
CLEAN_MODULES): Add bash.
	(all-bash): New target.
1996-07-11 01:58:46 +00:00
Jason Molenda
d92eef0ce6 Tue Jun 25 19:00:08 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
* Makefile.in (datadir): Set to $(prefix)/share.
1996-06-25 11:41:30 +00:00
Ken Raeburn
8d190aa344 * Makefile.in (taz): Handle case where tex3patch didn't even get checked out.
Also, if it was found, put the symlink in a new util subdirectory.
1996-06-20 21:01:42 +00:00
Jason Merrill
9deb948534 Mon Jun 17 16:34:46 1996 Jason Merrill <jason@yorick.cygnus.com>
* Makefile.in (taz): texinfo/tex3patch no longer exists.
1996-06-19 01:28:24 +00:00
Tom Tromey
8d1d94b6be * Makefile.in (all-inet): Depend on all-perl. 1996-05-04 00:08:15 +00:00
Tom Tromey
424c7ca7f9 * Makefile.in (inet-install): New target. 1996-05-03 23:33:33 +00:00
Tom Tromey
13d7cbe208 * Makefile.in (all-inet): Depend on all-tcl.
(all-inet): Depend on all-send-pr.
1996-05-03 16:44:22 +00:00
Tom Tromey
53c403df79 * Makefile.in (ALL_MODULES): Include all-apache.
(CROSS_CHECK_MODULES): Include check-apache.
	(INSTALL_MODULES): Include install-apache.
	(all-apache): New target.

	* configure.in: Added apache everywhere perl is seen.
1996-04-15 21:14:30 +00:00
Michael Meissner
7508666f50 Add clean-{module} support 1996-04-15 19:12:30 +00:00
Jason Molenda
eb40ca932e * Makefile.in (BASE_FLAGS_TO_PASS): pass down $(MAKE).
w/o this, if you use GNU make on a Solaris platform (eg), but you don't
have GNU make at the front of your path, when the make/ subdir cds down
into make/glob and does a make there, you will end up picking up the
first make that is in your path no matter what you do.

No PR, I just noticed this while I was working on something else.
1996-04-05 11:18:57 +00:00
Tom Tromey
0f8f1d33d8 * Makefile.in (ALL_MODULES): Include all-perl.
(CROSS_CHECK_MODULES): Include check-perl.
        (INSTALL_MODULES): Include install-perl.
        (ALL_X11_MODULES): Include all-guile.
        (CHECK_X11_MODULES): Include check-guile.
        (INSTALL_X11_MODULES): Include install-guile.
        (all-perl): New target.
        (all-guile): New target.

        * configure.in (host_tools): Include perl and guile.
        (native_only): Include perl and guile.
        (noconfigdirs): Don't build guile and perl; no ports have been
        done.
1996-03-29 19:02:30 +00:00
Jason Merrill
aaefc574d6 Wed Feb 28 12:25:46 1996 Jason Merrill <jason@yorick.cygnus.com>
* Makefile.in (taz): Fix quoting.
1996-02-28 20:26:15 +00:00
Ian Lance Taylor
b6ae0f1031 * Makefile.in: Make everything which depends upon all-bfd also
depend upon all-opcodes, in case --with-commonbfdlib is used.
1996-02-19 16:46:39 +00:00
Fred Fish
9908eb6a23 * Makefile.in (CONFIGURE_TARGET_MODULES): Add missing ';'. 1996-01-15 07:04:36 +00:00
Michael Meissner
01082eaf19 Make all-gdb include all-tcl/all-tk unless gdbtk is not built. 1996-01-06 12:33:59 +00:00
David Edelsohn
4c0b7ebc0f * Makefile.in (newlib.tar.gz): Delete building of newlib's info files. 1996-01-04 01:56:05 +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
David Edelsohn
8c222f6ee9 Remove C comment cruft. 1995-11-22 00:53:19 +00:00
David Edelsohn
283a2b3dbf * Makefile.in (DEVO_SUPPORT): Add symlink-tree. 1995-11-22 00:08:26 +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
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
c73b4ae640 minor cleanups 1995-11-01 17:24:20 +00:00
Steve Chamberlain
309dca2a1e * Makefile.in, configure.in: Make winsup builds work with
new scheme.
1995-10-31 18:32:51 +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
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
Steve Chamberlain
efd7b806cf Wed Oct 18 15:53:56 1995 steve chamberlain <sac@slash.cygnus.com>
* 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-18 23:45:05 +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
Fred Fish
81597186be * Makefile.in (GDB_SUPPORT_DIRS): Add utils.
(DEVO_SUPPORT): Add mpw-README, mpw-build.in, mpw-config.h and
	mpw-configure.
1995-08-05 01:04:06 +00:00
Steve Chamberlain
a220ba0fd7 * Makfile.in (DLLTOOL_FOR_TARGET): New name, pass it down.
* configure.in (win32): New target and host.
1995-07-03 20:47:27 +00:00
David Edelsohn
041038455c (newlib.tar.gz): Configure newlib subdir so .info files are made. 1995-06-23 00:25:15 +00:00
Jason Merrill
2f64ef7790 Wed Jan 11 16:29:53 1995 Jason Merrill <jason@phydeaux.cygnus.com>
* Makefile.in (LIBCXXFLAGS_FOR_TARGET): Add -fno-implicit-templates.
1995-01-12 00:31:22 +00:00
Ian Lance Taylor
ea6d581719 * Makefile.in: Use /x/x/ instead of /brokensed/brokensed/, to
reduce command line length.
	(AS_FOR_TARGET): Check for as.new, not Makefile.
	(NM_FOR_TARGET): Check for nm.new, not Makefile.
1995-01-05 04:56:44 +00:00