dtinfo other files
[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 MotifProjectRoot
82 # if defined(OpenBSDArchitecture)
83 #  define MotifProjectRoot      /usr/local
84 # endif
85 #endif
86
87 #ifndef ProjectRoot
88 # define ProjectRoot    /usr/dt
89 #endif
90
91 XCOMM build the DtXinerama support
92 #define CDE_USEXINERAMA         YES
93
94 #ifdef SunArchitecture
95 # define DtLocalesToBuild de_DE.ISO8859-1 es_ES.ISO8859-1 fr_FR.ISO8859-1 it_IT.ISO8859-1
96 #endif
97
98 #ifdef UXPArchitecture
99 # define DtLocalesToBuild ja_JP.dt-eucJP
100 #endif
101
102 XCOMM Make sure you have installed the de_DE, es_ES, fr_FR and it_IT locales.
103 XCOMM  or building non-C locales will cause build failures.
104 #if defined(LinuxArchitecture) || defined(FreeBSDArchitecture) || defined(OpenBSDArchitecture)
105 # define DtLocalesToBuild de_DE.ISO8859-1 es_ES.ISO8859-1 fr_FR.ISO8859-1 it_IT.ISO8859-1
106 #endif
107
108 #ifdef SunArchitecture
109 #define HasCodeCenter        YES
110 #define HasTestCenter        YES
111 #ifdef SparcArchitecture
112 #define HasPurify        YES
113 #endif
114 #endif
115
116 #ifdef HPArchitecture
117 #define HasPurify        YES
118 #endif
119
120 #ifdef __hp9000s800
121 #define HasCodeCenter        YES
122 #define HasTestCenter        YES
123 #endif
124
125 #ifdef SGIArchitecture
126 #if OSMajorVersion > 5
127 #define HasPurify        YES
128 #endif
129 #endif
130
131 #endif /* AfterVendorCF */