home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / editors / emacs / xemacs / xemacs-1.004 / xemacs-1 / xemacs-19.13 / src / m / delta88k.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-08-04  |  4.6 KB  |  148 lines

  1. /* Machine description file for Motorola System V/88 machines
  2.    Copyright (C) 1985 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, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  19.  
  20. /* Synched up with: FSF 19.29. */
  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-3"  */
  25.  
  26. /* Define WORD_MACHINE if addresses and such have
  27.  * to be corrected before they can be used as byte counts.  */
  28.  
  29. /* #define WORD_MACHINE */
  30.  
  31. /* Now define a symbol for the cpu type, if your compiler
  32.    does not define it automatically:
  33.    Ones defined so far include vax, m68000, ns16000, pyramid,
  34.    orion, tahoe, APOLLO and many others */
  35.  
  36. #ifndef m88000     /* Some 88k C compilers already define this */
  37. #define m88000
  38. #endif
  39.  
  40. /* Now define a symbol for the cpu type, if your compiler
  41.    does not define it automatically.  */
  42.  
  43.  
  44. /* Use type int rather than a union, to represent Lisp_Object */
  45. /* This is desirable for most machines.  */
  46.  
  47. #define NO_UNION_TYPE 
  48.  
  49. /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend
  50.    the bit field into an int.  In other words, if bit fields
  51.    are always unsigned.
  52.  
  53.    If you use NO_UNION_TYPE, this flag does not matter.  */
  54.  
  55. /* #define EXPLICIT_SIGN_EXTEND */
  56.  
  57. /* Data type of load average, as read out of kmem.  */
  58. /* No load average on Motorola machines. */
  59. /* #define LOAD_AVE_TYPE double */
  60.  
  61. /* Convert that into an integer that is 100 for a load average of 1.0  */
  62. /* #define LOAD_AVE_CVT(x) ((int) ((x) * 100.0)) */
  63.  
  64. /* Define CANNOT_DUMP on machines where unexec does not work.
  65.    Then the function dump-emacs will not be defined
  66.    and temacs will do (load "loadup") automatically unless told otherwise.  */
  67.  
  68. /* #define CANNOT_DUMP  */
  69.  
  70. /* Define VIRT_ADDR_VARIES if the virtual addresses of
  71.    pure and impure space as loaded can vary, and even their
  72.    relative order cannot be relied on.
  73.  
  74.    Otherwise Emacs assumes that text space precedes data space,
  75.    numerically.  */
  76.  
  77. /* #define VIRT_ADDR_VARIES */ 
  78.  
  79. /* Define NO_REMAP if memory segmentation makes it not work well
  80.    to change the boundary between the text section and data section
  81.    when Emacs is dumped.  If you define this, the preloaded Lisp
  82.    code will not be sharable; but that's better than failing completely.  */
  83.  
  84. #define NO_REMAP
  85.  
  86. /* Define C_ALLOCA if this machine does not support a true alloca
  87.    and the one written in C should be used instead.
  88.    Define HAVE_ALLOCA to say that the system provides a properly
  89.    working alloca function and it should be used.
  90.    Define neither one if an assembler-language alloca
  91.    in the file alloca.s should be used.  */
  92.  
  93. /* BEM:  Distributed asm alloca doesn't work.  Don't know about libPW.a.
  94.    C ALLOCA is safe and fast enough for now. */
  95.  
  96. #ifdef __GNUC__
  97. #define HAVE_ALLOCA   /* ... and be sure that no other ones are tried out. */
  98. #undef C_ALLOCA
  99. #else /* not __GNUC__ */
  100. #undef HAVE_ALLOCA
  101. #define C_ALLOCA      /* Use the alloca() supplied in alloca.c. */
  102. #define STACK_DIRECTION -1  /* The stack grows towards lower addresses. */
  103. #endif /* __GNUC__ */
  104.  
  105. /* Motorola SysV has PTYs.  Not all usg3-5 systems do, so this is defined
  106.    here. */
  107.  
  108. #define HAVE_PTYS 
  109. #define SYSV_PTYS
  110.  
  111. /*
  112.  * we have the wrong name for networking libs
  113.  */
  114. #ifdef USG5_4
  115. /* rms: not needed; LIB_X11_LIB deals with this.  */
  116. /* #define LIBX11_SYSTEM -lX11 */
  117. #else
  118. #undef LIB_X11_LIB /* We don't have the shared libs as assumed in usg5-3.h. */
  119. #undef LIBX11_SYSTEM
  120. #define LIBX11_SYSTEM -lnsl -lbsd
  121. #endif /* USG5_4 */
  122.  
  123.  
  124. /* previously defined in usg5-4, if we choose to use that.  */
  125. /* XEmacs: smarch@quaver.urbana.mcd.mot.com (Steve March) says
  126.    we always need -lgen and usg5-4.h doesn't use it. */
  127. #undef LIBS_SYSTEM
  128. #ifdef USG5_4
  129. #define LIBS_SYSTEM -lsocket -lnsl -lelf -lgen
  130. #else
  131. #define LIBS_SYSTEM -lbsd -lg
  132. #endif /* USG5_4 */
  133.  
  134. #define NO_TERMIO
  135.  
  136. #define NO_SIOCTL_H
  137.  
  138. /* XEmacs change -- removed crap about random and bstring */
  139.  
  140. #define NO_PTY_H
  141.  
  142. /* XEmacs change -- smarch@quaver.urbana.mcd.mot.com */
  143. #ifndef NOT_C_CODE
  144. #include <dirent.h>
  145. #endif
  146.  
  147. #define USE_GETOBAUD
  148.