Commit graph

957 commits

Author SHA1 Message Date
Mark Eichin
2ec3d07cc7 only set PWD if it is already set (and likely wrong). from p3. 1992-09-18 07:37:38 +00:00
John Gilmore
4a63dfde28 Changes to make the gdb.tar.Z rule work better.
* Makefile.in (GDB_SUPPORT_DIRS):  Add opcodes.
(DEVO_SUPPORT):  Add configure.texi.
(bfd-ilrt.tar.Z):  Remove ancient rule.
1992-09-18 06:59:58 +00:00
Mark Eichin
fc11b71ac4 from p3. Some shells leave PWD in the environment (old tcsh, ksh at least)
screws nested configures. "unset PWD" is the right answer, except that
Decstation sh doesn't *have* unset.
	Note also that the send-pr build will fail if you have PWD in your
environment, because emacs also (foolishly) trusts it.

	* configure: just set PWD=`pwd` at the top, since Ultrix sh
	doesn't have unset and all success paths (and most error paths)
	out set it anyway. (Note: should change all uses of ${PWD=`pwd`}
	to just ${PWD} to avoid confusion.)
1992-09-18 06:16:37 +00:00
Ian Lance Taylor
c51083226c Changes to make an installed cross-compiler find everything correctly.
Tue Sep 15 16:00:54 1992  Ian Lance Taylor  (ian@cygnus.com)

	* configure: always set $(tooldir) to $(libdir)/$(target_alias),
	even for a native compilation.
1992-09-15 23:26:16 +00:00
Ian Lance Taylor
0012a471ae Thu Sep 10 10:43:19 1992 Ian Lance Taylor (ian@cygnus.com)
* Makefile.in: added -I for newlib/targ-include to XTRAFLAGS, to
	pick up the machine and system specific header files.
1992-09-10 22:45:45 +00:00
Ian Lance Taylor
f68be6f088 Thu Sep 10 10:43:19 1992 Ian Lance Taylor (ian@cygnus.com)
* configure.in, config.sub: added new target m68010-adobe-scout,
	with alias of adobe68k.  Changed configure.in to check for
	-scout before -sco* to avoid a false match.
1992-09-10 18:04:50 +00:00
Ian Lance Taylor
440868a029 Thu Sep 10 10:43:19 1992 Ian Lance Taylor (ian@cygnus.com)
* Makefile.in: added AS_FOR_TARGET, passed down in
	TARGET_FLAGS_TO_PASS.  Added CC_FOR_BUILD, which is intended to be
	the C compiler to use to create programs which are run in the
	build environment, set it to default to $(CC), and passed it down
	in FLAGS_TO_PASS and TARGET_FLAGS_TO_PASS.
1992-09-10 17:45:18 +00:00
Ian Lance Taylor
5148923360 Wed Sep 9 12:21:42 1992 Ian Lance Taylor (ian@cygnus.com)
* Makefile.in: added TARGET_FLAGS_TO_PASS, CC_FOR_TARGET,
	AR_FOR_TARGET, RANLIB_FOR_TARGET, NM_FOR_TARGET.  Pass
	TARGET_FLAGS_TO_PASS, which defines CC, AR, RANLIB and NM as the
	FOR_TARGET variants, to newlib and libg++.
1992-09-09 19:24:23 +00:00
Ken Raeburn
a904db5348 build opcodes before gas or gdb 1992-09-09 03:15:37 +00:00
Steve Chamberlain
319a021edf * Makefile.in: all-opcodes, cd into the right directory 1992-09-01 22:49:37 +00:00
Ian Lance Taylor
d257b46f88 Sun Aug 30 21:12:11 1992 Ian Lance Taylor (ian@cygnus.com)
* configure: added -program_transform_name option, used as
	argument to sed when installing programs.
	configure.texi: added documentation for -program_prefix,
	-program_suffix and -program_transform_name.
1992-09-01 01:12:41 +00:00
John Gilmore
6e122179f3 Accept i486 where i386 ok. 1992-08-28 05:00:36 +00:00
Brendan Kehoe
de0f17d890 * config.sub: add we32k 1992-08-27 22:19:51 +00:00
Ian Lance Taylor
56dcef3cd2 Brought up from p3:
Mon Aug 24 14:05:14 1992  Ian Lance Taylor  (ian@cygnus.com)

	* Makefile.in: don't create all directories for ``make install'';
	let the subdirectories create the ones they need.
1992-08-24 21:06:34 +00:00
David D. Zuhn
01b8752d28 fix INFO-DIR-ENTRY, new gen-info-dir 1992-08-04 08:20:51 +00:00
David D. Zuhn
dfa891fc11 clean up Makefile.in (install), configure.in (the parts that choose what not to build for a host or target) 1992-08-03 22:44:29 +00:00
Fred Fish
26fe0d7d42 * config.sub (ncr3000): Change i386 to i486. 1992-08-03 07:35:08 +00:00
K. Richard Pixley
b4edd96978 build in-place before other builds 1992-07-18 05:59:30 +00:00
K. Richard Pixley
ff34c090ce remove stamp-co on very 1992-07-18 05:58:14 +00:00
K. Richard Pixley
dae8a4cf86 predicate stage3 and comparison on the existence of gcc 1992-07-18 05:56:28 +00:00
K. Richard Pixley
846b9d7b0d recurse explicitly with -f test-build.mk when appropriate. 1992-07-18 05:54:04 +00:00
Steve Chamberlain
3ad0ef3736 * Makefile.in, configure.in: add tgas 1992-07-17 01:34:45 +00:00
K. Richard Pixley
06a0794409 progressive changes 1992-07-16 23:09:11 +00:00
K. Richard Pixley
2d115749d7 add libm 1992-07-16 23:06:53 +00:00
K. Richard Pixley
67b36a2352 ignore some stuff that comes from test-build.mk. 1992-07-16 23:06:03 +00:00
K. Richard Pixley
1775539efb remove some stray cvsmerge crud 1992-07-16 23:05:20 +00:00
Stu Grossman
179798e1e0 * config/mh-solaris: Use -xs when compiling so that Sun-C puts
a symbol-table into the executable.
1992-07-08 07:04:02 +00:00
Fred Fish
a416804911 * config.sub: Add es1800 (m68k-ericsson-es1800). 1992-07-07 07:25:41 +00:00
Steve Chamberlain
4347369fb1 * configure: fix various problems with propogating
makefile_target_frag in subdirs.
	* configure.in: config libgcc if its there
1992-06-23 01:32:47 +00:00
Stu Grossman
7d87ec828f * config.sub: HPPA merge. 1992-06-19 22:20:16 +00:00
Fred Fish
65f14e33aa * config/mh-ncr3000 (INSTALL): Don't use /usr/ucb/install,
it is broken on ncr 3000's.
1992-06-15 19:32:53 +00:00
John Gilmore
18eb7badc4 Add sun4sol2 => sparc-sun-solaris2. 1992-06-13 05:23:04 +00:00
Per Bothner
f0e9ba1e63 * config.sub: Add support for Linux.
* Makefile.in:  Use $(FLAGS_TO_PASS) more consistently (at least for libg++).
1992-06-04 07:38:43 +00:00
David D. Zuhn
72754842fc fix -nfp documentation 1992-06-03 03:06:02 +00:00
Michael Tiemann
2198e4ba24 Makefile.in (all-binutils): ar needs flex, so depend on all-flex. 1992-06-03 00:21:33 +00:00
David D. Zuhn
a5992d117e recognize m680[1234] as separate processors now 1992-05-31 08:12:16 +00:00
David D. Zuhn
07f1d175cf better error testing on perverse cases (eg, ./config.sub -sun3) 1992-05-31 04:04:03 +00:00
Michael Tiemann
49df230880 Add flex to the list of keepers. flex is needed to build GNU ld. 1992-05-29 02:49:34 +00:00
Michael Tiemann
ad1f7512f8 Pass $tooldir in FLAGS_TO_PASS. Define -aout in $os. Both of these
are needed to do a `make all install' for a vxworks68 target install.
1992-05-28 06:21:54 +00:00
Michael Tiemann
11ad114b76 Thu May 21 18:00:09 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
* Makefile.in (tooldir): Define it.
	(all-ld): Depend on all-flex.
1992-05-22 15:56:20 +00:00
K. Richard Pixley
9dba22c625 do not bury pwd into config.status, thus do fewer pwds 1992-05-08 20:29:39 +00:00
K. Richard Pixley
3b6f914fb4 print Building message only when subdir != . AND verbose 1992-05-08 19:34:32 +00:00
K. Richard Pixley
a98e98d368 remove -s, rework -v to better accomodate guested configures 1992-05-08 18:29:38 +00:00
K. Richard Pixley
a60ff51268 updated to 3 may 1992-05-08 15:32:25 +00:00
K. Richard Pixley
5bdf762bb8 pass INSTALL, INSTALL_DATA, INSTALL_PROGRAM on install 1992-04-30 15:58:03 +00:00
K. Richard Pixley
1dbe4d41aa do not print subdir_do lines or recursion lines 1992-04-24 22:56:39 +00:00
K. Richard Pixley
618f57a9a2 add autoconf 1992-04-24 21:46:16 +00:00
K. Richard Pixley
92b9ed409a configure: test for and move config.status pieces from subdir. 1992-04-23 01:07:40 +00:00
Fred Fish
58760cdaa2 Test for nonexistance of files before trying to mv them, to avoid numerous
nonexistance error messages.
1992-04-22 21:41:44 +00:00
K. Richard Pixley
53988f33e8 correct final line of config.status 1992-04-21 19:52:54 +00:00
K. Richard Pixley
86112802a9 configure: patch from eggert. Avoids a protection problem if the
original Makefile.in is read only.
1992-04-21 19:49:03 +00:00
K. Richard Pixley
196377eec6 configure: use move-if-change from gcc to create config.status. Some
makefiles depend on config.status to tell if a directory has been
reconfigured for a different host.  This change prevents those
directories from remaking everything in the case where the reconfig
was only intended to rebuild a Makefile.
1992-04-21 19:36:11 +00:00
K. Richard Pixley
94c7ae212d configure: test for config.sub with "config.sub sun4" rather than
"config.sub ${host_alias}".  Otherwise we can't tell a bad host alias
from a missing config.sub.
1992-04-21 19:33:13 +00:00
K. Richard Pixley
9546e9b45c correct makesrcdir when subdir is . 1992-04-21 04:05:37 +00:00
K. Richard Pixley
e1ca00723d .NOEXPORT: so that children don't pick up false values for things like makefile frags 1992-04-16 02:57:23 +00:00
K. Richard Pixley
ee1dc1b77d correction to makesrcdir for relative srcdir 1992-04-16 01:24:59 +00:00
Per Bothner
8becd045a3 * configure: Add support for 'subdirs' variable, which is
like 'configdirs', except that configure doesn't re-invoke
	itself for subdirs, it just creates a Makefile for each subdir.
	* configure.texi:  Document subdirs.
1992-04-14 19:02:48 +00:00
David D. Zuhn
6adac399aa updated configure.in to include flex 1992-04-14 01:51:00 +00:00
K. Richard Pixley
64d424c633 remove clean-stamps from clean 1992-04-14 01:44:23 +00:00
John Gilmore
347e3a00bb We now configure gdbtest automatically if it's there. 1992-04-11 10:52:33 +00:00
Fred Fish
c4fb14b791 Add MINUS_G macro, default to -g, and pass on to recursive makes.
Recognize new ncr3000 config.
1992-04-11 06:13:43 +00:00
Per Bothner
6910a5ac8d * config.sub: Don't canonicalize os value
newsos* to bsd (readline needs to check for newsos).
	(This fix was earlier made Jan 31, but got re-broken.)
1992-04-07 23:52:37 +00:00
Stu Grossman
27c28d61ce * configure.in: sco is an os, not a vendor! 1992-04-07 05:57:36 +00:00
Stu Grossman
dd7368a7cf * configure: Quote $( better. Keep various shells happy. 1992-04-06 21:35:22 +00:00
K. Richard Pixley
079b2abe97 add send_pr. remove "force" from .stmp-gprof rule. Supress echoing of all the "if [ -d ... $(MAKE)" lines. 1992-03-31 06:35:16 +00:00
K. Richard Pixley
88578a2a10 re-add -rm 1992-03-25 18:34:46 +00:00
K. Richard Pixley
e855b0f8a8 add stamp-rcs to all 1992-03-25 07:51:57 +00:00
K. Richard Pixley
b4e2a59bef remove gas from rs6000 build, use aix host fragment 1992-03-25 07:51:05 +00:00
K. Richard Pixley
0e693d0b0e pass site_option to recursions 1992-03-25 07:49:53 +00:00
Stu Grossman
52963fb7e9 Add .stmp-readline to all.cross... 1992-03-20 00:53:45 +00:00
Stu Grossman
66cfe047e5 * Makefile.in (all.cross): Add .stmp-bfd. 1992-03-20 00:51:23 +00:00
Fred Fish
bb24c7e6f6 Add support for mmalloc library. 1992-03-15 01:21:52 +00:00
K. Richard Pixley
b7dd30ab1c add stmp dependencies for a few more things 1992-03-14 02:45:00 +00:00
K. Richard Pixley
1cb49e8746 add libiberty stmp to all and all.cross 1992-03-12 12:56:53 +00:00
K. Richard Pixley
02a7ba9a40 remove force from dependencies, add grep to all 1992-03-11 10:08:54 +00:00
K. Richard Pixley
8fd24008f7 added check for conflicting configurations (srcdir vs not) 1992-03-11 06:24:19 +00:00
K. Richard Pixley
c9b0df66be remove trailing slashes from srcdir so gdb-mode won't get cranky 1992-03-11 06:07:29 +00:00
K. Richard Pixley
9d98d2ac35 drop flex. make stamp files work 1992-03-11 05:57:50 +00:00
K. Richard Pixley
c1e4672ca0 use relative paths for configure and srcdir when possible 1992-03-11 05:50:05 +00:00
K. Richard Pixley
b74fd080fb mkdir $(infodir) on install-info. 1992-02-25 01:08:38 +00:00
Stu Grossman
b0606560a3 * config.sub (near case $os): Don't convert newsos* to bsd!CVS: 1992-02-01 05:49:27 +00:00
Stu Grossman
92732c2789 * bfd/configure.in, config/mh-sco, gdb/config/mh-i386sco,
gdb/config/mt-i386v32, gdb/configure.in, readline/configure.in:
Fix SCO configuration stuff.
1992-01-31 00:24:21 +00:00
Per Bothner
4cc027e126 * Makefile.in: For libg++, make sure the -I pointing
to the gcc directory goes *after* all the libg++-local -I flags.
	Also, move just-gcc dependency from just-libg++ to all-libg++.
1992-01-29 07:52:01 +00:00
Fred Fish
aa2e8c1c98 Add stratus configuration frags. Also submitted to FSF. 1992-01-19 01:04:42 +00:00
Stu Grossman
1a7cac26ae * Makefile.in (DEV_SUPPORT): add configure.man. 1992-01-19 00:04:43 +00:00
Stu Grossman
c1e296fc1f * config.sub(Decode manufacturer-specific): add -none*. 1992-01-18 23:36:54 +00:00
Stu Grossman
23e3e7f949 * Makefile.in: remove form feeds to make Sun's make happy.
(DEVO_SUPPORT):  DOC.configure => cfg-paper.texi.
1992-01-18 02:03:00 +00:00
K. Richard Pixley
079399f6df small changes to accomodate other versions of configure 1991-12-28 03:15:17 +00:00
K. Richard Pixley
25113b4647 flex joins the fray, also fixed clean-info in devo. 1991-12-28 01:27:15 +00:00
K. Richard Pixley
e488e58118 Be less sensitive to spaces in Makefile.in. Kills bug #556. 1991-12-28 00:29:34 +00:00
K. Richard Pixley
62ddb92b9f some changes suggested by rms 1991-12-27 00:31:34 +00:00
Fred Fish
7dac608620 Merge in some small additions from the FSF version (taken from the gcc
config.sub file) to bring the Cygnus and FSF versions into closer sync.
1991-12-26 18:15:48 +00:00
Fred Fish
5f32984ea6 Change svr4 references to sysv4. 1991-12-20 19:35:15 +00:00
K. Richard Pixley
0c72405d83 added -V for version number option 1991-12-19 23:55:06 +00:00
K. Richard Pixley
7d283cc12f revised, updated, texinfo'd and renamed 1991-12-18 23:42:08 +00:00
K. Richard Pixley
7da1d33424 find config.subr again 1991-12-13 09:38:48 +00:00
K. Richard Pixley
f6031817bf resync from rms 1991-12-13 09:17:37 +00:00
K. Richard Pixley
475576aef9 config.sub & config.subr merge 1991-12-12 06:30:17 +00:00
K. Richard Pixley
9a9e8e7f4b revised install for dir.info 1991-12-12 06:25:48 +00:00
K. Richard Pixley
c466cfab84 infodir belongs in datadir 1991-12-11 04:15:50 +00:00
K. Richard Pixley
65fd9a4d8b clean-gdbm on clean 1991-12-10 11:58:56 +00:00
K. Richard Pixley
bb07ee3ebd install-gcc on install 1991-12-10 11:14:48 +00:00
K. Richard Pixley
806fd9fc4e add decstation host makefile frag 1991-12-10 08:10:33 +00:00
K. Richard Pixley
e9712beec8 BISON now bison -y again 1991-12-10 08:05:11 +00:00
K. Richard Pixley
b26ff9d824 fix for bad directory tests 1991-12-10 00:49:07 +00:00
K. Richard Pixley
0e0643c7a6 * configure: \{1,2\} appears to be a sysv'ism. Use a different
regexp.
1991-12-07 10:32:08 +00:00
K. Richard Pixley
098676c9d9 Initial revision 1991-12-07 08:34:52 +00:00