binutils-gdb/opcodes/mpw-make.sed
Stan Shebs cf9dcb11d0 * 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.
1995-09-27 01:53:07 +00:00

15 lines
522 B
Sed

# 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/