* mpw-config.in: Update editing of autoconf vars to reflect

Jul 18 configure.in change.
	* mpw-make.sed: Update editing of include pathnames to be
	more general, add @DASH_C_FLAG@ to explicit compile rule edit.
This commit is contained in:
Stan Shebs 1996-08-15 19:41:17 +00:00
parent 53ef6e6076
commit 22edd54732
3 changed files with 27 additions and 8 deletions

View File

@ -1,3 +1,15 @@
Thu Aug 15 12:33:29 1996 Stan Shebs <shebs@andros.cygnus.com>
* mpw-config.in: Update editing of autoconf vars to reflect
Jul 18 configure.in change.
* mpw-make.sed: Update editing of include pathnames to be
more general, add @DASH_C_FLAG@ to explicit compile rule edit.
Thu Aug 15 10:35:13 1996 Richard Henderson <rth@tamu.edu>
* elf64-alpha.c (elf64_alpha_output_extsym): The section from
which to offset to get the .plt entry address is ".plt".
Thu Aug 15 16:40:30 1996 James G. Smith <jsmith@cygnus.co.uk>
* reloc.c: (BFD_RELOC_ARM_THUMB_ADD, BFD_RELOC_ARM_THUMB_IMM,

View File

@ -54,7 +54,11 @@ MoveIfChange "{o}"config.new "{o}"config.h
# We can only handle 32-bit targets right now.
sed -e 's/@WORDSIZE@/32/' \Option-d
-e 's/@wordsize@/32/' \Option-d
-e "s/@VERSION@/`Catenate {srcdir}VERSION`/" \Option-d
-e 's/@BFD_HOST_64_BIT_DEFINED@/0/' \Option-d
-e 's/@BFD_HOST_64_BIT@//' \Option-d
-e 's/@BFD_HOST_U_64_BIT@//' \Option-d
-e 's/@BFD_HOST_64BIT_LONG@/0/' \Option-d
"{srcdir}"bfd-in2.h >"{o}"bfd.h-new

View File

@ -4,13 +4,16 @@
/HDEFINES/s/@HDEFINES@//
/TDEFINES/s/@TDEFINES@//
/INCDIR=/s/"{srcdir}":/"{topsrcdir}"/
/^CSEARCH = .*$/s/$/ -i "{INCDIR}":mpw: -i ::extra-include:/
# Fix pathnames to include directories.
/^INCDIR = /s/^INCDIR = .*$/INCDIR = "{topsrcdir}"include/
/^CSEARCH = /s/$/ -i "{INCDIR}":mpw: -i ::extra-include:/
/WORDSIZE/s/^WORDSIZE = /#WORDSIZE = /
/BFD_MACHINES/s/^BFD_MACHINES = /#BFD_MACHINES = /
/BFD_BACKENDS/s/^BFD_BACKENDS = /#BFD_BACKENDS = /
/TDEFAULTS/s/^TDEFAULTS = /#TDEFAULTS = /
# Comment out setting of vars, configure script will add these itself.
/^WORDSIZE =/s/^/#/
# /^ALL_BACKENDS/s/^/#/
/^BFD_BACKENDS/s/^/#/
/^BFD_MACHINES/s/^/#/
/^TDEFAULTS/s/^/#/
# Remove extra, useless, "all".
/^all \\Option-f _oldest/,/^$/d
@ -59,11 +62,11 @@
# MPW Make doesn't know about $<.
/"{o}"targets.c.o \\Option-f "{s}"targets.c Makefile/,/^$/c\
"{o}"targets.c.o \\Option-f "{s}"targets.c Makefile\
{CC} {ALL_CFLAGS} {TDEFAULTS} "{s}"targets.c -o "{o}"targets.c.o
{CC} @DASH_C_FLAG@ {ALL_CFLAGS} {TDEFAULTS} "{s}"targets.c -o "{o}"targets.c.o
/"{o}"archures.c.o \\Option-f "{s}"archures.c Makefile/,/^$/c\
"{o}"archures.c.o \\Option-f "{s}"archures.c Makefile\
{CC} {ALL_CFLAGS} {TDEFAULTS} "{s}"archures.c -o "{o}"archures.c.o
{CC} @DASH_C_FLAG@ {ALL_CFLAGS} {TDEFAULTS} "{s}"archures.c -o "{o}"archures.c.o
# Remove the .h rebuilding rules, we don't currently have a doc subdir,
# or a way to build the prototype-hacking tool that's in it.