Update years in copyright notice; nfc.
[bpt/emacs.git] / src / m / apollo.h
CommitLineData
20c428fd 1/* machine description file for Apollo machine.
b908093d 2 Copyright (C) 1985, 1986, 1994, 2002, 2003, 2004,
aaef169d 3 2005, 2006 Free Software Foundation, Inc.
20c428fd
JB
4
5This file is part of GNU Emacs.
6
7GNU Emacs is free software; you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
17385adc 9the Free Software Foundation; either version 2, or (at your option)
20c428fd
JB
10any later version.
11
12GNU Emacs is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with GNU Emacs; see the file COPYING. If not, write to
364c38d3
LK
19the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20Boston, MA 02110-1301, USA. */
20c428fd
JB
21
22
177c0ea7 23/* The following line tells the configuration script what sort of
20c428fd 24 operating system this machine is likely to run.
9b462584 25 USUAL-OPSYS="bsd4-3" */
20c428fd 26
74d3f806
KH
27/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word
28 is the most significant byte. */
29
30#define WORDS_BIG_ENDIAN
31
20c428fd
JB
32/* Say this machine is a 68000 */
33
34/* #define m68000 */ /* Done by the C compiler */
35
36#define APOLLO
37
38/* Assume we use s-bsd4-3.h for system version 10. */
39
40#ifdef BSD4_3
41#define APOLLO_SR10
42#endif
43
44/* Use type int rather than a union, to represent Lisp_Object */
45
46#define NO_UNION_TYPE
47
48/* Do not define LOAD_AVE_TYPE or LOAD_AVE_CVT
49 since there is no /dev/kmem */
50
9b462584
RS
51/* Undefine VIRT_ADDR_VARIES because the virtual addresses of
52 pure and impure space as loaded do not vary. */
20c428fd 53
9b462584 54#undef VIRT_ADDR_VARIES
20c428fd 55
20c428fd
JB
56/* Prevent -lg from being used for debugging. Not needed. */
57
58#define LIBS_DEBUG
59
9b462584
RS
60/* Can't use the system's termcap. It has compressed data sections that
61 interfere with dumping. That means we won't automatically get a vt100
62 when we start up emacs in a dm pad (a dubious feature at best anyway). */
20c428fd 63
9b462584 64#undef LIBS_TERMCAP
20c428fd
JB
65
66/* Must use the system's malloc and alloca. */
67
68#define SYSTEM_MALLOC
69
9b462584
RS
70/* Define the file we use for UNEXEC. */
71
72#define UNEXEC unexapollo.o
73
74/* The Apollo linker does not recognize the -X switch, so we remove it here. */
20c428fd 75
9b462584 76#define LD_SWITCH_SYSTEM
20c428fd 77
9b462584
RS
78/* Define C_SWITCH_MACHINE to compile for 68020/68030 or PRISM.
79 Define LD_SWITCH_MACHINE to save space by stripping symbols
80 and use X11 libraries. */
20c428fd 81
9b462584
RS
82#if _ISP__A88K
83#define C_SWITCH_MACHINE -W0,-ncompress -W0,-opt,2 -A cpu,a88k -A sys,any -A run,bsd4.3
84#define LD_SWITCH_MACHINE -A cpu,a88k -A sys,any -A run,bsd4.3
85#else
86#define C_SWITCH_MACHINE -W0,-ncompress -W0,-opt,2 -A cpu,3000 -A sys,any -A run,bsd4.3
87#define LD_SWITCH_MACHINE -A cpu,m68k -A sys,any -A run,bsd4.3
20c428fd 88#endif
0b74cf8c 89
9b462584 90#define OLDXMENU_OPTIONS ${C_SWITCH_MACHINE}
4a722d6c
RS
91
92/* In SR10.4, unistd.h has bad prototype for getpgrp, so we don't include it. */
93#undef HAVE_UNISTD_H
ab5796a9
MB
94
95/* arch-tag: 33336588-6242-4e2e-a194-e38848b12813
96 (do not change this comment) */