home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / plbin.zip / pl / src / md-next.h < prev    next >
Text File  |  1992-09-10  |  2KB  |  67 lines

  1. /*  md-next.h,v 1.3 1992/09/10 19:47:13 jan Exp
  2.  
  3.     Copyright (c) 1991 Jan Wielemaker. All rights reserved.
  4.     jan@swi.psy.uva.nl
  5.  
  6.     Purpose: Machine description for the NeXT
  7. */
  8.  
  9. /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  10. Created by Luc Peerdeman, luc@ailab.eur.nl
  11. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
  12.  
  13. /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  14. Compiler flags for making `makefile' from `Makefile' using cpp
  15. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
  16.  
  17. #define M_CC            cc    /* == gcc on NeXT */
  18. /* #define M_OPTIMIZE -g -DO_DEBUG */
  19. #define M_OPTIMIZE -O -finline-functions
  20. #define M_LDFLAGS
  21. #define M_CFLAGS -Wall
  22. #define M_LIBS            -lm -ltermcap 
  23.  
  24.  
  25.             /* compiler */
  26. #define ANSI            1
  27. #define PROTO            1
  28. #define O_NO_LEFT_CAST        0
  29. #define O_NO_VOID_POINTER    0
  30. #define O_SHORT_SYMBOLS        0
  31.             /* Operating system */
  32. #define O_PROFILE        1
  33. #define O_SIG_AUTO_RESET    0
  34.  
  35. #define O_SHARED_MEMORY        0
  36. /* Not documented on NeXT... but present in library. At least, mmap() is.
  37.  * Not a trace of munmap() however, and the definition of MAP_FIXED is also
  38.  * missing from <sys/mmap.h>. Let's wait until NeXTstep 3.0 is out.
  39.  */
  40. #define O_CAN_MAP        0 
  41.  
  42. #define O_NO_SEGV_ADDRESS    0
  43. #define MAX_VIRTUAL_ADDRESS    (220 * 1024 * 1024) /* Not checked */
  44.  
  45. #define O_FOREIGN         0
  46. #define O_AIX_FOREIGN        0
  47. #define O_MACH_FOREIGN        1
  48.  
  49. #define O_STORE_PROGRAM        0
  50. #define TEXT_END        get_etext()
  51. #define O_SAVE            0    /* Does not work (JW) */
  52. #define DEFAULT_PATH        ":/usr/ucb:/bin:/usr/bin:/usr/local:.:"
  53. #define DIR_INCLUDE        <sys/dir.h>
  54. #define DIR_INCLUDE2        <sys/dirent.h>
  55.  
  56.             /* terminal driver */
  57. #define O_TERMIOS         0
  58. #define O_EXTEND_ATOMS         1
  59. #define O_LINE_EDIT         1
  60. #define O_MAP_TAB_ON_ESC    1
  61. #define O_FOLD             0
  62.             /* Interfaces */
  63. #define O_PCE             0
  64.  
  65. #define MACHINE            "next"
  66. #define OPERATING_SYSTEM    "mach"
  67.