* Makefile.in: Regenerate.
[binutils.git] / opcodes / mpw-make.sed
blobee604862de69648a2648fc0edac32f5e615b1c25
1 # Sed commands to finish translating the opcodes Makefile.in into MPW syntax.
3 # Empty HDEFINES.
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\
21 .c.o \\Option-f .c
23 # Remove pic trickery from other rules - aimed at the rule
24 # for disassemble.o in particular.
25 /-n "{PICFLAG}"/,/End If/d