aboutsummaryrefslogtreecommitdiff
path: root/bfd/mpw-make.sed
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1996-02-26 20:59:24 +0000
committerStan Shebs <shebs@codesourcery.com>1996-02-26 20:59:24 +0000
commit14fd46168ddb009f08661342b56a9429b7cd01ac (patch)
tree599aaa961fbe1b3afa0bb0a8273fd95ec47a4f7d /bfd/mpw-make.sed
parent3d9f042ca8be6f5eec33953b7d1c463375287838 (diff)
downloadgdb-14fd46168ddb009f08661342b56a9429b7cd01ac.zip
gdb-14fd46168ddb009f08661342b56a9429b7cd01ac.tar.gz
gdb-14fd46168ddb009f08661342b56a9429b7cd01ac.tar.bz2
* mpw-make.sed: Edit out recent shared library support, and
rules to rebuild .h files using doc/chew.
Diffstat (limited to 'bfd/mpw-make.sed')
-rw-r--r--bfd/mpw-make.sed15
1 files changed, 15 insertions, 0 deletions
diff --git a/bfd/mpw-make.sed b/bfd/mpw-make.sed
index 3ecf8eb..a989ef0 100644
--- a/bfd/mpw-make.sed
+++ b/bfd/mpw-make.sed
@@ -44,6 +44,16 @@
/COREFILE/s/@COREFILE@//
/COREFLAG/s/@COREFLAG@//
+# No PIC foolery in this environment.
+/@ALLLIBS@/s/@ALLLIBS@/{TARGETLIB}/
+/@PICLIST@/s/@PICLIST@//
+/@PICFLAG@/s/@PICFLAG@//
+/^{OFILES} \\Option-f stamp-picdir/,/^$/d
+
+# Remove the pic trickery from the default build rule.
+/^\.c\.o \\Option-f /,/End If/c\
+.c.o \\Option-f .c
+
# 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\
@@ -53,3 +63,8 @@
"{o}"archures.c.o \\Option-f "{s}"archures.c Makefile\
{CC} {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.
+/^"{srcdir}"bfd-in2.h \\Option-f /,/^$/d
+/^"{srcdir}"libbfd.h \\Option-f /,/^$/d
+/^"{srcdir}"libcoff.h \\Option-f /,/^$/d