diff options
author | Stan Shebs <shebs@codesourcery.com> | 1995-09-27 01:53:07 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 1995-09-27 01:53:07 +0000 |
commit | cf9dcb11d0104d9036d242ba6533be2d03b7fa2c (patch) | |
tree | 5c125362b664dffb00cb5399803ae2b4a798905a /opcodes/mpw-make.sed | |
parent | a2e7268980ab302aa6521154147b4c1cd8dd2cdb (diff) | |
download | gdb-cf9dcb11d0104d9036d242ba6533be2d03b7fa2c.zip gdb-cf9dcb11d0104d9036d242ba6533be2d03b7fa2c.tar.gz gdb-cf9dcb11d0104d9036d242ba6533be2d03b7fa2c.tar.bz2 |
* mpw-config.in: Add m68k-opc.c.o to BFD_MACHINES for m68k,
no longer create sysdep.h, sed ppc-opc.c to work around a
serious Metrowerks C bug.
* mpw-make.in: Remove.
* mpw-make.sed: New file, used by mpw-configure to edit
Makefile.in into an MPW makefile.
Diffstat (limited to 'opcodes/mpw-make.sed')
-rw-r--r-- | opcodes/mpw-make.sed | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/opcodes/mpw-make.sed b/opcodes/mpw-make.sed new file mode 100644 index 0000000..7096e22 --- /dev/null +++ b/opcodes/mpw-make.sed @@ -0,0 +1,14 @@ +# Sed commands to finish translating the opcodes Makefile.in into MPW syntax. + +# Empty HDEFINES. +/HDEFINES/s/@HDEFINES@// + +/INCDIR=/s/"{srcdir}":/"{topsrcdir}"/ +/^CSEARCH = .*$/s/$/ -i "{INCDIR}":mpw: -i ::extra-include:/ +/BFD_MACHINES/s/@BFD_MACHINES@/{BFD_MACHINES}/ +/archdefs/s/@archdefs@/{ARCHDEFS}/ + +# Use a ppc-opc.c that has been tweaked to have less macro nesting. +# (really only needed for Metrowerks) +/ppc-opc.c/s/"{s}"ppc-opc\.c/"{o}"hacked_ppc-opc.c/ +/ppc-opc.c.o/s/"{o}"ppc-opc\.c\.o/"{o}"hacked_ppc-opc.c.o/ |