Commit Graph

328 Commits

Author SHA1 Message Date
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
Per Bothner
864a5888bd * Makefile.in: Move -fno-implicit-template from CXXFLAGS
to LIBCXXFLAGS.  Tests are better run without it.
1994-11-30 03:37:23 +00:00
Brendan Kehoe
3585593df6 * Makefile.in (all-ispell): Depend on all-emacs19 instead of all-emacs. 1994-11-23 18:30:23 +00:00
Ken Raeburn
2492f942fc * Makefile.in (DEVO_SUPPORT): Remove configure.bat and makeall.bat, they're
only useful for binutils snapshots.
(binutils.tar.gz, gas+binutils.tar.gz): Add configure.bat and makeall.bat to
specified SUPPORT_FILES.
1994-11-08 02:04:00 +00:00
Ken Raeburn
15408b3bef Changes from binutils net release:
* Makefile.in (DEVO_SUPPORT): Include configure.bat and makeall.bat.
(DISTDOCDIRS): Add `etc'.
(ETC_SUPPORT_PFX): New variable.
(taz): Include anything from etc starting with a word in ETC_SUPPORT_PFX.
1994-11-03 21:35:37 +00:00
Ian Lance Taylor
dfe4400454 * Makefile.in (all-binutils): Depend upon all-byacc. 1994-10-18 19:34:31 +00:00
Jason Merrill
4be4b991a6 Thu Oct 13 15:51:20 1994 Jason Merrill (jason@phydeaux.cygnus.com)
* Makefile.in (ALL_TARGET_MODULES): Add libstdc++.
	(CHECK_TARGET_MODULES): Ditto.
	(INSTALL_TARGET_MODULES): Ditto.
	(TARGET_LIBS): Ditto.
	(all-libstdc++): Note dependencies.
1994-10-13 22:52:54 +00:00
Jason Merrill
b255ccdb40 Tue Oct 11 12:12:29 1994 Jason Merrill (jason@phydeaux.cygnus.com)
* Makefile.in (CXXFLAGS): Use -fno-implicit-templates instead of
        -fexternal-templates.

Because libstdc++ won't build with -fexternal-templates.
1994-10-11 19:43:48 +00:00
Brendan Kehoe
28a499bb80 * Makefile.in (all-prms): Depend on all-librx. 1994-10-05 21:32:42 +00:00
Ken Raeburn
7166a30844 Makefile.in (DISTSTUFFDIRS): Add gas. 1994-10-01 04:24:29 +00:00
Ian Lance Taylor
80cbf87022 comment fix 1994-09-26 19:03:29 +00:00
Ian Lance Taylor
472af17f30 Simplify targets by undoing change (with no ChangeLog entry) of June 8 1994-09-26 18:57:43 +00:00
Ian Lance Taylor
055cca8409 * configure.in: Recognize --with-headers and --with-libs.
* Makefile.in (all-xiberty): Depend upon all-ld.
1994-08-26 19:05:59 +00:00
Per Bothner
1d5fcc6621 * Makefile.in: Update various rules to reflect that librx
is now needed for libg++.
1994-08-15 23:51:58 +00:00
Michael Tiemann
4d802af98b Add all-emacs19 and install-emacs19 rules (in parallel with all-emacs
and install-emacs).  Top-level command `make all-emacs19 CC=gcc' now
behaves as `make all-emacs CC=gcc'.
1994-07-09 20:08:16 +00:00
Rob Savoye
39cc6dae28 Move "@" so it's actually on the first line of the shell script in the
makefile target.
1994-06-08 01:03:08 +00:00
Ian Lance Taylor
a0de4c4d9c * Makefile.in (CROSS_CHECK_MODULES): Remove check-flex, since it's
in NATIVE_CHECK_MODULES.
1994-06-02 04:14:05 +00:00
Bill Cox
d237841cc5 * Makefile.in: Rename HOST_ONLY to NATIVE.
* configure: Delete SunOs patch suffix from host_canonical
	  and build_canonical variables that are prepended to Makefiles.
	* configure.in: Add comments to patch suffix removal for easier
          maintenance.
1994-06-01 21:38:29 +00:00
Jim Kingdon
3de70f1dd8 * Makefile.in: Add all-libproc target similar to all-gui. 1994-06-01 19:35:51 +00:00
Thomas Lord
4f0b8f2791 Don't check flex when cross building. 1994-06-01 00:16:26 +00:00
Jim Kingdon
1fd6553177 * Makefile.in: Add all-gui target (but not yet build by "all"). 1994-05-26 23:55:34 +00:00
Steve Chamberlain
09985c960d Really fix INSTALL_LAST this time.. 1994-05-20 15:28:26 +00:00
Steve Chamberlain
a987271c7e Thu May 19 09:29:12 1994 Steve Chamberlain (sac@cygnus.com)
* Makefile.in (INSTALL_LAST): Change operation so it works
	on more flavors of make.
	* configure.in (go32): Don't build libg++ or libio.
1994-05-19 16:31:06 +00:00
Ian Lance Taylor
66957ce49a Comment changes. 1994-05-18 16:59:26 +00:00
Steve Chamberlain
753d5049fd * Makefile.in (Move HOST_PREFIX_1 and friends up so
they can be overriden by templates.
1994-05-13 20:29:48 +00:00
Jim Kingdon
0f18218b26 * Makefile.in, test-build.mk: Remove MUNCH_NM; it was only needed
for GDB and GDB has been fixed to not need it.
1994-02-02 19:56:10 +00:00
Fred Fish
eecef7ef06 Since gdb distributions must be sanitized, and it is easy to forget to
run Sanitize during the build process, cause the distribution build process
to emit a appropriate message and quit when run in an unsanitized tree.
1994-01-24 19:36:12 +00:00
Ken Raeburn
5cc730861d * Makefile.in: Replace all occurrances of "rootme" with "r" and "$${rootme}"
with "$$r", to increase the likelihood that the do-* commands (plus user
environment) will fit SCO limits.
1994-01-18 05:24:14 +00:00
Jason Merrill
a0bd8e187b Fix gnatsishness 1993-12-01 23:20:23 +00:00
Jason Merrill
49dfa9840f Add gnats.tar.gz rule 1993-11-24 18:38:12 +00:00
Ken Raeburn
ea18081db6 * Makefile.in (taz): Only build "info" in DISTDOCDIRS.
(DISTDOCDIRS): Don't assume libg++ and gdb folks necessarily want this now.
1993-11-05 18:37:43 +00:00
Jim Kingdon
8636515256 * Makefile.in: Change RUNTEST_FLAGS back to RUNTESTFLAGS per
etc/make-stds.texi.  The underscore came from gcc, and dje now
	agrees that RUNTESTFLAGS is the correct name.
1993-11-05 01:02:31 +00:00
Jeffrey Wheat
484fa12d0b Changed RUNTESTFLAGS to RUNTEST_FLAGS 1993-11-04 16:43:25 +00:00
Jim Kingdon
7b63668388 * Makefile.in (CXXFLAGS): Add -O. 1993-11-01 20:18:22 +00:00
Ken Raeburn
65e2170193 * Makefile.in (taz): Replace "byacc" with "bison -y" in the
appropriate files before making "diststuff".
	(DISTBISONFILES): New var: list of files to be edited.
	(DISTSTUFFDIRS): Add binutils.
1993-10-25 18:26:24 +00:00
Per Bothner
6214eb23fd * Makefile.in: Add support for new libio. 1993-08-18 02:04:05 +00:00
Jason Merrill
ac259c28f0 * Makefile.in (all-send-pr): depends on all-prms 1993-08-11 22:39:09 +00:00
Mark Eichin
a9a2f22fe0 don't use $$(CC_FOR_TARGET) because that ends up being bash execute command
syntax; use $(CC_FOR_TARGET) instead.
1993-08-05 15:03:45 +00:00
Fred Fish
e65627f9f0 * Makefile.in (COMPRESS): Remove def.
* Makefile.in (gdb.tar.gz, make-gdb.tar.gz):  Renamed from
	gdb.tar.Z and make-gdb.tar.Z respectively.
	* Makefile.in (make-gdb.tar.gz):  Now only build gzip'd archive.
	* Makefile.in (make-gdb.tar.gz):  Minor changes to move closer
	to convergence with 'taz' target in Makefile.in.
1993-08-01 18:39:32 +00:00
Jason Merrill
62cd4a2067 Added a $ to Jim's mod 1993-07-27 19:40:12 +00:00
Jim Kingdon
c49a9c4076 * Makefile.in (install-dirs): Deal with a prefix like /gnu;
its parent is '/' not ''.
1993-07-27 18:06:23 +00:00
Jim Kingdon
01ec958849 * Makefile.in (DEVO_SUPPORT): Add comments about ChangeLog. 1993-07-27 17:49:52 +00:00
David D. Zuhn
a59b94d2a2 remove all.cross and install.cross targets 1993-07-08 01:00:43 +00:00
Ian Lance Taylor
9823504d83 * Makefile.in (MAKEINFOFLAGS): New variable.
(FLAGS_TO_PASS): Pass MAKEINFO as MAKEINFO MAKEINFOFLAGS.
	* build-all.mk, test-build.mk: Pass down --no-split as
	MAKEINFOFLAGS when hosted on DOS.  Compile DOS hosted without -g.
1993-06-29 19:55:24 +00:00
Per Bothner
a561909f11 taz rule: Simplify chmod; add xiberty to libg++.tar.gz. 1993-06-23 21:25:42 +00:00
Per Bothner
5600fbd262 * Makefile.in: Define VERSION (for cd ..; make taz).
* Makefile.in:  Set to version 2.3.91.
	* Makefile.in (diststuff):  Needed for distributions.
	* Makefile (dts):  Rip out.  Subsumed by stuff in ../Makefile.in.
1993-06-23 20:01:29 +00:00
David D. Zuhn
fe560b9fdf change program_transform_name quoting 1993-06-18 19:04:06 +00:00
David D. Zuhn
df063d29cc fix INSTALL_XFORM definition 1993-06-18 16:57:33 +00:00
Fred Fish
1d2bb44589 * Makefile.in: Change extension for gzip'd files from '.z' to
'.gz' per new FSF standard usage.
1993-06-18 01:45:34 +00:00
David D. Zuhn
f35c616002 update install usage 1993-06-15 23:49:46 +00:00
Ken Raeburn
96bfa6120d For gas and binutils snapshots, use .gz now instead of .z. (FSF is changing
gzip.)
1993-06-03 21:45:26 +00:00
Rob Savoye
c6ba9ae090 Add all-tk dependancy to all-expect. 1993-06-01 04:48:51 +00:00