linux: move dependancy handling out of linux.cf and into new lnxDep.rules file.
[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 # elif defined(NetBSDArchitecture)
77 #  define X11ProjectRoot        /usr/X11R7
78 # else
79 #  define X11ProjectRoot        /X11
80 # endif
81 #endif
82
83 #ifndef MotifProjectRoot
84 # if defined(FreeBSDArchitecture)
85 #  define MotifProjectRoot      /usr/local
86 # elif defined(OpenBSDArchitecture)
87 #  define MotifProjectRoot      /usr/local
88 # elif defined(NetBSDArchitecture)
89 #  define MotifProjectRoot      /usr/pkg
90 # endif
91 #endif
92
93 #ifndef ProjectRoot
94 # define ProjectRoot    /usr/dt
95 #endif
96
97 XCOMM build the DtXinerama support
98 #define CDE_USEXINERAMA         YES
99
100 #ifdef SunArchitecture
101 # define DtLocalesToBuild de_DE.ISO8859-1 es_ES.ISO8859-1 fr_FR.ISO8859-1 it_IT.ISO8859-1
102 #endif
103
104 #ifdef UXPArchitecture
105 # define DtLocalesToBuild ja_JP.dt-eucJP
106 #endif
107
108 XCOMM Make sure you have installed the de_DE, es_ES, fr_FR and it_IT locales.
109 XCOMM  or building non-C locales will cause build failures.
110 #if defined(BSDArchitecture)
111 # define DtLocalesToBuild de_DE.ISO8859-1 es_ES.ISO8859-1 fr_FR.ISO8859-1 it_IT.ISO8859-1
112 #endif
113
114 #if defined(LinuxArchitecture)
115 # define DtLocalesToBuild de_DE.ISO8859-1 es_ES.ISO8859-1 fr_FR.ISO8859-1 it_IT.ISO8859-1 en_US.UTF-8
116 # define UTF8_NLS_SUPPORT
117 #endif
118
119 #ifdef SunArchitecture
120 #define HasCodeCenter        YES
121 #define HasTestCenter        YES
122 #ifdef SparcArchitecture
123 #define HasPurify        YES
124 #endif
125 #endif
126
127 #ifdef HPArchitecture
128 #define HasPurify        YES
129 #endif
130
131 #ifdef __hp9000s800
132 #define HasCodeCenter        YES
133 #define HasTestCenter        YES
134 #endif
135
136 #ifdef SGIArchitecture
137 #if OSMajorVersion > 5
138 #define HasPurify        YES
139 #endif
140 #endif
141
142 #endif /* AfterVendorCF */