155
|
1 XCOMM site: $XConsortium: site.def /main/revisionist/3 1996/10/15 09:31:04 swick $
|
|
2
|
|
3 /***************************************************************************
|
|
4 * *
|
|
5 * SITE-SPECIFIC DEFINITIONS *
|
|
6 * *
|
|
7 * This file contains two halves, one included before the vendor-specific *
|
|
8 * configuration file (.cf file), and one included after the .cf file. *
|
|
9 * The before-half should be protected by #ifdef BeforeVendorCF, and the *
|
|
10 * after-half should be protected by #ifdef AfterVendorCF. *
|
|
11 * *
|
|
12 * The before-half should only set things that the .cf file depends on. *
|
|
13 * For the .cf files shipped in this release, the main variables in this *
|
|
14 * category are HasGcc, HasGcc2, HasCplusplus, OSMajorVersion, *
|
|
15 * OSMinorVersion, and OSTeenyVersion. *
|
|
16 * *
|
|
17 * The after-half should contain all other definitions. For example, *
|
|
18 * place your ProjectRoot definition here. *
|
|
19 * *
|
|
20 * OS Major and Minor version numbers should be changed directly in the *
|
|
21 * .cf file, not overridden in site.def. *
|
|
22 * *
|
|
23 ***************************************************************************/
|
|
24
|
|
25 /* if you want host-specific customization, this is one way to do it */
|
|
26 /*
|
|
27 #ifndef SiteIConfigFiles
|
|
28 #define SiteIConfigFiles $(IRULESRC)/host.def
|
|
29 #define LocalConfigFiles host.def
|
|
30 #endif
|
|
31 */
|
|
32
|
|
33
|
|
34 #ifdef BeforeVendorCF
|
|
35
|
|
36 /* #include <host.def> */
|
|
37
|
|
38 /* On systems where cpp doesn't expand correctly macros in include directives
|
|
39 * the two following macros need to be defined directly (where "X11" is
|
|
40 * really whatever the TopLevelProject macro is defined to be).
|
|
41 */
|
|
42 # ifndef ProjectRulesFile
|
|
43 # define ProjectRulesFile <X11.rules>
|
|
44 # endif
|
|
45 # ifndef ProjectTmplFile
|
|
46 # define ProjectTmplFile <X11.tmpl>
|
|
47 # endif
|
|
48
|
|
49 /*
|
|
50 #ifndef HasGcc2
|
|
51 #define HasGcc2 YES
|
|
52 #endif
|
|
53 */
|
|
54
|
|
55 #endif /* BeforeVendorCF */
|
|
56
|
|
57 #ifdef AfterVendorCF
|
|
58
|
|
59 #define ProjectRoot f:/utils/X11R6
|
|
60
|
|
61 /* Only set HasXdmAuth to YES if you have a Wraphelp.c file. */
|
|
62 /* #define HasXdmAuth YES */
|
|
63
|
|
64 /* #define PreIncDir /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.7.2/include */
|
|
65
|
|
66 /*
|
|
67 #if defined(SunArchitecture) && defined(SparcArchitecture)
|
|
68 #define HasCodeCenter YES
|
|
69 #ifndef SVR4Architecture
|
|
70 #define HasTestCenter YES
|
|
71 #endif
|
|
72 #endif
|
|
73 */
|
|
74
|
|
75 /*
|
|
76 #ifdef __hp9000s800
|
|
77 #define HasCodeCenter YES
|
|
78 #endif
|
|
79 */
|
|
80
|
|
81 /*
|
|
82 #if defined(SunArchitecture) && defined(SparcArchitecture) && !defined(SVR4Architecture)
|
|
83 #define HasPurify YES
|
|
84 #endif
|
|
85 */
|
|
86
|
|
87 /*
|
|
88 #define HasSentinel YES
|
|
89 */
|
|
90
|
|
91 /*
|
|
92 #undef DefaultUserPath
|
|
93 #define DefaultUserPath /bin:/usr/bin:$(BINDIR):/usr/ucb:/usr/local/bin
|
|
94 */
|
|
95
|
|
96
|
|
97 /* You do NOT need SetUID if you only run the server under xdm */
|
|
98 /* You MAY need SetUID if users run the server by hand or under xinit */
|
|
99 /* Consult your system administrator before making the X server setuid */
|
|
100 /*
|
|
101 #if defined(SunArchitecture) && OSMajorVersion > 4
|
|
102 #define InstallXserverSetUID YES
|
|
103 #endif
|
|
104 */
|
|
105
|
|
106 /* You do NOT need SetUID if you only run the server under xdm */
|
|
107 /* You MAY need SetUID if users run the server by hand or under xinit */
|
|
108 /* Consult your system administrator before making the X server setuid */
|
|
109 /*
|
|
110 #ifdef XFree86Version
|
|
111 #define InstallXserverSetUID YES
|
|
112 #endif
|
|
113 */
|
|
114
|
|
115 #ifndef XnestServer
|
|
116 #undef BuildServer
|
|
117 #define BuildServer YES
|
|
118 #define XnestServer YES
|
|
119 #endif
|
|
120
|
|
121 /* #include <host.def> */
|
|
122
|
|
123 #endif /* AfterVendorCF */
|