* mpw-make.sed: Edit out recent shared library support, and
authorStan Shebs <shebs@codesourcery.com>
Mon, 26 Feb 1996 20:59:24 +0000 (20:59 +0000)
committerStan Shebs <shebs@codesourcery.com>
Mon, 26 Feb 1996 20:59:24 +0000 (20:59 +0000)
rules to rebuild .h files using doc/chew.

bfd/ChangeLog
bfd/mpw-make.sed

index bf02df27dbbc06f6c04f784dafaeaea5432a3f9b..b929b6752efe8e59904280195e76bd9370b56642 100644 (file)
@@ -1,3 +1,8 @@
+Mon Feb 26 12:52:48 1996  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * mpw-make.sed: Edit out recent shared library support, and
+       rules to rebuild .h files using doc/chew.
+
 Mon Feb 26 14:48:39 1996  David Mosberger-Tang  <davidm@AZStarNet.com>
 
        * ecoff.c (ecoff_compute_section_file_positions): Adjust the file
index 3ecf8ebe41d3b40d5b13b4153e247186e59296dc..a989ef005ff2c2ce2df31b8f07a4f8dd22894834 100644 (file)
 /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