1 /* Copyright (C) 1990, 1991 Free Software Foundation, Inc.
3 This file is part of BFD, the Binary File Diddler.
5 BFD is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 1, or (at your option)
10 BFD is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with BFD; see the file COPYING. If not, write to
17 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
19 /* All the system include files boiled into one place.
21 One day, everyone will have the same set of include files..
23 This is ugly, but if you can think of a better way of doing this,
30 The including makefile must define HOST_SYS to be one of these.
31 Each combination of Machine and OS (and maybe OS Version) must
32 have a different number.
38 #define VAX_ULTRIX_SYS 5
39 #define i386_SYSV_SYS 6
43 #define DEC3100_SYS 10
45 #define APOLLO400_SYS 12
47 #define VAX_BSD_SYS 14
48 #define TAHOE_BSD_SYS 15
49 #define RTBSD_SYS 16 /* IBM RT/PC running bsd Unix */
54 #define PROTO(type, name, arglist) type name arglist
56 #define PROTO(type, name, arglist) type name ()
61 #define HOST_SYS = Hey_you_HOST_SYS_has_not_been_defined.
64 #if HOST_SYS==SUN4_SYS
65 #define HOST_IS_SUN4 1
66 #include <sys/h-sun4.h>
69 #if HOST_SYS==DGUX_SYS
70 #include <sys/h-dgux.h>
73 #if HOST_SYS==POSIX_SYS
74 #define HOST_IS_POSIX 1
79 #include <sys/h-rs6000.h>
82 #if HOST_SYS==VAX_ULTRIX_SYS
83 #define HOST_IS_VAX_ULTRIX 1
84 #include <sys/h-vaxult.h>
87 #if HOST_SYS==i386_SYSV_SYS
88 #define HOST_IS_i386_SYSV 1
90 #include <sys/h-i386v.h>
93 #if HOST_SYS==SUN3_SYS
94 #define HOST_IS_SUN3 1
95 #include <sys/h-sun3.h>
98 #if HOST_SYS==DEC3100_SYS
99 #define HOST_IS_DEC3100 1
100 #include <sys/h-dec3100.h>
103 #if HOST_SYS==HP9000_SYS
104 #define HOST_IS_HP9000 1
106 #include <sys/h-hp9000.h>
108 #if HOST_SYS==APOLLO400_SYS
109 #define HOST_IS_APOLLO400 1
110 #include <sys/h-ap400.h>
113 #if HOST_SYS==DOS_SYS
114 #define HOST_IS_DOS 1
115 #include <sys/h_dos.h>
118 #if HOST_SYS == VAX_BSD_SYS
119 #include <sys/h-vaxbsd.h>
122 #if HOST_SYS == TAHOE_BSD_SYS
123 #include <sys/h-tahoebsd.h>
126 #if HOST_SYS == RTBSD_SYS
127 #include <sys/h-rtbsd.h>