* config/m68k/xm-mpw.h (spin.h): Include.

(ALMOST_STDC): Only define if MPW_C.
	* config/m68k/tm-mac.h: New file, Mac target definitions.
This commit is contained in:
Stan Shebs 1994-12-14 01:00:17 +00:00
parent 9529275a91
commit a2905ef89e
4 changed files with 31 additions and 1 deletions

View File

@ -1,5 +1,9 @@
Tue Dec 13 16:32:09 1994 Stan Shebs <shebs@andros.cygnus.com>
* config/m68k/xm-mpw.h (spin.h): Include.
(ALMOST_STDC): Only define if MPW_C.
* config/m68k/tm-mac.h: New file, Mac target definitions.
* mpw-config.in (m68k-apple-macos, ppc-apple-macos,
i386-unknown-aout): New targets.
(mk.tmp): Add *DEPFILES definitions.

View File

@ -15,7 +15,7 @@
Do-first:
mpw_files="xm-mpw.h"
mpw_files="xm-mpw.h tm-mac.h"
if ( echo $* | grep keep\-mpw > /dev/null ) ; then
keep_these_too="${mpw_files}"

20
gdb/config/m68k/tm-mac.h Normal file
View File

@ -0,0 +1,20 @@
/* Target-dependent definitions for Mac running MacOS.
Copyright (C) 1994 Free Software Foundation, Inc.
This file is part of GDB.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "m68k/tm-m68k.h"

View File

@ -21,8 +21,12 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "fopen-bin.h"
#include "spin.h"
#define CANT_FORK
#ifdef MPW_C
/* MPW C is basically ANSI, but doesn't actually enable __STDC__,
nor does it allow __STDC__ to be #defined. */
@ -30,6 +34,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#define ALMOST_STDC
#endif
#endif /* MPW_C */
#ifdef BFD_TRUE_FALSE
#ifndef false
#define false mpw_false