diff options
author | Stan Shebs <shebs@codesourcery.com> | 1994-06-08 01:53:20 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 1994-06-08 01:53:20 +0000 |
commit | 67c2d8c8d7c87ea3282512ecb500f401557f6d6e (patch) | |
tree | 02d3cf8e2a6da516ff94b2e3f45cd68e31c64a72 /opcodes/mpw-config.in | |
parent | 39cc6dae28888be1ba88c8d5c4f3e75ac24e3825 (diff) | |
download | gdb-67c2d8c8d7c87ea3282512ecb500f401557f6d6e.zip gdb-67c2d8c8d7c87ea3282512ecb500f401557f6d6e.tar.gz gdb-67c2d8c8d7c87ea3282512ecb500f401557f6d6e.tar.bz2 |
Tue Jun 7 18:45:39 1994 Stan Shebs (shebs@andros.cygnus.com)
* mpw-config.in (target_arch): Compute from canonical target.
(m68k, mips, powerpc, sparc): Add architectures.
* mpw-make.in (disassemble.c.o): Add.
(ALL_CFLAGS): Remove special flags (-mc68020 -mc68881 -model far).
Diffstat (limited to 'opcodes/mpw-config.in')
-rw-r--r-- | opcodes/mpw-config.in | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/opcodes/mpw-config.in b/opcodes/mpw-config.in index b18d4c0..635076f 100644 --- a/opcodes/mpw-config.in +++ b/opcodes/mpw-config.in @@ -3,3 +3,19 @@ forward-include "{srcroot}"bfd:hosts:mpw.h sysdep.h Set BFD_MACHINES " " + +Set target_arch `echo {target_canonical} | sed -e 's/-.*-.*//'` + +If "{target_arch}" =~ /m68k/ + Set BFD_MACHINES '"{o}"m68k-dis.c.o' + Set archname ARCH_m68k +Else If "{target_arch}" =~ /mips/ + Set BFD_MACHINES '"{o}"mips-dis.c.o "{o}"mips-opc.c.o' + Set archname ARCH_mips +Else If "{target_arch}" =~ /powerpc/ + Set BFD_MACHINES '"{o}"ppc-dis.c.o "{o}"ppc-opc.c.o' + Set archname ARCH_powerpc +Else If "{target_arch}" =~ /sparc/ + Set BFD_MACHINES '"{o}"sparc-dis.c.o "{o}"sparc-opc.c.o' + Set archname ARCH_sparc +End If |