* 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.
This commit is contained in:
Stan Shebs
1995-12-12 02:35:27 +00:00
parent 1f43e1dd51
commit c148ab3c6d
11 changed files with 527 additions and 10 deletions

View File

@@ -5,13 +5,45 @@
#include "mac-defs.h"
/* Version resources. */
resource 'vers' (1) {
0x02, 0x00, release, 0x00,
0,
0,
0,
0,
verUS,
"4.12.3",
"4.12.3, Copyright \251 1994 Free Software Foundation, Inc."
VERSION_STRING,
VERSION_STRING " (C) 1986-95 FSF, Inc."
};
resource 'vers' (2, purgeable) {
0,
0,
0,
0,
verUs,
VERSION_STRING,
"GDB " VERSION_STRING " for MPW"
};
#ifdef WANT_CFRG
#include "CodeFragmentTypes.r"
resource 'cfrg' (0) {
{
kPowerPC,
kFullLib,
kNoVersionNum, kNoVersionNum,
0, 0,
kIsApp, kOnDiskFlat, kZeroOffset, kWholeFork,
PROG_NAME
}
};
#endif /* WANT_CFRG */
#ifdef Macgdb /* Exclude the following from SIOWgdb which uses SIOW.r. */
resource 'MBAR' (128) {