1 # Sed commands to finish translating the opcodes Makefile.in into MPW syntax.
4 /HDEFINES/s/@HDEFINES@//
6 # Fix pathnames to include directories.
7 /^INCDIR = /s/^INCDIR = .*$/INCDIR = "{topsrcdir}"include/
8 /^CSEARCH = /s/$/ -i "{INCDIR}":mpw: -i ::extra-include:/
10 /BFD_MACHINES/s/@BFD_MACHINES@/{BFD_MACHINES}/
11 /archdefs/s/@archdefs@/{ARCHDEFS}/
13 # No PIC foolery in this environment.
14 /@ALLLIBS@/s/@ALLLIBS@/{TARGETLIB}/
15 /@PICLIST@/s/@PICLIST@//
16 /@PICFLAG@/s/@PICFLAG@//
17 /^{OFILES} \\Option-f stamp-picdir/,/^$/d
19 # Remove the pic trickery from the default build rule.
20 /^\.c\.o \\Option-f /,/End If/c\
23 # Remove pic trickery from other rules - aimed at the rule
24 # for disassemble.o in particular.
25 /-n "{PICFLAG}"/,/End If/d