* bfd.c (_bfd_default_error_handler): If _bfd_error_program_name
[deliverable/binutils-gdb.git] / opcodes / mpw-make.sed
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}/
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
This page took 0.029466 seconds and 4 git commands to generate.