1XCOMM site:  $XConsortium: site.def /main/revisionist/4 1996/12/31 08:02:07 kaleb $
2XCOMM site:  $XFree86: xc/config/cf/site.def,v 3.17.2.1 1997/06/22 10:32:21 dawes Exp $
3
4/***************************************************************************
5 *                                                                         *
6 *			   SITE-SPECIFIC DEFINITIONS                       *
7 *                                                                         *
8 * This file contains two halves, one included before the vendor-specific  *
9 * configuration file (.cf file), and one included after the .cf file.     *
10 * The before-half should be protected by #ifdef BeforeVendorCF, and the   *
11 * after-half should be protected by #ifdef AfterVendorCF.                 *
12 *                                                                         *
13 * The before-half should only set things that the .cf file depends on.    *
14 * For the .cf files shipped in this release, the main variables in this   *
15 * category are HasGcc, HasGcc2, HasCplusplus, OSMajorVersion,             *
16 * OSMinorVersion, and OSTeenyVersion.                                     *
17 *                                                                         *
18 * The after-half should contain all other definitions.  For example,      *
19 * place your ProjectRoot definition here.                                 *
20 *                                                                         *
21 * OS Major and Minor version numbers should be changed directly in the    *
22 * .cf file, not overridden in site.def.                                   *
23 *                                                                         *
24 ***************************************************************************/
25
26/* if you want host-specific customization, this is one way to do it */
27/*
28#ifndef SiteIConfigFiles
29#define SiteIConfigFiles $(IRULESRC)/host.def
30#define LocalConfigFiles host.def
31#endif
32*/
33
34
35#ifdef BeforeVendorCF
36
37/*
38 * Include this for easy XFree86 customisations
39 */
40
41/*================================================================
42   BEGIN ORL VNC modification
43   Use vnc.def instead of xf86site.def and host.def */
44
45/* REMOVE
46#ifndef SiteIConfigFiles
47#define SiteIConfigFiles $(IRULESRC)/xf86site.def $(IRULESRC)/host.def
48#endif
49
50#include <host.def>
51
52#include <xf86site.def>
53*/
54
55#define SiteIConfigFiles $(IRULESRC)/vnc.def
56#include <vnc.def>
57
58/* END ORL VNC modification
59================================================================*/
60
61/* On systems where cpp doesn't expand correctly macros in include directives
62 * the two following macros need to be defined directly (where "X11" is
63 * really whatever the TopLevelProject macro is defined to be).
64 */
65# if defined(AIXArchitecture) || defined(SVR4Architecture) || \
66     defined(SCOArchitecture) || defined(Win32Architecture) || \
67     defined(UXPArchitecture) || defined(SunArchitecture) || \
68     defined(i386IscArchitecture)
69#  ifndef ProjectRulesFile
70#   define ProjectRulesFile	<X11.rules>
71#  endif
72#  ifndef ProjectTmplFile
73#   define ProjectTmplFile	<X11.tmpl>
74#  endif
75# endif
76
77/*
78#ifndef HasGcc2
79#define HasGcc2 YES
80#endif
81*/
82
83#endif /* BeforeVendorCF */
84
85#ifdef AfterVendorCF
86
87/*================================================================
88   BEGIN ORL VNC modification
89   Define ProjectRoot in vnc.def */
90
91/* REMOVE
92#ifndef ProjectRoot
93#define ProjectRoot /usr/X11R6
94#endif
95*/
96
97/* END ORL VNC modification
98================================================================*/
99
100/* Only set HasXdmAuth to YES if you have a Wraphelp.c file. */
101#define HasXdmAuth YES
102
103/* #define PreIncDir DefaultGccIncludeDir */
104
105/*
106#if defined(SunArchitecture) && defined(SparcArchitecture)
107#define HasCodeCenter	YES
108#ifndef SVR4Architecture
109#define HasTestCenter	YES
110#endif
111#endif
112*/
113
114/*
115#ifdef __hp9000s800
116#define HasCodeCenter	YES
117#endif
118*/
119
120/*
121#if defined(SunArchitecture) && defined(SparcArchitecture) && !defined(SVR4Architecture)
122#define HasPurify	YES
123#endif
124*/
125
126/*
127#define HasSentinel	YES
128*/
129
130/*
131#undef DefaultUserPath
132#define DefaultUserPath /bin:/usr/bin:$(BINDIR):/usr/ucb:/usr/local/bin
133*/
134
135
136/* You do NOT need SetUID if you only run the server under xdm */
137/* You MAY need SetUID if users run the server by hand or under xinit */
138/* Consult your system administrator before making the X server setuid */
139/*
140#if defined(SunArchitecture) && OSMajorVersion > 4
141#define InstallXserverSetUID YES
142#endif
143*/
144
145/* You do NOT need SetUID if you only run the server under xdm */
146/* You MAY need SetUID if users run the server by hand or under xinit */
147/* Consult your system administrator before making the X server setuid */
148/*
149#ifdef XFree86Version
150#define InstallXserverSetUID YES
151#endif
152*/
153
154/*================================================================
155   BEGIN ORL VNC modification
156   No host.def */
157
158/* REMOVE
159#include <host.def>
160*/
161
162/* END ORL VNC modification
163================================================================*/
164
165#include <vnc.def>
166
167#endif /* AfterVendorCF */
168