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