site.def 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. XCOMM site: $TOG: site.def /main/23 1998/03/19 18:43:26 mgreess $
  2. /***************************************************************************
  3. * *
  4. * X Consortium In-House Build Parameters *
  5. * Use at Your Own Risk *
  6. * *
  7. ***************************************************************************/
  8. #ifndef SiteIConfigFiles
  9. # define SiteIConfigFiles $(IRULESRC)/host.def
  10. # define LocalConfigFiles host.def
  11. #endif
  12. #ifdef BeforeVendorCF
  13. # define LocalThreadsDefines
  14. # include <host.def>
  15. /* CDE uses a .C suffix for C++ source, not the default .cxx */
  16. # define CCsuf C
  17. /* We will use installed x11 and Motif. */
  18. # define UseInstalledX11 YES
  19. # define UseInstalledMotif YES
  20. # ifndef TopLevelProject
  21. # define TopLevelProject cde
  22. # endif
  23. /* On systems where cpp doesn't expand correctly macros in include directives
  24. * the two following macros need to be defined directly (accordingly to the
  25. * TopLevelProject macro defined above).
  26. */
  27. # if defined(SunArchitecture) || defined(AIXArchitecture)
  28. # ifndef ProjectRulesFile
  29. # define ProjectRulesFile <cde.rules>
  30. # endif
  31. # ifndef ProjectTmplFile
  32. # define ProjectTmplFile <cde.tmpl>
  33. # endif
  34. # endif
  35. # ifdef HPArchitecture
  36. # define HasHPCplusplus YES
  37. # endif
  38. # if defined(SGIArchitecture)
  39. # define MipsN32Architecture YES
  40. # endif
  41. # if defined(SunArchitecture)
  42. # ifndef HasSunC
  43. # define HasSunC NO
  44. # endif
  45. # ifndef HasSunCplusplus
  46. # define HasSunCplusplus HasSunC
  47. # endif
  48. # ifndef HasGcc2
  49. # if HasSunC
  50. # define HasGcc2 NO
  51. # else
  52. # define HasGcc2 YES
  53. # endif
  54. # endif
  55. # ifndef HasGcc2ForCplusplus
  56. # define HasGcc2ForCplusplus HasGcc2
  57. # endif
  58. # endif
  59. # if defined(AIXArchitecture)
  60. # define HasCplusplus YES
  61. # endif
  62. #endif /* BeforeVendorCF */
  63. #ifdef AfterVendorCF
  64. #ifndef X11ProjectRoot
  65. # if defined(LinuxArchitecture)
  66. # define X11ProjectRoot /usr
  67. # elif defined(FreeBSDArchitecture)
  68. # define X11ProjectRoot /usr/local
  69. # elif defined(SunArchitecture)
  70. # define X11ProjectRoot /usr
  71. # elif defined(OpenBSDArchitecture)
  72. # define X11ProjectRoot /usr/X11R6
  73. # elif defined(NetBSDArchitecture)
  74. # define X11ProjectRoot /usr/X11R7
  75. # else
  76. # define X11ProjectRoot /X11
  77. # endif
  78. #endif
  79. #ifndef MotifProjectRoot
  80. # if defined(FreeBSDArchitecture)
  81. # define MotifProjectRoot /usr/local
  82. # elif defined(OpenBSDArchitecture)
  83. # define MotifProjectRoot /usr/local
  84. # elif defined(NetBSDArchitecture)
  85. # define MotifProjectRoot /usr/pkg
  86. # elif defined(SunArchitecture)
  87. # define MotifProjectRoot /usr/X11
  88. # endif
  89. #endif
  90. #ifndef ProjectRoot
  91. # define ProjectRoot /usr/dt
  92. #endif
  93. XCOMM build the DtXinerama support
  94. #define CDE_USEXINERAMA YES
  95. #ifdef SunArchitecture
  96. # define DtLocalesToBuild de_DE.ISO8859-1 es_ES.ISO8859-1 fr_FR.ISO8859-1 it_IT.ISO8859-1
  97. #endif
  98. XCOMM Make sure you have installed the de_DE, es_ES, fr_FR and it_IT locales.
  99. XCOMM or building non-C locales will cause build failures.
  100. #if defined(BSDArchitecture)
  101. # define DtLocalesToBuild de_DE.ISO8859-1 es_ES.ISO8859-1 fr_FR.ISO8859-1 it_IT.ISO8859-1
  102. #endif
  103. #if defined(LinuxArchitecture)
  104. XCOMM Make sure you have installed the de_DE, es_ES, fr_FR and it_IT locales.
  105. XCOMM or building non-C locales will cause build failures.
  106. XCOMM DtLocalesToBuild: de_DE.ISO8859-1 es_ES.ISO8859-1 fr_FR.ISO8859-1 it_IT.ISO8859-1 en_US.UTF-8
  107. # if !defined(DtLocalesToBuild)
  108. # define DtLocalesToBuild en_US.UTF-8
  109. # endif
  110. # define UTF8_NLS_SUPPORT
  111. #endif
  112. #ifdef SunArchitecture
  113. #define HasCodeCenter YES
  114. #define HasTestCenter YES
  115. #ifdef SparcArchitecture
  116. #define HasPurify YES
  117. #endif
  118. #endif
  119. #ifdef HPArchitecture
  120. #define HasPurify YES
  121. #endif
  122. #ifdef __hp9000s800
  123. #define HasCodeCenter YES
  124. #define HasTestCenter YES
  125. #endif
  126. #ifdef SGIArchitecture
  127. #if OSMajorVersion > 5
  128. #define HasPurify YES
  129. #endif
  130. #endif
  131. XCOMM define DtDocLocalesToBuild to be the same as DtLocalesToBuild if undefined
  132. #ifndef DtDocLocalesToBuild
  133. # define DtDocLocalesToBuild DtLocalesToBuild
  134. #endif
  135. #endif /* AfterVendorCF */