Merge branch 'master' of ssh://git.code.sf.net/p/cdesktopenv/code
[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) || defined(FreeBSDArchitecture)
71 #  define X11ProjectRoot        /usr
72 # else
73 #  define X11ProjectRoot        /X11
74 # endif
75 #endif
76
77 #ifndef ProjectRoot
78 # define ProjectRoot    /usr/dt
79 #endif
80
81 #ifdef SunArchitecture
82 # define DtLocalesToBuild de_DE.ISO8859-1 es_ES.ISO8859-1 fr_FR.ISO8859-1 it_IT.ISO8859-1
83 #endif
84
85 #ifdef UXPArchitecture
86 # define DtLocalesToBuild ja_JP.dt-eucJP
87 #endif
88
89 XCOMM Make sure you have installed the de_DE, es_ES, fr_FR and it_IT locales.
90 XCOMM  or building non-C locales will cause build failures.
91 #if defined(LinuxArchitecture) || defined(FreeBSDArchitecture)
92 # define DtLocalesToBuild de_DE.ISO8859-1 es_ES.ISO8859-1 fr_FR.ISO8859-1 it_IT.ISO8859-1
93 #endif
94
95 #ifdef SunArchitecture
96 #define HasCodeCenter        YES
97 #define HasTestCenter        YES
98 #ifdef SparcArchitecture
99 #define HasPurify        YES
100 #endif
101 #endif
102
103 #ifdef HPArchitecture
104 #define HasPurify        YES
105 #endif
106
107 #ifdef __hp9000s800
108 #define HasCodeCenter        YES
109 #define HasTestCenter        YES
110 #endif
111
112 #ifdef SGIArchitecture
113 #if OSMajorVersion > 5
114 #define HasPurify        YES
115 #endif
116 #endif
117
118 #endif /* AfterVendorCF */