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