]> Git Repo - binutils.git/blob - include/sysdep.h
Eliminate normal-COFF things from ecoff.h that are really not present in
[binutils.git] / include / sysdep.h
1 /* Copyright (C) 1990, 1991 Free Software Foundation, Inc.
2
3 This file is part of BFD, the Binary File Diddler.
4
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)
8 any later version.
9
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.
14
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.  */
18
19 /* All the system include files boiled into one place. 
20
21    One day, everyone will have the same set of include files..
22
23    This is ugly, but if you can think of a better way of doing this,
24    tell me.  [email protected] */
25
26 #ifndef _SYSDEP_H
27 #define _SYSDEP_H
28
29 /*
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.
33  */
34
35 #define SUN4_SYS 2
36 #define POSIX_SYS 3
37 #define AIX_SYS 4
38 #define VAX_ULTRIX_SYS 5
39 #define i386_SYSV_SYS 6
40 #define SUN3_SYS 7
41 #define UNKNOWN_SYS 8
42 #define DGUX_SYS 9
43 #define DEC3100_SYS 10
44 #define HP9000_SYS 11
45 #define APOLLO400_SYS 12
46 #define DOS_SYS 13
47 #define VAX_BSD_SYS 14
48 #define TAHOE_BSD_SYS 15
49 #define RTBSD_SYS 16  /* IBM RT/PC running bsd Unix */
50
51 #include <ansidecl.h>
52
53 #if __STDC__
54 #define PROTO(type, name, arglist) type name arglist
55 #else
56 #define PROTO(type, name, arglist) type name ()
57 #define NO_STDARG
58 #endif
59
60 #ifndef HOST_SYS
61 #define HOST_SYS = Hey_you_HOST_SYS_has_not_been_defined.
62 #endif
63
64 #if HOST_SYS==SUN4_SYS
65 #define HOST_IS_SUN4 1
66 #include <sys/h-sun4.h>
67 #endif
68
69 #if HOST_SYS==DGUX_SYS
70 #include <sys/h-dgux.h>
71 #endif
72
73 #if HOST_SYS==POSIX_SYS
74 #define HOST_IS_POSIX 1
75 #endif 
76
77 #if HOST_SYS==AIX_SYS
78 #define HOST_IS_AIX 1
79 #include <sys/h-rs6000.h>
80 #endif
81
82 #if HOST_SYS==VAX_ULTRIX_SYS
83 #define HOST_IS_VAX_ULTRIX 1
84 #include <sys/h-vaxult.h>
85 #endif
86
87 #if HOST_SYS==i386_SYSV_SYS
88 #define HOST_IS_i386_SYSV 1
89 #define USG 
90 #include <sys/h-i386v.h>
91 #endif
92
93 #if HOST_SYS==SUN3_SYS
94 #define HOST_IS_SUN3 1
95 #include <sys/h-sun3.h>
96 #endif
97
98 #if HOST_SYS==DEC3100_SYS
99 #define HOST_IS_DEC3100 1
100 #include <sys/h-dec3100.h>
101 #endif
102
103 #if HOST_SYS==HP9000_SYS
104 #define HOST_IS_HP9000 1
105 #define USG 
106 #include <sys/h-hp9000.h>
107 #endif
108 #if HOST_SYS==APOLLO400_SYS
109 #define HOST_IS_APOLLO400 1
110 #include <sys/h-ap400.h>
111 #endif
112  
113 #if HOST_SYS==DOS_SYS
114 #define HOST_IS_DOS 1
115 #include <sys/h_dos.h>
116 #endif
117
118 #if HOST_SYS == VAX_BSD_SYS
119 #include <sys/h-vaxbsd.h>
120 #endif
121
122 #if HOST_SYS == TAHOE_BSD_SYS
123 #include <sys/h-tahoebsd.h>
124 #endif
125
126 #if HOST_SYS == RTBSD_SYS       
127 #include <sys/h-rtbsd.h>
128 #endif
129
130 #endif 
This page took 0.029546 seconds and 4 git commands to generate.