aboutsummaryrefslogtreecommitdiff
path: root/gdb/mpw-make.sed
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1996-02-15 23:30:53 +0000
committerStan Shebs <shebs@codesourcery.com>1996-02-15 23:30:53 +0000
commit884fb64c78699e8e2f1c292bac2c94857cfd6b12 (patch)
tree94dc549304b365adcfd7d9032279b18e81482d94 /gdb/mpw-make.sed
parent74eeaa7d57d9f5e3426b3f1109e65a7fcc8a4bb7 (diff)
downloadgdb-884fb64c78699e8e2f1c292bac2c94857cfd6b12.zip
gdb-884fb64c78699e8e2f1c292bac2c94857cfd6b12.tar.gz
gdb-884fb64c78699e8e2f1c292bac2c94857cfd6b12.tar.bz2
* mpw-make.sed: Edit out makefile rebuild rule.
(host_alias, target_alias): Comment out instead of deleting. (@LIBS@): Edit out references.
Diffstat (limited to 'gdb/mpw-make.sed')
-rw-r--r--gdb/mpw-make.sed8
1 files changed, 6 insertions, 2 deletions
diff --git a/gdb/mpw-make.sed b/gdb/mpw-make.sed
index a5033ee..d7f1d0b 100644
--- a/gdb/mpw-make.sed
+++ b/gdb/mpw-make.sed
@@ -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\