aboutsummaryrefslogtreecommitdiff
path: root/gdb/mpw-config.in
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1994-09-13 00:50:38 +0000
committerStan Shebs <shebs@codesourcery.com>1994-09-13 00:50:38 +0000
commit2ff6b38acb8cc82e3b577f0f42b98735feb821c3 (patch)
tree39ffd1c78fe7d5e5b3cac01be4e540918d2c3f0b /gdb/mpw-config.in
parent177941a1c9082f3922f3a9ccb7e254ca9bd79e2f (diff)
downloadgdb-2ff6b38acb8cc82e3b577f0f42b98735feb821c3.zip
gdb-2ff6b38acb8cc82e3b577f0f42b98735feb821c3.tar.gz
gdb-2ff6b38acb8cc82e3b577f0f42b98735feb821c3.tar.bz2
Merge supposedly (but not really) GM-specific bits into general MPW config
Diffstat (limited to 'gdb/mpw-config.in')
-rw-r--r--gdb/mpw-config.in19
1 files changed, 15 insertions, 4 deletions
diff --git a/gdb/mpw-config.in b/gdb/mpw-config.in
index d6da2ba..574a583 100644
--- a/gdb/mpw-config.in
+++ b/gdb/mpw-config.in
@@ -4,6 +4,8 @@ forward-include "{srcdir}"config:m68k:xm-mpw.h xm.h
forward-include "{srcdir}"config:m68k:xm-m68k.h 'm68k/xm-m68k.h'
+Set xdepfiles '"{o}"mac-xdep.c.o'
+
# Make a copy of this file and give it a different name, so it
# won't be confused with GDB's serial.h.
@@ -11,8 +13,17 @@ Duplicate -y "{MPW}"Interfaces:CIncludes:Serial.h MacSerial.h
Echo "/* dummy */" >termio.h
-Set xdepfiles " "
-Set natdepfiles " "
-Set tdepfiles " "
+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'
+End If
+
+If "{target_canonical}" != "{host_canonical}"
+ forward-include "{srcdir}"config:nm-empty.h nm.h
+ Set natdepfiles " "
+End If
-Set xm_file '"{s}"xm-mpw.h'