home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / emacs-18.59-src.tgz / emacs-18.59-src.tar / fsf / emacs18 / src / m-sun386.h < prev    next >
C/C++ Source or Header  |  1996-09-28  |  2KB  |  64 lines

  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.
  4.  
  5. This file is part of GNU Emacs.
  6.  
  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.
  11.  
  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.
  16.  
  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.  */
  20.  
  21. /* Say this machine is a bird */
  22. #ifndef roadrunner
  23. #define roadrunner
  24. #endif
  25.  
  26. /* Actual cpu-specific defs */
  27. #include "m-intel386.h"
  28.  
  29. /* Data type of load average, as read out of kmem.  */
  30.  
  31. #define LOAD_AVE_TYPE long
  32.  
  33. /* Convert that into an integer that is 100 for a load average of 1.0  */
  34.  
  35. #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE)
  36.  
  37. /* Underscores are not prepended to C symbols on this machine.  */ 
  38. #undef LDAV_SYMBOL
  39. #define LDAV_SYMBOL "avenrun"
  40.  
  41. /* Must use the system's termcap.  It does special things.  */
  42.  
  43. #define LIBS_TERMCAP -ltermcap
  44.  
  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 */
  48.  
  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
  56.  
  57. /* Roadrunner uses 'COFF' format */
  58. #define COFF
  59.  
  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
  64.