1 # Configuration fragment for opcodes.
3 forward-include "{srcroot}"bfd:hosts:mpw.h sysdep.h
7 Set target_arch `echo {target_canonical} | sed -e 's/-.*-.*//'`
9 If "{target_arch}" =~ /m68k/
10 Set BFD_MACHINES '"{o}"m68k-dis.c.o'
11 Set archname ARCH_m68k
12 Else If "{target_arch}" =~ /mips/
13 Set BFD_MACHINES '"{o}"mips-dis.c.o "{o}"mips-opc.c.o'
14 Set archname ARCH_mips
15 Else If "{target_arch}" =~ /powerpc/
16 Set BFD_MACHINES '"{o}"ppc-dis.c.o "{o}"ppc-opc.c.o'
17 Set archname ARCH_powerpc
18 Else If "{target_arch}" =~ /sparc/
19 Set BFD_MACHINES '"{o}"sparc-dis.c.o "{o}"sparc-opc.c.o'
20 Set archname ARCH_sparc