aboutsummaryrefslogtreecommitdiff
path: root/gdb/mpw-config.in
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1994-12-14 00:47:32 +0000
committerStan Shebs <shebs@codesourcery.com>1994-12-14 00:47:32 +0000
commit3bf210840fe0b68c0f1b409f5fa727cc98cf8e5a (patch)
treea2b8298f7c33895f25139c262e04e86756a270e3 /gdb/mpw-config.in
parent070ac727960de3a5aef5b6f4c01c24d83c30a1f4 (diff)
downloadgdb-3bf210840fe0b68c0f1b409f5fa727cc98cf8e5a.zip
gdb-3bf210840fe0b68c0f1b409f5fa727cc98cf8e5a.tar.gz
gdb-3bf210840fe0b68c0f1b409f5fa727cc98cf8e5a.tar.bz2
* mpw-config.in (m68k-apple-macos, ppc-apple-macos,
i386-unknown-aout): New targets. (mk.tmp): Add *DEPFILES definitions. * mpw-make.in: Remove gC rules, clean up definitions for other include files, bump version, fix bogus \ that should be \Option-d. (init.c): Build correctly. (mpw-init.c): Remove.
Diffstat (limited to 'gdb/mpw-config.in')
-rw-r--r--gdb/mpw-config.in25
1 files changed, 23 insertions, 2 deletions
diff --git a/gdb/mpw-config.in b/gdb/mpw-config.in
index 574a583..758c652 100644
--- a/gdb/mpw-config.in
+++ b/gdb/mpw-config.in
@@ -13,13 +13,27 @@ Duplicate -y "{MPW}"Interfaces:CIncludes:Serial.h MacSerial.h
Echo "/* dummy */" >termio.h
-If "{target_canonical}" =~ /mips-idt-ecoff/
+If "{target_canonical}" =~ /m68k-apple-macos/
+ forward-include "{srcdir}"config:m68k:tm-mac.h tm.h
+
+ forward-include "{srcdir}"config:m68k:tm-m68k.h 'm68k/tm-m68k.h'
+
+ Set tdepfiles '"{o}"m68k-pinsn.c.o "{o}"m68k-tdep.c.o'
+Else If "{target_canonical}" =~ /ppc-apple-macos/
+ forward-include "{srcdir}"config:powerpc:tm-ppc.h tm.h
+
+ Set tdepfiles '"{o}"ppc-tdep.c.o'
+Else If "{target_canonical}" =~ /i386-unknown-aout/
+ forward-include "{srcdir}"config:i386:tm-i386.h tm.h
+
+ Set tdepfiles '"{o}"i386-tdep.c.o'
+Else If "{target_canonical}" =~ /mips-idt-ecoff/
forward-include "{srcdir}"config:mips:tm-idt.h tm.h
forward-include "{srcdir}"config:mips:tm-bigmips.h 'mips/tm-bigmips.h'
forward-include "{srcdir}"config:mips:tm-mips.h 'mips/tm-mips.h'
- Set tdepfiles '"{o}"mips-pinsn.c.o "{o}"mips-tdep.c.o "{o}"exec.c.o "{o}"remote-mips.c.o'
+ Set tdepfiles '"{o}"mips-pinsn.c.o "{o}"mips-tdep.c.o "{o}"remote-mips.c.o'
End If
If "{target_canonical}" != "{host_canonical}"
@@ -27,3 +41,10 @@ If "{target_canonical}" != "{host_canonical}"
Set natdepfiles " "
End If
+Echo '# From mpw-config.in' > "{o}"mk.tmp
+
+Echo "TDEPFILES = " {tdepfiles} >> "{o}"mk.tmp
+Echo "XDEPFILES = " {xdepfiles} >> "{o}"mk.tmp
+Echo "NATDEPFILES = " {nat_file} >> "{o}"mk.tmp
+
+Echo '# End from mpw-config.in' >> "{o}"mk.tmp