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,
24 tell me. --steve@cygnus.com */
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
50 #define PROTO(type, name, arglist) type name arglist
52 #define PROTO(type, name, arglist) type name ()
57 #define HOST_SYS = Hey_you_HOST_SYS_has_not_been_defined.
60 #if HOST_SYS==SUN4_SYS
61 #define HOST_IS_SUN4 1
62 #include <sys/h-sun4.h>
65 #if HOST_SYS==DGUX_SYS
66 #include <sys/h-dgux.h>
69 #if HOST_SYS==POSIX_SYS
70 #define HOST_IS_POSIX 1
75 #include <sys/h-rs6000.h>
78 #if HOST_SYS==VAX_ULTRIX_SYS
79 #define HOST_IS_VAX_ULTRIX 1
80 #include <sys/h-vaxult.h>
83 #if HOST_SYS==i386_SYSV_SYS
84 #define HOST_IS_i386_SYSV 1
86 #include <sys/h-i386v.h>
89 #if HOST_SYS==SUN3_SYS
90 #define HOST_IS_SUN3 1
91 #include <sys/h-sun3.h>
94 #if HOST_SYS==DEC3100_SYS
95 #define HOST_IS_DEC3100 1
96 #include <sys/h-dec3100.h>
99 #if HOST_SYS==HP9000_SYS
100 #define HOST_IS_HP9000 1
102 #include <sys/h-hp9000.h>
104 #if HOST_SYS==APOLLO400_SYS
105 #define HOST_IS_APOLLO400 1
106 #include <sys/h-ap400.h>
109 #if HOST_SYS==DOS_SYS
110 #define HOST_IS_DOS 1
111 #include <sys/h_dos.h>