]>
Commit | Line | Data |
---|---|---|
cf9dcb11 SS |
1 | # Sed commands to finish translating the opcodes Makefile.in into MPW syntax. |
2 | ||
3 | # Empty HDEFINES. | |
4 | /HDEFINES/s/@HDEFINES@// | |
5 | ||
6 | /INCDIR=/s/"{srcdir}":/"{topsrcdir}"/ | |
7 | /^CSEARCH = .*$/s/$/ -i "{INCDIR}":mpw: -i ::extra-include:/ | |
8 | /BFD_MACHINES/s/@BFD_MACHINES@/{BFD_MACHINES}/ | |
9 | /archdefs/s/@archdefs@/{ARCHDEFS}/ | |
c8f388e7 SS |
10 | |
11 | # No PIC foolery in this environment. | |
12 | /@ALLLIBS@/s/@ALLLIBS@/{TARGETLIB}/ | |
13 | /@PICLIST@/s/@PICLIST@// | |
14 | /@PICFLAG@/s/@PICFLAG@// | |
15 | /^{OFILES} \\Option-f stamp-picdir/,/^$/d | |
16 | ||
17 | # Remove the pic trickery from the default build rule. | |
18 | /^\.c\.o \\Option-f /,/End If/c\ | |
19 | .c.o \\Option-f .c | |
20 | ||
21 | # Remove pic trickery from other rules - aimed at the rule | |
22 | # for disassemble.o in particular. | |
23 | /-n "{PICFLAG}"/,/End If/d |