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