1995-09-27 01:53:07 +00:00
|
|
|
# Sed commands to finish translating the opcodes Makefile.in into MPW syntax.
|
|
|
|
|
|
|
|
# Empty HDEFINES.
|
|
|
|
/HDEFINES/s/@HDEFINES@//
|
|
|
|
|
1996-08-15 20:13:38 +00:00
|
|
|
# Fix pathnames to include directories.
|
|
|
|
/^INCDIR = /s/^INCDIR = .*$/INCDIR = "{topsrcdir}"include/
|
|
|
|
/^CSEARCH = /s/$/ -i "{INCDIR}":mpw: -i ::extra-include:/
|
|
|
|
|
1995-09-27 01:53:07 +00:00
|
|
|
/BFD_MACHINES/s/@BFD_MACHINES@/{BFD_MACHINES}/
|
|
|
|
/archdefs/s/@archdefs@/{ARCHDEFS}/
|
1996-02-27 01:31:28 +00:00
|
|
|
|
|
|
|
# No PIC foolery in this environment.
|
|
|
|
/@ALLLIBS@/s/@ALLLIBS@/{TARGETLIB}/
|
|
|
|
/@PICLIST@/s/@PICLIST@//
|
|
|
|
/@PICFLAG@/s/@PICFLAG@//
|
|
|
|
/^{OFILES} \\Option-f stamp-picdir/,/^$/d
|
|
|
|
|
|
|
|
# Remove the pic trickery from the default build rule.
|
|
|
|
/^\.c\.o \\Option-f /,/End If/c\
|
|
|
|
.c.o \\Option-f .c
|
|
|
|
|
|
|
|
# Remove pic trickery from other rules - aimed at the rule
|
|
|
|
# for disassemble.o in particular.
|
|
|
|
/-n "{PICFLAG}"/,/End If/d
|