aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1996-08-16 02:32:31 +0000
committerStan Shebs <shebs@codesourcery.com>1996-08-16 02:32:31 +0000
commit1906118dc7f2d4c30e2d1362115000262587042b (patch)
tree0b8f668ab2e60bc04d55747573131e256e671205 /binutils
parent9072e640c4a983770b744195c048f0b4f983b386 (diff)
downloadgdb-1906118dc7f2d4c30e2d1362115000262587042b.zip
gdb-1906118dc7f2d4c30e2d1362115000262587042b.tar.gz
gdb-1906118dc7f2d4c30e2d1362115000262587042b.tar.bz2
* mpw-make.sed: Add symbolic doublequotes around the version
number.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/mpw-make.sed6
1 files changed, 6 insertions, 0 deletions
diff --git a/binutils/mpw-make.sed b/binutils/mpw-make.sed
index 911d4e6..ea841b5 100644
--- a/binutils/mpw-make.sed
+++ b/binutils/mpw-make.sed
@@ -12,6 +12,7 @@
# Whack out unused host define bits.
/HDEFINES/s/@HDEFINES@//
+# Don't build specialized tools.
/BUILD_NLMCONV/s/@BUILD_NLMCONV@//
/BUILD_SRCONV/s/@BUILD_SRCONV@//
/BUILD_DLLTOOL/s/@BUILD_DLLTOOL@//
@@ -37,9 +38,14 @@
/BISON/s/^BISON =.*$/BISON = byacc/
#/BISONFLAGS/s/^BISONFLAGS =.*$/BISONFLAGS = /
+# Embed the version in symbolic doublequotes that will expand to
+# the right thing for each compiler.
+/VERSION/s/'"{VERSION}"'/{dq}{VERSION}{dq}/
+
# '+' is a special char to MPW, don't use it ever.
/c++filt/s/c++filt/cplusfilt/
+# All of the binutils use the same Rez file, change names to refer to it.
/^{[A-Z]*_PROG}/s/$/ "{s}"mac-binutils.r/
/{[A-Z]*_PROG}\.r/s/{[A-Z]*_PROG}\.r/mac-binutils.r/