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

  1. XCOMM platform:  $XConsortium: hp.cf /main/75 1996/01/09 14:52:42 gildea $
  2.  
  3. #ifndef OSName
  4. #define OSName                 HP-UX 10.01
  5. #endif
  6. XCOMM operating system:  OSName
  7. #ifndef OSMajorVersion
  8. #define OSMajorVersion         10
  9. #endif
  10. #ifndef OSMinorVersion
  11. #define OSMinorVersion         0
  12. #endif
  13. #ifndef OSTeenyVersion
  14. #define OSTeenyVersion         1
  15. #endif
  16.  
  17. /*
  18.  * C++ compiler setup.  This file knows what options to use with 
  19.  * certain compilers, including HP C++ and CenterLine C++.
  20.  * 
  21.  * For HP C++, define HasHPCplusplus to YES in site.def.  
  22.  * For CenterLine C++, define HasCenterLineCplusplus to YES in site.def.
  23.  * For other compilers, define HasCplusplus to YES in site.def, and 
  24.  *    check to see if you need to provide values for CplusplusOptions
  25.  *    and/or DefaultCplusplusOptions.
  26.  *
  27.  * In any case, you may also need to set CplusplusDependIncludes.
  28.  */
  29.  
  30. #if HasHPCplusplus
  31. #ifndef HasCplusplus
  32. #define HasCplusplus YES
  33. #endif
  34. #ifndef DefaultCplusplusOptions
  35. #define DefaultCplusplusOptions -Aa -D_HPUX_SOURCE
  36. #endif
  37. #ifndef CplusplusOptions
  38. #define CplusplusOptions -Aa -D_HPUX_SOURCE
  39. #endif
  40. #ifndef CplusplusDependIncludes 
  41. #define CplusplusDependIncludes -I/usr/include/CC
  42. #endif
  43. #endif
  44.  
  45. #if HasCenterLineCplusplus
  46. #ifndef HasCplusplus
  47. #define HasCplusplus YES
  48. #endif
  49. #ifndef OptimizedCplusplusDebugFlags
  50. #define OptimizedCplusplusDebugFlags -O
  51. #endif
  52. #ifndef CplusplusDependIncludes 
  53. #define CplusplusDependIncludes -I/usr/local/CenterLine/clc++/pa-hpux8/incl
  54. #endif
  55. #endif
  56.  
  57.  
  58. #define SystemV                YES
  59. #define Malloc0ReturnsNull     YES
  60.  
  61. #ifdef __hp9000s800
  62. #define OptimizedCDebugFlags   +O1
  63. #define DefaultCCOptions       -Ae +ESlit
  64. #define SharedLibraryCCOptions -Ae
  65. #define StandardDefines        -Dhpux -DSYSV
  66. #define ServerExtraDefines -DXOS -DBSTORE -DSOFTWARE_CURSOR -DNO_ALLOCA -DSCREEN_PIXMAPS -DMERGE_SAVE_UNDERS -DHAS_IFREQ -DFORCE_SEPARATE_PRIVATE
  67.  
  68. #if OSMajorVersion > 9
  69. #include <hpLib.rules>
  70. #endif
  71.  
  72. #else /* __hp9000s800 */
  73. #define StandardDefines        -Dhpux -DSYSV
  74. #if OSMajorVersion < 8
  75. #define DefaultCCOptions       -Wc,-Nd4000,-Ns4100,-Ne700,-Np200,-Nw300
  76. #define PexCCOptions           -Wp,-H150000 -Wc,-Nd4000,-Ns8100,-Ne700,-Np200
  77. #else
  78. #define OptimizedCDebugFlags   +O1
  79. #define PexCCOptions           -Wp,-H250000
  80. #endif
  81. #define PexShmIPC              NO
  82. #define LintOpts               -ax -Nd4000 -Ns8000 -Ne700 -Np200 -Na25000
  83. #endif
  84. #define MvCmd                  mv -f
  85. #define LdCombineFlags -r
  86. #define ExecableScripts        YES
  87. #define HasVFork               YES
  88. #define HasPoll                YES
  89. #define RemoveTargetProgramByMoving YES
  90. #define ExpandManNames         YES
  91. #define HasPutenv              YES
  92. #define HasNdbm               YES
  93. #define DBMLibrary           /usr/lib/libdbm.a
  94. #define PrimaryScreenResolution    91
  95. #define ExtensionOSDefines     -DHPINPUT -DXTESTEXT1
  96. #define XhpServer              YES
  97. #define ServerExtraSysLibs     -ldld
  98. #ifndef BuildXInputExt
  99. #define BuildXInputExt         YES
  100. #endif
  101. #define HPFastScrolling        YES
  102. #ifndef BuildServer
  103. #define BuildServer            __hp9000s700
  104. #endif
  105. #define NeedBerklib            (BuildServer|BuildFontServer)
  106. #define XawI18nDefines           -DHAS_WCHAR_H -DHAS_ISW_FUNCS
  107.  
  108. #if OSMajorVersion < 6 || (OSMajorVersion == 6 && OSMinorVersion < 2)
  109. #define ConnectionFlags        -DTCPCONN    /* no unix sockets */
  110. #endif
  111.  
  112. #if OSMajorVersion > 8
  113. #define HasWChar32             YES
  114. #endif
  115.