diff options
author | Stan Shebs <shebs@codesourcery.com> | 1995-04-15 21:22:14 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 1995-04-15 21:22:14 +0000 |
commit | 8befb594699839bf0d4af2f399b71ceb84a3bb2c (patch) | |
tree | 68b725cd9e816422de7164b2ac3bc5d6a59f9795 /gdb/mpw-make.in | |
parent | b3636ee55ec939d470bd1af69f047d1bf1613066 (diff) | |
download | gdb-8befb594699839bf0d4af2f399b71ceb84a3bb2c.zip gdb-8befb594699839bf0d4af2f399b71ceb84a3bb2c.tar.gz gdb-8befb594699839bf0d4af2f399b71ceb84a3bb2c.tar.bz2 |
* mpw-make.in (init.c): Don't try to do symbolic {o} in sed
command, not allowed by some version of MPW Make.
* ser-mac.c (mac-setbaudrate): Make it actually set baud rates.
Diffstat (limited to 'gdb/mpw-make.in')
-rw-r--r-- | gdb/mpw-make.in | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/gdb/mpw-make.in b/gdb/mpw-make.in index a0acf8f..9e58f99 100644 --- a/gdb/mpw-make.in +++ b/gdb/mpw-make.in @@ -719,7 +719,17 @@ uninstall \Option-f force # Formatting conventions: The name of the _initialize_* routines must start # in column zero, and must not be inside #if. +# FIXME: the last sed substitution 's/^://' should really be 's/^{o}//', +# but only some versions of Make (like 4.0d2, but NOT 4.0b6) will make +# the substitution. + "{o}"init.c \Option-f {OBS} {TSOBS} + If "{o}" =~ /:/ + Echo objdir is : + Else + Echo Aack, objdir is not : + Exit -5 + End If Echo Making "{o}"init.c Delete -i -y "{o}"init.c init.c-tmp Echo '/* Do not modify this file. */' >init.c-tmp @@ -740,7 +750,7 @@ uninstall \Option-f force -e '/[a-z0-9A-Z_]*-exp.tab.c.o/d' \Option-d -e 's/\.gc\.o/.c/' \Option-d -e 's/\.c\.o/.c/' \Option-d - -e 's/^{o}//'`" + -e 's/^://'`" If "{filename}" != "" sed <"{s}""{filename}" >>init.c-tmp -n \Option-d -e '/^_initialize_[a-z_0-9A-Z]* *(/s/^\([a-z_0-9A-Z]*\).*/ {extern void \1 (); \1 ();}/p' |