diff options
author | Stan Shebs <shebs@codesourcery.com> | 1996-10-22 17:37:18 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 1996-10-22 17:37:18 +0000 |
commit | 5efcbe36369c3caa244424cf63f31da182e75722 (patch) | |
tree | deaaaebcb733ec0a68ecac12d580ffd7f47a0552 /gdb/mpw-make.sed | |
parent | 7eb7c902a92ef033de35e139c168c78cf1cdb314 (diff) | |
download | gdb-5efcbe36369c3caa244424cf63f31da182e75722.zip gdb-5efcbe36369c3caa244424cf63f31da182e75722.tar.gz gdb-5efcbe36369c3caa244424cf63f31da182e75722.tar.bz2 |
* mpw-make.sed: Update init.c editing to work with Oct 8 change.
(@HLDFLAGS@): Always edit out.
Diffstat (limited to 'gdb/mpw-make.sed')
-rw-r--r-- | gdb/mpw-make.sed | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/gdb/mpw-make.sed b/gdb/mpw-make.sed index ad62071..e5c61c9 100644 --- a/gdb/mpw-make.sed +++ b/gdb/mpw-make.sed @@ -34,6 +34,7 @@ # Whack out various autoconf vars that we don't need. /@CONFIG_LDFLAGS@/s/@CONFIG_LDFLAGS@//g +/@HLDFLAGS@/s/@HLDFLAGS@//g /@DEFS@/s/@DEFS@//g /@YACC@/s/@YACC@/byacc/g /@ENABLE_OBS@/s/@ENABLE_OBS@//g @@ -115,8 +116,9 @@ readline_headers =\ open-brace >> "{o}"init.c-tmp # Replace the whole sed bit for init.c; it's simpler that way... -/filename=`echo $i | sed/,/esac/c\ - set filename "`Echo {i} | sed \\Option-d\ +/echo {OBS} {TSOBS}/,/echo '}'/c\ + For i in {OBS} {TSOBS}\ + Set filename "`Echo {i} | sed \\Option-d\ -e '/^Onindy.c.o/d' \\Option-d\ -e '/^nindy.c.o/d' \\Option-d\ -e '/ttyflush.c.o/d' \\Option-d\ @@ -133,7 +135,9 @@ readline_headers =\ If "{filename}" != ""\ sed <"{s}""{filename}" >>"{o}"init.c-tmp -n \\Option-d\ -e '/^_initialize_[a-z_0-9A-Z]* *(/s/^\\([a-z_0-9A-Z]*\\).*/ {extern void \\1 (); \\1 ();}/p'\ - End If + End If\ + End For\ + Echo '}' >>"{o}"init.c-tmp # Fix the main compile/link command. /{CC_LD} {INTERNAL_LDFLAGS} -o gdb/,/"{o}"init.c.o {OBS} {TSOBS} {ADD_FILES} {CLIBS} {LOADLIBES}/c\ |