site.def 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  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. # include <host.def>
  14. /* CDE uses a .C suffix for C++ source, not the default .cxx */
  15. # define CCsuf C
  16. /* We will import x11 and Motif. */
  17. # define ImportX11 YES
  18. # define ImportMotif YES
  19. # ifndef TopLevelProject
  20. # define TopLevelProject cde
  21. # endif
  22. /* On systems where cpp doesn't expand correctly macros in include directives
  23. * the two following macros need to be defined directly (accordingly to the
  24. * TopLevelProject macro defined above).
  25. */
  26. # if defined(SunArchitecture) || defined(AIXArchitecture) \
  27. || defined(USLArchitecture) || defined(UXPArchitecture)
  28. # ifndef ProjectRulesFile
  29. # define ProjectRulesFile <cde.rules>
  30. # endif
  31. # ifndef ProjectTmplFile
  32. # define ProjectTmplFile <cde.tmpl>
  33. # endif
  34. # endif
  35. # ifdef AlphaArchitecture
  36. # define HasDECCplusplus YES
  37. # endif
  38. # ifdef HPArchitecture
  39. # define HasHPCplusplus YES
  40. # endif
  41. # if defined(SGIArchitecture)
  42. # define MipsN32Architecture YES
  43. # endif
  44. # if defined(SunArchitecture)
  45. # define HasSunCplusplus YES
  46. # endif
  47. # if defined(UXPArchitecture) || defined(USLArchitecture) \
  48. || defined(AIXArchitecture)
  49. # define HasCplusplus YES
  50. # endif
  51. #endif /* BeforeVendorCF */
  52. #ifdef AfterVendorCF
  53. #ifndef X11ProjectRoot
  54. # if defined(LinuxArchitecture)
  55. # define X11ProjectRoot /usr
  56. # elif defined(FreeBSDArchitecture)
  57. # define X11ProjectRoot /usr/local
  58. # elif defined(OpenBSDArchitecture)
  59. # define X11ProjectRoot /usr/X11R6
  60. # else
  61. # define X11ProjectRoot /X11
  62. # endif
  63. #endif
  64. #ifndef MotifProjectRoot
  65. # if defined(FreeBSDArchitecture)
  66. # define MotifProjectRoot /usr/local
  67. # elif defined(OpenBSDArchitecture)
  68. # define MotifProjectRoot /usr/local
  69. # endif
  70. #endif
  71. #ifndef ProjectRoot
  72. # define ProjectRoot /usr/dt
  73. #endif
  74. XCOMM build the DtXinerama support
  75. #define CDE_USEXINERAMA YES
  76. #ifdef SunArchitecture
  77. # define DtLocalesToBuild de_DE.ISO8859-1 es_ES.ISO8859-1 fr_FR.ISO8859-1 it_IT.ISO8859-1
  78. #endif
  79. #ifdef UXPArchitecture
  80. # define DtLocalesToBuild ja_JP.dt-eucJP
  81. #endif
  82. XCOMM Make sure you have installed the de_DE, es_ES, fr_FR and it_IT locales.
  83. XCOMM or building non-C locales will cause build failures.
  84. #if defined(LinuxArchitecture) || defined(BSDArchitecture)
  85. # define DtLocalesToBuild de_DE.ISO8859-1 es_ES.ISO8859-1 fr_FR.ISO8859-1 it_IT.ISO8859-1
  86. #endif
  87. #ifdef SunArchitecture
  88. #define HasCodeCenter YES
  89. #define HasTestCenter YES
  90. #ifdef SparcArchitecture
  91. #define HasPurify YES
  92. #endif
  93. #endif
  94. #ifdef HPArchitecture
  95. #define HasPurify YES
  96. #endif
  97. #ifdef __hp9000s800
  98. #define HasCodeCenter YES
  99. #define HasTestCenter YES
  100. #endif
  101. #ifdef SGIArchitecture
  102. #if OSMajorVersion > 5
  103. #define HasPurify YES
  104. #endif
  105. #endif
  106. #endif /* AfterVendorCF */