Trailing whitespace deleted.
[bpt/emacs.git] / src / m / sps7.h
1 /* machine description file for Bull SPS-7.
2 Copyright (C) 1986, 1999 Free Software Foundation, Inc.
3
4 This file is part of GNU Emacs.
5
6 GNU Emacs is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
9 any later version.
10
11 GNU Emacs is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with GNU Emacs; see the file COPYING. If not, write to
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA. */
20
21
22 /* The following line tells the configuration script what sort of
23 operating system this machine is likely to run.
24 USUAL-OPSYS="usg5-2" */
25
26 /* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word
27 is the most significant byte. */
28
29 #define WORDS_BIG_ENDIAN
30
31 /* Say this machine is a 68000 */
32
33 #ifndef m68000
34 #define m68000
35 #endif
36
37 #define sps7
38
39 /* Use type int rather than a union, to represent Lisp_Object */
40
41 #define NO_UNION_TYPE
42
43 /* XINT must explicitly sign-extend */
44
45 #define EXPLICIT_SIGN_EXTEND
46
47 /* Data type of load average, as read out of kmem. */
48 /* Suspect there is something weird about this machine, so turn it off. */
49
50 /* #define LOAD_AVE_TYPE long */
51
52 /* Convert that into an integer that is 100 for a load average of 1.0 */
53
54 /* #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0) */
55 \f
56 #define SMX
57 #define V3x
58
59 /*
60 * Define HAVE_PTYS if the system supports pty devices.
61 */
62
63 #define HAVE_PTYS
64
65 /* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */
66
67 #define HAVE_SOCKETS
68
69 /* Have the socketpair call
70 */
71
72 #define SKTPAIR
73
74 /* Define CLASH_DETECTION if you want lock files to be written
75 so that Emacs can tell instantly when you try to modify
76 a file that someone else has modified in his Emacs. */
77
78 #define CLASH_DETECTION
79
80 /* Use Berkeley style interface to nlist */
81
82 #define NLIST_STRUCT
83
84 /* Define this to cause -N to be passed to ld. This is needed
85 * in uniplus because of its funny memory space layout.
86 * SMX--If you are using 32 bit (COFF) use "-N", else don't use anything.
87 */
88
89 #define LD_SWITCH_MACHINE -N -T32 -e __start
90
91 /* If you are compiling for a 68020, then use -lc32 else use -lc */
92
93 #define LIB_STANDARD -lc32
94
95 /* Fore 16 bit, -linet, for 32 bit -linet32 (be sure you have it!). */
96
97 #define LIBS_MACHINE -linet32
98
99 /* Use -T32 for 68020, -T16 otherwise */
100
101 #define C_SWITCH_MACHINE -T32
102
103 #define BROKEN_SIGIO
104
105 /* Other than 68020 use ld16, as32, or undefine (defaults ld and as). */
106
107 #define ASS as32
108
109 #ifdef V3x
110 #define EXEC_MAGIC 0x10b
111 #define SEGMENT_MASK (NBPS-1)
112 #define ADJUST_EXEC_HEADER f_hdr.f_magic = SMROMAGIC;\
113 f_ohdr.stsize = 0;
114 #endif