diff options
author | Stan Shebs <shebs@codesourcery.com> | 1995-12-12 02:35:27 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 1995-12-12 02:35:27 +0000 |
commit | c148ab3c6d9bde57c23eb2d64184f89677ea110b (patch) | |
tree | 761386b32ba606454826dcbc36d1e0decdaf410a /gdb/mpw-config.in | |
parent | 1f43e1dd51a810225b3a38a47feffaad40599098 (diff) | |
download | gdb-c148ab3c6d9bde57c23eb2d64184f89677ea110b.zip gdb-c148ab3c6d9bde57c23eb2d64184f89677ea110b.tar.gz gdb-c148ab3c6d9bde57c23eb2d64184f89677ea110b.tar.bz2 |
* configure.in (powerpc-*-macos*): New target configuration.
* configure: Update.
* config/powerpc/macos.mh, config/powerpc/macos.mt,
config/powerpc/nm-macos.h, config/powerpc/tm-macos.h, mac-nat.c:
New files, native PowerMac debugging support.
* Makefile.in (mac-nat.o): Add build rule.
* mpw-config.in (enable_cflags): Add support.
(m68k-apple-macos, powerpc-apple-macos): Fix natdepfiles to
list object file instead of source file.
* mpw-make.sed (@ENABLE_CFLAGS@): Don't edit out, replace with
value of variable.
(install, install-only): Edit MPW-specific installation into
place of Unix shell code.
* mac-gdb.r: Fix version resources to use symbolic version strings.
(cfrg): New resource, code fragment for PowerMac.
Diffstat (limited to 'gdb/mpw-config.in')
-rw-r--r-- | gdb/mpw-config.in | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/gdb/mpw-config.in b/gdb/mpw-config.in index 8261a3d..a969eab 100644 --- a/gdb/mpw-config.in +++ b/gdb/mpw-config.in @@ -12,6 +12,8 @@ End If Set xdepfiles '"{o}"mac-xdep.c.o' +Set enable_cflags "" + # Make a copy of this file and give it a different name, so it # won't be confused with GDB's serial.h. @@ -34,11 +36,24 @@ Else If "{target_canonical}" =~ /i386-unknown-go32/ 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-embed.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-tdep.c.o "{o}"remote-mips.c.o' +# start-sanitize-gm +Else If "{target_canonical}" =~ /mips-gm-magic/ + forward-include "{srcdir}"config:mips:tm-embed.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-tdep.c.o "{o}"remote-mips.c.o "{o}"magic.c.o' + If {host_cc} =~ /gcc/ + Set enable_cflags '-DGENERAL_MAGIC' + Else + Set enable_cflags '-d GENERAL_MAGIC' + End If +# end-sanitize-gm + Else If "{target_canonical}" =~ /sh-hitachi-hms/ forward-include "{srcdir}"config:sh:tm-sh.h tm.h Set tdepfiles '"{o}"sh-tdep.c.o' @@ -47,11 +62,11 @@ End If If "{target_canonical}" =~ /m68k-apple-macos/ forward-include "{srcdir}"config:m68k:nm-macos.h nm.h - Set natdepfiles '"{o}"mac-nat.c' + Set natdepfiles '"{o}"mac-nat.c.o' Else If "{target_canonical}" =~ /powerpc-apple-macos/ forward-include "{srcdir}"config:powerpc:nm-macos.h nm.h - Set natdepfiles '"{o}"mac-nat.c' + Set natdepfiles '"{o}"mac-nat.c.o' Else forward-include "{srcdir}"config:nm-empty.h nm.h @@ -70,6 +85,7 @@ Echo "XM_CDEPS = " >> "{o}"mk.tmp Echo "TM_CDEPS = " >> "{o}"mk.tmp Echo "NAT_CDEPS = " >> "{o}"mk.tmp Echo "SIOW_LIB = " {siow_lib} >> "{o}"mk.tmp +Echo "ENABLE_CFLAGS = " {enable_cflags} >> "{o}"mk.tmp Echo '# End from mpw-config.in' >> "{o}"mk.tmp Echo '/* config.h. Generated by mpw-configure. */' > "{o}"config.new |