* defs.h (ATTR_FORMAT): Disable if ANSI_PROTOTYPES is not defined.
[deliverable/binutils-gdb.git] / opcodes / mpw-config.in
1 # Configuration fragment for opcodes.
2
3 forward-include "{srcroot}"bfd:hosts:mpw.h sysdep.h
4
5 Set target_arch `echo {target_canonical} | sed -e 's/-.*-.*//'`
6
7 Set archname ARCH_{target_arch}
8
9 If "{target_arch}" =~ /m68k/
10 Set BFD_MACHINES '"{o}"m68k-dis.c.o'
11 Else If "{target_arch}" =~ /powerpc/
12 Set BFD_MACHINES '"{o}"ppc-dis.c.o "{o}"ppc-opc.c.o'
13 Else If "{target_arch}" =~ /i386/
14 Set BFD_MACHINES '"{o}"i386-dis.c.o'
15 Else If "{target_arch}" =~ /mips/
16 Set BFD_MACHINES '"{o}"mips-dis.c.o "{o}"mips-opc.c.o'
17 Else If "{target_arch}" =~ /sh/
18 Set BFD_MACHINES '"{o}"sh-dis.c.o'
19 End If
20
21 Echo '# Start from mpw-config.in' > "{o}"mk.tmp
22
23 Echo "BFD_MACHINES = " {BFD_MACHINES} >> "{o}"mk.tmp
24
25 Echo "ARCHDEFS = -d" {archname} >> "{o}"mk.tmp
26
27 Echo '# End from mpw-config.in' >> "{o}"mk.tmp
This page took 0.029678 seconds and 4 git commands to generate.