mpw-make.sed
760 Bytes
# Sed commands to finish translating the opcodes Makefile.in into MPW syntax.
# Empty HDEFINES.
/S/s/@HDEFINES@//
# Fix pathnames to include directories.
/ /s/^INCDIR = .*$/INCDIR = "{topsrcdir}"include/
/ /s/$/ -i "{INCDIR}":mpw: -i ::extra-include:/
/S/s/@BFD_MACHINES@/{BFD_MACHINES}/
/s/s/@archdefs@/{ARCHDEFS}/
# No PIC foolery in this environment.
/@/s/@ALLLIBS@/{TARGETLIB}/
/@/s/@PICLIST@//
/@/s/@PICFLAG@//
/r/,/$/d
# Remove the pic trickery from the default build rule.
/ /,/f/c\
.c.o \\Option-f .c
# Remove pic trickery from other rules - aimed at the rule
# for disassemble.o in particular.
/"/,/f/d