1991-07-25 00:48:28 +00:00
|
|
|
/* All the system include files boiled into one place (sort of).
|
|
|
|
Copyright 1990, 1991 Free Software Foundation, Inc.
|
|
|
|
Contributed by Cygnus Support.
|
1991-04-25 04:20:11 +00:00
|
|
|
|
1991-07-25 00:48:28 +00:00
|
|
|
This file is part of BFD and the GNU Binutils. Please don't use it for
|
|
|
|
other programs; better configuration mechanisms than this are needed.
|
1991-04-25 04:20:11 +00:00
|
|
|
|
1991-07-25 00:48:28 +00:00
|
|
|
This program is free software; you can redistribute it and/or modify
|
1991-04-25 04:20:11 +00:00
|
|
|
it under the terms of the GNU General Public License as published by
|
1991-07-25 00:48:28 +00:00
|
|
|
the Free Software Foundation; either version 2 of the License, or
|
|
|
|
(at your option) any later version.
|
1991-04-25 04:20:11 +00:00
|
|
|
|
1991-07-25 00:48:28 +00:00
|
|
|
This program is distributed in the hope that it will be useful,
|
1991-04-25 04:20:11 +00:00
|
|
|
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
|
1991-07-25 00:48:28 +00:00
|
|
|
along with this program; if not, write to the Free Software
|
|
|
|
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
1991-04-25 04:20:11 +00:00
|
|
|
|
|
|
|
/* All the system include files boiled into one place.
|
|
|
|
|
|
|
|
One day, everyone will have the same set of include files..
|
|
|
|
|
|
|
|
This is ugly, but if you can think of a better way of doing this,
|
1991-05-02 02:52:21 +00:00
|
|
|
tell me. --steve@cygnus.com */
|
1991-04-25 04:20:11 +00:00
|
|
|
|
|
|
|
#ifndef _SYSDEP_H
|
|
|
|
#define _SYSDEP_H
|
|
|
|
|
|
|
|
/*
|
|
|
|
The including makefile must define HOST_SYS to be one of these.
|
|
|
|
Each combination of Machine and OS (and maybe OS Version) must
|
|
|
|
have a different number.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#define SUN4_SYS 2
|
|
|
|
#define POSIX_SYS 3
|
|
|
|
#define AIX_SYS 4
|
|
|
|
#define VAX_ULTRIX_SYS 5
|
|
|
|
#define i386_SYSV_SYS 6
|
|
|
|
#define SUN3_SYS 7
|
|
|
|
#define UNKNOWN_SYS 8
|
|
|
|
#define DGUX_SYS 9
|
|
|
|
#define DEC3100_SYS 10
|
|
|
|
#define HP9000_SYS 11
|
1991-05-18 02:57:45 +00:00
|
|
|
#define APOLLO400_SYS 12
|
|
|
|
#define DOS_SYS 13
|
1991-05-19 22:30:22 +00:00
|
|
|
#define VAX_BSD_SYS 14
|
|
|
|
#define TAHOE_BSD_SYS 15
|
1991-07-15 23:41:06 +00:00
|
|
|
#define RTBSD_SYS 16 /* IBM RT/PC running bsd Unix */
|
1991-08-31 00:59:29 +00:00
|
|
|
#define IRIX3_SYS 17 /* SGI Iris running irix 3.x */
|
|
|
|
#define IRIX4_SYS 18 /* SGI Iris running cypress */
|
|
|
|
#define HP300BSD_SYS 19
|
1991-09-13 05:24:00 +00:00
|
|
|
#define ULTRA3_SYS 20 /* NYU Ultracomputer */
|
1991-09-30 19:54:08 +00:00
|
|
|
#define NEWSOS3_SYS 21 /* Sony NewsOS 3.x (bsd-4.3 based) */
|
1991-10-01 19:25:51 +00:00
|
|
|
#define AMIX_SYS 22 /* Amiga Unix */
|
1991-05-19 22:30:22 +00:00
|
|
|
|
1991-04-25 04:20:11 +00:00
|
|
|
#include <ansidecl.h>
|
|
|
|
|
|
|
|
#if __STDC__
|
|
|
|
#define PROTO(type, name, arglist) type name arglist
|
|
|
|
#else
|
|
|
|
#define PROTO(type, name, arglist) type name ()
|
|
|
|
#define NO_STDARG
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef HOST_SYS
|
|
|
|
#define HOST_SYS = Hey_you_HOST_SYS_has_not_been_defined.
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if HOST_SYS==SUN4_SYS
|
|
|
|
#define HOST_IS_SUN4 1
|
|
|
|
#include <sys/h-sun4.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if HOST_SYS==DGUX_SYS
|
|
|
|
#include <sys/h-dgux.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if HOST_SYS==POSIX_SYS
|
|
|
|
#define HOST_IS_POSIX 1
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if HOST_SYS==AIX_SYS
|
|
|
|
#define HOST_IS_AIX 1
|
|
|
|
#include <sys/h-rs6000.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if HOST_SYS==VAX_ULTRIX_SYS
|
|
|
|
#define HOST_IS_VAX_ULTRIX 1
|
|
|
|
#include <sys/h-vaxult.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if HOST_SYS==i386_SYSV_SYS
|
|
|
|
#define HOST_IS_i386_SYSV 1
|
|
|
|
#define USG
|
|
|
|
#include <sys/h-i386v.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if HOST_SYS==SUN3_SYS
|
|
|
|
#define HOST_IS_SUN3 1
|
|
|
|
#include <sys/h-sun3.h>
|
|
|
|
#endif
|
|
|
|
|
1991-09-30 19:54:08 +00:00
|
|
|
#if HOST_SYS==NEWSOS3_SYS
|
|
|
|
#define HOST_IS_SUN3 1 /* Lie - should be close enough */
|
|
|
|
#include <sys/h-sun3.h> /* Probably good enough */
|
|
|
|
#define MISSING_VFPRINTF
|
|
|
|
#endif
|
|
|
|
|
1991-04-25 04:20:11 +00:00
|
|
|
#if HOST_SYS==DEC3100_SYS
|
|
|
|
#define HOST_IS_DEC3100 1
|
|
|
|
#include <sys/h-dec3100.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if HOST_SYS==HP9000_SYS
|
|
|
|
#define HOST_IS_HP9000 1
|
|
|
|
#define USG
|
|
|
|
#include <sys/h-hp9000.h>
|
|
|
|
#endif
|
1991-07-25 00:48:28 +00:00
|
|
|
|
1991-05-18 02:57:45 +00:00
|
|
|
#if HOST_SYS==APOLLO400_SYS
|
|
|
|
#define HOST_IS_APOLLO400 1
|
|
|
|
#include <sys/h-ap400.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if HOST_SYS==DOS_SYS
|
|
|
|
#define HOST_IS_DOS 1
|
|
|
|
#include <sys/h_dos.h>
|
|
|
|
#endif
|
1991-04-25 04:20:11 +00:00
|
|
|
|
1991-05-19 22:30:22 +00:00
|
|
|
#if HOST_SYS == VAX_BSD_SYS
|
|
|
|
#include <sys/h-vaxbsd.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if HOST_SYS == TAHOE_BSD_SYS
|
|
|
|
#include <sys/h-tahoebsd.h>
|
|
|
|
#endif
|
|
|
|
|
1991-07-15 23:41:06 +00:00
|
|
|
#if HOST_SYS == RTBSD_SYS
|
|
|
|
#include <sys/h-rtbsd.h>
|
|
|
|
#endif
|
|
|
|
|
1991-08-31 00:59:29 +00:00
|
|
|
#if HOST_SYS == IRIX3_SYS
|
|
|
|
#include <sys/h-irix3.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if HOST_SYS == IRIX4_SYS
|
|
|
|
#include <sys/h-irix4.h>
|
|
|
|
#endif
|
|
|
|
|
1991-08-22 03:00:18 +00:00
|
|
|
#if HOST_SYS == HP300BSD_SYS
|
|
|
|
#include <sys/h-hp300bsd.h>
|
|
|
|
#endif
|
|
|
|
|
1991-09-13 05:24:00 +00:00
|
|
|
#if HOST_SYS == ULTRA3_SYS
|
* internalcoff.h (SYMNMLEN, FILNMLEN, DIMNUM): Define these
for internalcoff, separately from the various external coff's.
* amdcoff.h, bcs88kcoff.h, i386coff.h, intel-coff.h, m68kcoff.h,
m88k-bcs.h: Prefix SYMNMLEN, FILNMLEN, and DIMNUM with E_'s for
the external struct definitions.
* ecoff.h: Remove these #define's, kludge no longer needed.
1991-09-12 21:27:49 +00:00
|
|
|
#include <sys/h-ultra3.h>
|
|
|
|
#endif
|
|
|
|
|
1991-10-01 19:25:51 +00:00
|
|
|
#if HOST_SYS == AMIX_SYS
|
|
|
|
#include <sys/h-amix.h>
|
|
|
|
#endif
|
|
|
|
|
1991-08-31 00:59:29 +00:00
|
|
|
#endif /* _SYSDEP_H */
|