* v850-opc.c (v850_opcodes): Correct short store half (sst.h) and
[deliverable/binutils-gdb.git] / opcodes / mpw-config.in
CommitLineData
e7c4e61c
SS
1# Configuration fragment for opcodes.
2
67c2d8c8
SS
3Set target_arch `echo {target_canonical} | sed -e 's/-.*-.*//'`
4
d3d74a94
SS
5Set archname ARCH_{target_arch}
6
67c2d8c8 7If "{target_arch}" =~ /m68k/
cf9dcb11 8 Set BFD_MACHINES '"{o}"m68k-dis.c.o "{o}"m68k-opc.c.o'
67c2d8c8 9Else If "{target_arch}" =~ /powerpc/
0d0c3cc5 10 Set BFD_MACHINES '"{o}"ppc-dis.c.o "{o}"ppc-opc.c.o'
6efe6dc5
SS
11Else If "{target_arch}" =~ /i386/
12 Set BFD_MACHINES '"{o}"i386-dis.c.o'
d3d74a94
SS
13Else If "{target_arch}" =~ /mips/
14 Set BFD_MACHINES '"{o}"mips-dis.c.o "{o}"mips-opc.c.o'
6efe6dc5
SS
15Else If "{target_arch}" =~ /sh/
16 Set BFD_MACHINES '"{o}"sh-dis.c.o'
67c2d8c8 17End If
d3d74a94 18
cf9dcb11
SS
19Echo '# Start from mpw-config.in' > "{o}"mk.tmp
20Echo "BFD_MACHINES = " {BFD_MACHINES} >> "{o}"mk.tmp
21Echo "ARCHDEFS = -d" {archname} >> "{o}"mk.tmp
22Echo '# End from mpw-config.in' >> "{o}"mk.tmp
23
24Echo '/* config.h. Generated by mpw-configure. */' > "{o}"config.new
25Echo '#include "mpw.h"' >> "{o}"config.new
d3d74a94 26
cf9dcb11 27MoveIfChange "{o}"config.new "{o}"config.h
This page took 0.098262 seconds and 4 git commands to generate.