cf9dcb11d0
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.
15 lines
522 B
Sed
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/
|