home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-bin / x11r6.1 / lib / x11 / config / svr4.cf < prev    next >
Encoding:
Text File  |  1996-10-17  |  2.8 KB  |  146 lines

  1. XCOMM $XConsortium: svr4.cf /main/15 1995/10/03 17:31:30 kaleb $
  2. /*
  3.  * A default OS name
  4.  */
  5. #ifndef OSName
  6. #ifdef i386Architecture
  7. #define    OSName    UNIX System V/386 Release 4
  8. #else
  9. #define    OSName    UNIX System V Release 4
  10. #endif
  11. #endif
  12. #ifndef OSVendor
  13. #define OSVendor /**/
  14. #endif
  15.  
  16. /*
  17.  * The default version will be 4.0.0 which should be
  18.  * the least common denominator of all SVR4
  19.  */
  20.  
  21. #ifndef OSMajorVersion
  22. #define    OSMajorVersion    4
  23. #endif
  24. #ifndef OSMinorVersion
  25. #define    OSMinorVersion    0
  26. #endif
  27. #ifndef OSTeenyVersion
  28. #define    OSTeenyVersion    0
  29. #endif
  30. #ifndef BootstrapCFlags
  31. #ifdef i386Architecture
  32. #define BootstrapCFlags        -DSVR4 -Di386
  33. #else
  34. #ifdef SYSV386
  35. #define BootstrapCFlags        -DSVR4 -Di386
  36. #else
  37. #define BootstrapCFlags        -DSVR4
  38. #endif
  39. #endif
  40. #endif
  41.  
  42. /* Some stuff that all SVR4s should have */
  43.  
  44. #define SystemV4        YES
  45. #ifndef HasLdRunPath
  46. #define HasLdRunPath        YES
  47. #endif
  48. #define HasPoll            YES
  49. #ifndef SVR4Architecture
  50. #define SVR4Architecture
  51. #endif
  52. #ifndef PatheticCpp
  53. #define PatheticCpp        YES
  54. #endif
  55. #define Malloc0ReturnsNull    YES        /* in case -lmalloc used */
  56.  
  57. /*
  58.  * Here are the default paths to use to pick up tools for building.
  59.  */
  60. #ifndef ArCmdBase
  61. #define    ArCmdBase    /usr/ccs/bin/ar
  62. #endif
  63. #ifndef AsCmd
  64. #define    AsCmd    /usr/ccs/bin/as
  65. #endif
  66. #ifndef CppCmd
  67. #define    CppCmd    /usr/ccs/lib/cpp
  68. #endif
  69. #ifndef LdCmd
  70. #define    LdCmd    /usr/ccs/bin/ld
  71. #endif
  72. #ifndef LexCmd
  73. #define    LexCmd    /usr/ccs/bin/lex
  74. #endif
  75. #ifndef MakeCmd
  76. #define    MakeCmd    /usr/ccs/bin/make
  77. #endif
  78. #ifndef YaccCmd
  79. #define    YaccCmd    /usr/ccs/bin/yacc
  80. #endif
  81.  
  82. #if (OSMinorVersion == 0)
  83. #ifndef XawI18nDefines
  84. #define XawI18nDefines        -DUSE_XWCHAR_STRING
  85. #endif
  86. #endif
  87.  
  88. #ifdef i386Architecture
  89. #ifndef StandardDefines
  90. #define StandardDefines        -DSVR4 -Di386
  91. #endif
  92. #ifndef ToolkitStringsABIOptions
  93. #define ToolkitStringsABIOptions -intelabi
  94. #endif
  95. #ifndef DefaultCCOptions
  96. #if HasGcc2
  97. #if !defined(SunArchitecture)
  98. #define DefaultCCOptions -ansi
  99. #endif
  100. #else
  101. #define DefaultCCOptions -Xa -Dasm=__asm
  102. #endif
  103. #endif
  104. #ifndef DefaultCDebugFlags
  105. #if HasGcc2
  106. #ifdef i386Architecture
  107. #define DefaultCDebugFlags -m486 -O2 -fno-strength-reduce
  108. #else
  109. #define DefaultCDebugFlags -O2
  110. #endif
  111. #else
  112. #define DefaultCDebugFlags -O
  113. #endif
  114. #endif
  115. #ifndef ServerOSDefines
  116. #define ServerOSDefines -DDDXTIME XFree86ServerOSDefines
  117. #endif
  118. #endif
  119.  
  120. /*
  121.  * The TLI interface is more robust on most SVR4s, so it will be the default.
  122.  */
  123. #if !defined(SunArchitecture)
  124. #ifndef ConnectionFlags
  125. #define ConnectionFlags    -DSTREAMSCONN -DUNIXCONN -DLOCALCONN
  126. #endif
  127. #endif
  128.  
  129. #ifndef ManSuffix
  130. #define ManSuffix               1x
  131. #define ManDir            $(MANSOURCEPATH)1
  132. #endif
  133. #ifndef LibManSuffix
  134. #define LibManSuffix            3x
  135. #define LibmanDir        $(MANSOURCEPATH)3
  136. #endif
  137. #ifndef FileManSuffix
  138. #define FileManSuffix           4
  139. #endif
  140.  
  141. #ifdef i386Architecture
  142. #include <xfree86.cf>
  143. #endif
  144.  
  145. #include <sv4Lib.rules>
  146.