XEmacs 21.2.36 "Notos"
[chise/xemacs-chise.git.1] / src / m / apollo.h
1 /* machine description file for Apollo machine.
2    Copyright (C) 1985, 1986, 1994, 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 XEmacs; 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 /* Synched up with: FSF 19.31. */
22
23 /* The following line tells the configuration script what sort of 
24    operating system this machine is likely to run.
25    USUAL-OPSYS="bsd4-3"  */
26
27 /* Say this machine is a 68000 */
28
29 /* #define m68000 */   /* Done by the C compiler */
30
31 #define APOLLO
32
33 /* Assume we use s-bsd4-3.h for system version 10.  */
34
35 #ifdef BSD4_3
36 #define APOLLO_SR10
37 #endif
38
39 /* Do not define LOAD_AVE_TYPE or LOAD_AVE_CVT
40    since there is no /dev/kmem */
41
42 /* Define HAVE_ALLOCA because we use the system's version of alloca.  */
43
44 #define HAVE_ALLOCA
45
46 /* Prevent -lg from being used for debugging.  Not needed.  */
47
48 #define LIBS_DEBUG
49
50 /* Can't use the system's termcap.  It has compressed data sections that
51    interfere with dumping.  That means we won't automatically get a vt100
52    when we start up emacs in a dm pad (a dubious feature at best anyway). */
53
54 #undef LIBS_TERMCAP
55
56 /* Must use the system's malloc and alloca.  */
57
58 #define SYSTEM_MALLOC
59
60 /* Define the file we use for UNEXEC. */
61
62 #define UNEXEC "unexapollo.o"
63
64 /* The Apollo linker does not recognize the -X switch, so we remove it here. */
65
66 #define LD_SWITCH_SYSTEM
67
68 /* Define C_SWITCH_MACHINE to compile for 68020/68030 or PRISM.
69    Define LD_SWITCH_MACHINE to save space by stripping symbols
70    and use X11 libraries. */
71
72 #if _ISP__A88K
73 #define C_SWITCH_MACHINE "-W0,-ncompress -W0,-opt,2 -A cpu,a88k -A sys,any -A run,bsd4.3"
74 #define LD_SWITCH_MACHINE "-A cpu,a88k -A sys,any -A run,bsd4.3"
75 #else
76 #define C_SWITCH_MACHINE "-W0,-ncompress -W0,-opt,2 -A cpu,3000 -A sys,any -A run,bsd4.3"
77 #define LD_SWITCH_MACHINE "-A cpu,m68k -A sys,any -A run,bsd4.3"
78 #endif
79
80 #define OLDXMENU_OPTIONS "${C_SWITCH_MACHINE}"
81
82 #if 0 /* from FSF Emacs */
83
84 /* In SR10.4, unistd.h has bad prototype for getpgrp, so we don't include it. */
85 #undef HAVE_UNISTD_H
86 #endif /* 0 */