home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / X / mit / config / luna.cf < prev    next >
Encoding:
Text File  |  1991-08-26  |  2.1 KB  |  81 lines

  1. XCOMM platform:  $XConsortium: luna.cf,v 1.16 91/08/26 11:23:34 rws Exp $
  2. /*
  3.  *    Please set the values for OSMajorVerion and OSMinorVersion
  4.  *    before making makefiles.     
  5.  */
  6.  
  7. #ifdef Mc68000Architecture
  8. # ifdef luna2
  9. #define OSName            Mach 2.5 Vers 1.40
  10. #define OSMajorVersion    1
  11. #define OSMinorVersion    40
  12. # else 
  13. #define OSName            UNIOS-B 4.3BSD UNIX: 2.00
  14. #define OSMajorVersion    2
  15. #define OSMinorVersion    0
  16. #define DirFailPrefix -
  17. # endif
  18. #else  /* Mc88000Architecture */
  19. #define OSName            Mach 2.5 Vers 1.13
  20. #define OSMajorVersion    1
  21. #define OSMinorVersion    13
  22. #endif
  23. XCOMM operating system:  OSName
  24.  
  25. #define HasBsearch        NO
  26. #define HasSaberC        NO
  27. #define HasVoidSignalReturn    NO
  28. #define HasGcc            YES
  29.  
  30.  
  31. #define PrimaryScreenResolution 100
  32.  
  33. #ifdef Mc68000Architecture
  34. #ifdef    luna2
  35. #define StandardDefines         -DXML
  36. #if ((OSMajorVersion <= 1) && (OSMinorVersion < 40))
  37. #define ServerOSDefines -DUNUSE_DRV_TIME -DUNUSE_SIGIO_SIGNAL 
  38. #endif
  39. #else    /* luna1 */
  40. #if ((OSMajorVersion <= 1) && (OSMinorVersion <= 60))
  41. #define StandardDefines         -Dluna -Duniosb -DXML
  42. #else
  43. #define StandardDefines         -DXML
  44. #endif
  45. #if ((OSMajorVersion < 2) || ((OSMajorVersion == 2) && (OSMinorVersion < 1)))
  46. #define ServerOSDefines -DUNUSE_DRV_TIME -DUNUSE_SIGIO_SIGNAL 
  47. #endif
  48. #endif    /* luna2 */
  49. #if HasGcc
  50. #define OptimizedCDebugFlags    -O -traditional
  51. #define ServerCDebugFlags       -Dmc68020 -O -traditional
  52. #else    /* cc */
  53. #define OptimizedCDebugFlags    -O -Z18
  54. #define ServerCDebugFlags       -Dmc68020 -O -Z18
  55. #endif /* HasGcc */
  56. #endif /* Mc68000Architecture */
  57.  
  58.  
  59. #ifdef Mc88000Architecture
  60. #define StandardDefines         -DXML
  61. #if ((OSMajorVersion <= 1) && (OSMinorVersion <= 12))
  62. #define ServerOSDefines -DUNUSE_DRV_TIME -DUNUSE_SIGIO_SIGNAL 
  63. #endif
  64. #define HasNdbm            YES
  65. #ifdef HasGcc
  66. #define CcCmd                   gcc -fstrength-reduce
  67. #define OptimizedCDebugFlags    -O2 /* -traditional */
  68. #endif
  69. #endif
  70.  
  71. #ifdef Mc68000Architecture
  72. #define UnalignedReferencesAllowed YES  /* if arbitrary deref is okay */
  73. #define BuildPexExt        NO        
  74. #define XlunaServer         YES
  75. #endif
  76.  
  77. #ifdef Mc88000Architecture
  78. #define BuildPexExt        NO
  79. #define XlunaServer         YES
  80. #endif
  81.