aboutsummaryrefslogtreecommitdiff
path: root/opcodes/mpw-make.sed
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1996-08-15 20:13:38 +0000
committerStan Shebs <shebs@codesourcery.com>1996-08-15 20:13:38 +0000
commita952ea1cb86428d50d20cdee90c5705100c8ae2a (patch)
treea59fb623418802f3bf312cc15d797d9641767aba /opcodes/mpw-make.sed
parent22edd5473227bc0e89c19d04022727f62dfd514c (diff)
downloadgdb-a952ea1cb86428d50d20cdee90c5705100c8ae2a.zip
gdb-a952ea1cb86428d50d20cdee90c5705100c8ae2a.tar.gz
gdb-a952ea1cb86428d50d20cdee90c5705100c8ae2a.tar.bz2
* mpw-make.sed: Update editing of include pathnames to be
more general.
Diffstat (limited to 'opcodes/mpw-make.sed')
-rw-r--r--opcodes/mpw-make.sed6
1 files changed, 4 insertions, 2 deletions
diff --git a/opcodes/mpw-make.sed b/opcodes/mpw-make.sed
index 5faa927..ee60486 100644
--- a/opcodes/mpw-make.sed
+++ b/opcodes/mpw-make.sed
@@ -3,8 +3,10 @@
# Empty HDEFINES.
/HDEFINES/s/@HDEFINES@//
-/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:/
+
/BFD_MACHINES/s/@BFD_MACHINES@/{BFD_MACHINES}/
/archdefs/s/@archdefs@/{ARCHDEFS}/