Release 18.59
[emacs.git] / src / m-sun386.h
blobe3fd584068bcd8caa48a05cd4111f51a08fa4e2e
1 /* m- file for Sun's 386-based RoadRunner. This file borrows heavily from
2 "m-sun2.h", but since that file is heavily cpu-specific, it was easier
3 not to include it.
5 This file is part of GNU Emacs.
7 GNU Emacs is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 1, or (at your option)
10 any later version.
12 GNU Emacs is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with GNU Emacs; see the file COPYING. If not, write to
19 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
21 /* Say this machine is a bird */
22 #ifndef roadrunner
23 #define roadrunner
24 #endif
26 /* Actual cpu-specific defs */
27 #include "m-intel386.h"
29 /* Data type of load average, as read out of kmem. */
31 #define LOAD_AVE_TYPE long
33 /* Convert that into an integer that is 100 for a load average of 1.0 */
35 #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE)
37 /* Underscores are not prepended to C symbols on this machine. */
38 #undef LDAV_SYMBOL
39 #define LDAV_SYMBOL "avenrun"
41 /* Must use the system's termcap. It does special things. */
43 #define LIBS_TERMCAP -ltermcap
45 /* Arrange to link with sun windows, if requested. */
46 /* For details on emacstool and sunfns, see etc/SUN-SUPPORT */
47 /* These programs require Sun UNIX 4.2 Release 3.2 or greater */
49 #ifdef HAVE_SUN_WINDOWS
50 #define OTHER_FILES ${etcdir}emacstool
51 #define LIBS_MACHINE -lsuntool -lsunwindow -lpixrect
52 #define OBJECTS_MACHINE sunfns.o
53 #define SYMS_MACHINE syms_of_sunfns ()
54 #define PURESIZE 132000
55 #endif
57 /* Roadrunner uses 'COFF' format */
58 #define COFF
60 #define C_SWITCH_MACHINE -Bstatic /* avoid dynamic linking */
61 #define LD_SWITCH_MACHINE -n -Bstatic
62 /* Get rid of the -e __start that s-sunos4.h does. */
63 #undef LD_SWITCH_SYSTEM