1 /* All the system include files boiled into one place (sort of).
2 Copyright 1990, 1991 Free Software Foundation, Inc.
3 Contributed by Cygnus Support.
5 This file is part of BFD and the GNU Binutils. Please don't use it for
6 other programs; better configuration mechanisms than this are needed.
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2 of the License, or
11 (at your option) any later version.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
22 /* All the system include files boiled into one place.
24 One day, everyone will have the same set of include files..
26 This is ugly, but if you can think of a better way of doing this,
27 tell me. --steve@cygnus.com */
33 The including makefile must define HOST_SYS to be one of these.
34 Each combination of Machine and OS (and maybe OS Version) must
35 have a different number.
41 #define VAX_ULTRIX_SYS 5
42 #define i386_SYSV_SYS 6
46 #define DEC3100_SYS 10
48 #define APOLLO400_SYS 12
50 #define VAX_BSD_SYS 14
51 #define TAHOE_BSD_SYS 15
52 #define RTBSD_SYS 16 /* IBM RT/PC running bsd Unix */
53 #define HP300BSD_SYS 17
58 #define PROTO(type, name, arglist) type name arglist
60 #define PROTO(type, name, arglist) type name ()
65 #define HOST_SYS = Hey_you_HOST_SYS_has_not_been_defined.
68 #if HOST_SYS==SUN4_SYS
69 #define HOST_IS_SUN4 1
70 #include <sys/h-sun4.h>
73 #if HOST_SYS==DGUX_SYS
74 #include <sys/h-dgux.h>
77 #if HOST_SYS==POSIX_SYS
78 #define HOST_IS_POSIX 1
83 #include <sys/h-rs6000.h>
86 #if HOST_SYS==VAX_ULTRIX_SYS
87 #define HOST_IS_VAX_ULTRIX 1
88 #include <sys/h-vaxult.h>
91 #if HOST_SYS==i386_SYSV_SYS
92 #define HOST_IS_i386_SYSV 1
94 #include <sys/h-i386v.h>
97 #if HOST_SYS==SUN3_SYS
98 #define HOST_IS_SUN3 1
99 #include <sys/h-sun3.h>
102 #if HOST_SYS==DEC3100_SYS
103 #define HOST_IS_DEC3100 1
104 #include <sys/h-dec3100.h>
107 #if HOST_SYS==HP9000_SYS
108 #define HOST_IS_HP9000 1
110 #include <sys/h-hp9000.h>
113 #if HOST_SYS==APOLLO400_SYS
114 #define HOST_IS_APOLLO400 1
115 #include <sys/h-ap400.h>
118 #if HOST_SYS==DOS_SYS
119 #define HOST_IS_DOS 1
120 #include <sys/h_dos.h>
123 #if HOST_SYS == VAX_BSD_SYS
124 #include <sys/h-vaxbsd.h>
127 #if HOST_SYS == TAHOE_BSD_SYS
128 #include <sys/h-tahoebsd.h>
131 #if HOST_SYS == RTBSD_SYS
132 #include <sys/h-rtbsd.h>
135 #if HOST_SYS == HP300BSD_SYS
136 #include <sys/h-hp300bsd.h>