* Makefile.in: add target "binutils.ms"
[deliverable/binutils-gdb.git] / include / sysdep.h
CommitLineData
095c7223
JG
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.
a07cc613 4
095c7223
JG
5This file is part of BFD and the GNU Binutils. Please don't use it for
6other programs; better configuration mechanisms than this are needed.
a07cc613 7
095c7223 8This program is free software; you can redistribute it and/or modify
a07cc613 9it under the terms of the GNU General Public License as published by
095c7223
JG
10the Free Software Foundation; either version 2 of the License, or
11(at your option) any later version.
a07cc613 12
095c7223 13This program is distributed in the hope that it will be useful,
a07cc613
JG
14but WITHOUT ANY WARRANTY; without even the implied warranty of
15MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16GNU General Public License for more details.
17
18You should have received a copy of the GNU General Public License
095c7223
JG
19along with this program; if not, write to the Free Software
20Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
a07cc613 21
a07cc613
JG
22/* All the system include files boiled into one place.
23
24 One day, everyone will have the same set of include files..
25
26 This is ugly, but if you can think of a better way of doing this,
9c6a9c92 27 tell me. --steve@cygnus.com */
a07cc613
JG
28
29#ifndef _SYSDEP_H
30#define _SYSDEP_H
31
32/*
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.
36 */
37
38#define SUN4_SYS 2
39#define POSIX_SYS 3
40#define AIX_SYS 4
41#define VAX_ULTRIX_SYS 5
42#define i386_SYSV_SYS 6
43#define SUN3_SYS 7
44#define UNKNOWN_SYS 8
45#define DGUX_SYS 9
46#define DEC3100_SYS 10
47#define HP9000_SYS 11
19b03b7a
SC
48#define APOLLO400_SYS 12
49#define DOS_SYS 13
1ccc2d06
JG
50#define VAX_BSD_SYS 14
51#define TAHOE_BSD_SYS 15
a737c70b 52#define RTBSD_SYS 16 /* IBM RT/PC running bsd Unix */
5fad8bf9
SG
53#define IRIX3_SYS 17 /* SGI Iris running irix 3.x */
54#define IRIX4_SYS 18 /* SGI Iris running cypress */
55#define HP300BSD_SYS 19
794111e7 56#define ULTRA3_SYS 20 /* NYU Ultracomputer */
f99988e3 57#define NEWSOS3_SYS 21 /* Sony NewsOS 3.x (bsd-4.3 based) */
927edea6 58#define AMIX_SYS 22 /* Amiga Unix */
89cbb706 59#define i386_MACH_SYS 23 /* Mach on Intel 386 */
1ccc2d06 60
a07cc613
JG
61#include <ansidecl.h>
62
63#if __STDC__
64#define PROTO(type, name, arglist) type name arglist
65#else
66#define PROTO(type, name, arglist) type name ()
67#define NO_STDARG
68#endif
69
70#ifndef HOST_SYS
71#define HOST_SYS = Hey_you_HOST_SYS_has_not_been_defined.
72#endif
73
74#if HOST_SYS==SUN4_SYS
75#define HOST_IS_SUN4 1
76#include <sys/h-sun4.h>
77#endif
78
79#if HOST_SYS==DGUX_SYS
80#include <sys/h-dgux.h>
81#endif
82
83#if HOST_SYS==POSIX_SYS
84#define HOST_IS_POSIX 1
85#endif
86
87#if HOST_SYS==AIX_SYS
88#define HOST_IS_AIX 1
89#include <sys/h-rs6000.h>
90#endif
91
92#if HOST_SYS==VAX_ULTRIX_SYS
93#define HOST_IS_VAX_ULTRIX 1
94#include <sys/h-vaxult.h>
95#endif
96
97#if HOST_SYS==i386_SYSV_SYS
98#define HOST_IS_i386_SYSV 1
99#define USG
100#include <sys/h-i386v.h>
101#endif
102
103#if HOST_SYS==SUN3_SYS
104#define HOST_IS_SUN3 1
105#include <sys/h-sun3.h>
106#endif
107
f99988e3
PB
108#if HOST_SYS==NEWSOS3_SYS
109#define HOST_IS_SUN3 1 /* Lie - should be close enough */
110#include <sys/h-sun3.h> /* Probably good enough */
111#define MISSING_VFPRINTF
112#endif
113
a07cc613
JG
114#if HOST_SYS==DEC3100_SYS
115#define HOST_IS_DEC3100 1
116#include <sys/h-dec3100.h>
117#endif
118
119#if HOST_SYS==HP9000_SYS
120#define HOST_IS_HP9000 1
121#define USG
122#include <sys/h-hp9000.h>
123#endif
095c7223 124
19b03b7a
SC
125#if HOST_SYS==APOLLO400_SYS
126#define HOST_IS_APOLLO400 1
127#include <sys/h-ap400.h>
128#endif
129
130#if HOST_SYS==DOS_SYS
131#define HOST_IS_DOS 1
132#include <sys/h_dos.h>
133#endif
a07cc613 134
1ccc2d06
JG
135#if HOST_SYS == VAX_BSD_SYS
136#include <sys/h-vaxbsd.h>
137#endif
138
139#if HOST_SYS == TAHOE_BSD_SYS
140#include <sys/h-tahoebsd.h>
141#endif
142
a737c70b
SC
143#if HOST_SYS == RTBSD_SYS
144#include <sys/h-rtbsd.h>
145#endif
146
5fad8bf9
SG
147#if HOST_SYS == IRIX3_SYS
148#include <sys/h-irix3.h>
149#endif
150
151#if HOST_SYS == IRIX4_SYS
152#include <sys/h-irix4.h>
153#endif
154
5dd477d4
JG
155#if HOST_SYS == HP300BSD_SYS
156#include <sys/h-hp300bsd.h>
157#endif
158
794111e7 159#if HOST_SYS == ULTRA3_SYS
054862cf
JG
160#include <sys/h-ultra3.h>
161#endif
162
927edea6
JG
163#if HOST_SYS == AMIX_SYS
164#include <sys/h-amix.h>
165#endif
166
89cbb706
JG
167#if HOST_SYS == i386_MACH_SYS
168#include <sys/h-i386mach.h>
169#endif
170
5fad8bf9 171#endif /* _SYSDEP_H */
This page took 0.03639 seconds and 4 git commands to generate.