* mpw-make.sed: Edit out makefile rebuild rule.
authorStan Shebs <shebs@codesourcery.com>
Thu, 15 Feb 1996 23:30:53 +0000 (23:30 +0000)
committerStan Shebs <shebs@codesourcery.com>
Thu, 15 Feb 1996 23:30:53 +0000 (23:30 +0000)
(host_alias, target_alias): Comment out instead of deleting.
(@LIBS@): Edit out references.

gdb/ChangeLog
gdb/mpw-make.sed

index 8d7b330d474cfdd06c55ead9382c6cde275c5645..f4b4507a3c8a588fdf099dd5837c4a9725c68c4e 100644 (file)
@@ -1,3 +1,9 @@
+Thu Feb 15 15:25:34 1996  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * mpw-make.sed: Edit out makefile rebuild rule.
+       (host_alias, target_alias): Comment out instead of deleting.
+       (@LIBS@): Edit out references.
+
 Tue Feb 13 22:56:46 1996  Fred Fish  <fnf@cygnus.com>
 
        * symfile.c (add_psymbol_to_list, add_psymbol_addr_to_list):
index a5033eeceeda64db16cc4a897b3504741b6a478b..d7f1d0bea9df444b5b57c629460d68bb2b912b7d 100644 (file)
@@ -1,7 +1,7 @@
 # Sed commands that finish translating the GDB Unix Makefile to MPW syntax.
 
-/^host_alias =/d
-/^target_alias =/d
+/^host_alias =/s/^/#/
+/^target_alias =/s/^/#/
 
 /^host_makefile_frag@$/d
 /^target_makefile_frag@$/d
@@ -40,6 +40,8 @@
 
 /@ENABLE_CLIBS@/s/@ENABLE_CLIBS@//g
 
+/@LIBS@/s/@LIBS@//g
+
 /INCLUDE_DIR/s/"{s}"{INCLUDE_DIR}/{INCLUDE_DIR}/g
 /INCLUDE_DIR/s/{INCLUDE_DIR}:/{INCLUDE_DIR}/g
 /INCLUDE_DIR/s/"{INCLUDE_DIR}":/"{INCLUDE_DIR}"/g
@@ -146,7 +148,9 @@ install-only \\Option-f \
 # Don't do any recursive subdir stuff.
 / subdir_do/s/{MAKE}/null-command/
 
+# Edit out actions that only confuse MPW Make.
 /^config.status \\Option-f/,/^$/d
+/^Makefile \\Option-f/,/^$/d
 
 # Add an action to build SIOWgdb.
 $a\