site.def: create new DtDocLocalesToBuild define
[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) || defined(UXPArchitecture)
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 #  define HasSunCplusplus       YES
60 # endif
61
62 # if defined(UXPArchitecture) || defined(USLArchitecture) \
63      || defined(AIXArchitecture)
64 #  define HasCplusplus          YES
65 # endif
66
67 #endif /* BeforeVendorCF */
68
69 #ifdef AfterVendorCF
70
71 #ifndef X11ProjectRoot
72 # if defined(LinuxArchitecture)
73 #  define X11ProjectRoot        /usr
74 # elif defined(FreeBSDArchitecture)
75 #  define X11ProjectRoot        /usr/local
76 # elif defined(SunArchitecture)
77 #  define X11ProjectRoot        /usr
78 # elif defined(OpenBSDArchitecture)
79 #  define X11ProjectRoot        /usr/X11R6
80 # elif defined(NetBSDArchitecture)
81 #  define X11ProjectRoot        /usr/X11R7
82 # else
83 #  define X11ProjectRoot        /X11
84 # endif
85 #endif
86
87 #ifndef MotifProjectRoot
88 # if defined(FreeBSDArchitecture)
89 #  define MotifProjectRoot      /usr/local
90 # elif defined(OpenBSDArchitecture)
91 #  define MotifProjectRoot      /usr/local
92 # elif defined(NetBSDArchitecture)
93 #  define MotifProjectRoot      /usr/pkg
94 # endif
95 #endif
96
97 #ifndef ProjectRoot
98 # define ProjectRoot    /usr/dt
99 #endif
100
101 XCOMM build the DtXinerama support
102 #define CDE_USEXINERAMA         YES
103
104 #ifdef SunArchitecture
105 # define DtLocalesToBuild de_DE.ISO8859-1 es_ES.ISO8859-1 fr_FR.ISO8859-1 it_IT.ISO8859-1
106 #endif
107
108 #ifdef UXPArchitecture
109 # define DtLocalesToBuild ja_JP.dt-eucJP
110 #endif
111
112 XCOMM Make sure you have installed the de_DE, es_ES, fr_FR and it_IT locales.
113 XCOMM  or building non-C locales will cause build failures.
114 #if defined(BSDArchitecture)
115 # define DtLocalesToBuild de_DE.ISO8859-1 es_ES.ISO8859-1 fr_FR.ISO8859-1 it_IT.ISO8859-1
116 #endif
117
118 #if defined(LinuxArchitecture)
119 # define DtLocalesToBuild de_DE.ISO8859-1 es_ES.ISO8859-1 fr_FR.ISO8859-1 it_IT.ISO8859-1 en_US.UTF-8 
120 # define UTF8_NLS_SUPPORT
121 #endif
122
123 #ifdef SunArchitecture
124 #define HasCodeCenter        YES
125 #define HasTestCenter        YES
126 #ifdef SparcArchitecture
127 #define HasPurify        YES
128 #endif
129 #endif
130
131 #ifdef HPArchitecture
132 #define HasPurify        YES
133 #endif
134
135 #ifdef __hp9000s800
136 #define HasCodeCenter        YES
137 #define HasTestCenter        YES
138 #endif
139
140 #ifdef SGIArchitecture
141 #if OSMajorVersion > 5
142 #define HasPurify        YES
143 #endif
144 #endif
145
146 XCOMM define DtDocLocalesToBuild to be the same as DtLocalesToBuild if undefined
147 #ifndef DtDocLocalesToBuild
148 # define DtDocLocalesToBuild DtLocalesToBuild
149 #endif
150
151 #endif /* AfterVendorCF */