Switch license to GPLv3 or later.
[bpt/emacs.git] / src / m / news-risc.h
1 /* news-risc.h is for the "RISC News".
2
3 Copyright (C) 1992, 1999, 2001, 2002, 2003, 2004, 2005, 2006,
4 2007 Free Software Foundation, Inc.
5
6 This file is part of GNU Emacs.
7
8 GNU Emacs is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 3, or (at your option)
11 any later version.
12
13 GNU Emacs is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with GNU Emacs; see the file COPYING. If not, write to
20 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
21 Boston, MA 02110-1301, USA. */
22
23
24 #include "mips.h"
25
26 #ifdef NEWSOS5
27
28 /* NEWS-OS 5.0.2 */
29
30 #define LIBS_MACHINE -lmld
31
32 #ifdef __GNUC__
33 #define LD_SWITCH_MACHINE -g -Xlinker -D -Xlinker 800000
34 #else
35 #define C_DEBUG_SWITCH -g3
36 #define C_OPTIMIZE_SWITCH -g3
37 #define LD_SWITCH_MACHINE -g3 -D 800000 -non_shared
38 #endif
39
40 #else /* not NEWSOS5 */
41
42 /* The following line tells the configuration script what sort of
43 operating system this machine is likely to run.
44 USUAL-OPSYS="bsd4-3" */
45
46 #define COFF
47 #undef LD_SWITCH_MACHINE
48 #ifdef __GNUC__
49 #define LD_SWITCH_MACHINE -Xlinker -x -Xlinker -D -Xlinker 800000
50 #else
51 #define LD_SWITCH_MACHINE -x -D 800000
52 #endif
53
54 /* #define C_OPTIMIZE_SWITCH -O2 */
55 #define C_OPTIMIZE_SWITCH -O
56
57 #ifndef __GNUC__
58 #define C_DEBUG_SWITCH -g3
59 #endif
60
61 #undef TERMINFO
62
63 /* We have no mode_t. */
64 #define NO_MODE_T
65
66 /* Don't use the definitions in m/mips.h. */
67 #undef LINKER
68 #define LINKER $(CC) -nostdlib
69 #undef LIBS_MACHINE
70 #define LIBS_MACHINE -lmld
71
72 #undef KERNEL_FILE
73 #define KERNEL_FILE "/vmunix"
74
75 /* System's malloc, realloc, calloc and so on have bad prototypes,
76 using char * instead of void *, so tell gmalloc not to use the
77 prototypes. */
78 #define BROKEN_PROTOTYPES
79
80 #endif /* not NEWSOS5 */
81
82 /* arch-tag: cf17300c-dd34-4b9d-a657-2de718469662
83 (do not change this comment) */