1 XCOMM site: $XConsortium: site.def /main/revisionist/4 1996/12/31 08:02:07 kaleb $
2 XCOMM site: $XFree86: xc/config/cf/site.def,v 3.17.2.1 1997/06/22 10:32:21 dawes Exp $
4 /***************************************************************************
6 * SITE-SPECIFIC DEFINITIONS *
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. *
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. *
18 * The after-half should contain all other definitions. For example, *
19 * place your ProjectRoot definition here. *
21 * OS Major and Minor version numbers should be changed directly in the *
22 * .cf file, not overridden in site.def. *
24 ***************************************************************************/
26 /* if you want host-specific customization, this is one way to do it */
28 #ifndef SiteIConfigFiles
29 #define SiteIConfigFiles $(IRULESRC)/host.def
30 #define LocalConfigFiles host.def
38 * Include this for easy XFree86 customisations
41 /*================================================================
42 BEGIN ORL VNC modification
43 Use vnc.def instead of xf86site.def and host.def */
46 #ifndef SiteIConfigFiles
47 #define SiteIConfigFiles $(IRULESRC)/xf86site.def $(IRULESRC)/host.def
52 #include <xf86site.def>
55 #define SiteIConfigFiles $(IRULESRC)/vnc.def
58 /* END ORL VNC modification
59 ================================================================*/
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).
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>
72 # ifndef ProjectTmplFile
73 # define ProjectTmplFile <X11.tmpl>
83 #endif /* BeforeVendorCF */
87 /*================================================================
88 BEGIN ORL VNC modification
89 Define ProjectRoot in vnc.def */
93 #define ProjectRoot /usr/X11R6
97 /* END ORL VNC modification
98 ================================================================*/
100 /* Only set HasXdmAuth to YES if you have a Wraphelp.c file. */
101 #define HasXdmAuth YES
103 /* #define PreIncDir DefaultGccIncludeDir */
106 #if defined(SunArchitecture) && defined(SparcArchitecture)
107 #define HasCodeCenter YES
108 #ifndef SVR4Architecture
109 #define HasTestCenter YES
116 #define HasCodeCenter YES
121 #if defined(SunArchitecture) && defined(SparcArchitecture) && !defined(SVR4Architecture)
122 #define HasPurify YES
127 #define HasSentinel YES
131 #undef DefaultUserPath
132 #define DefaultUserPath /bin:/usr/bin:$(BINDIR):/usr/ucb:/usr/local/bin
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 */
140 #if defined(SunArchitecture) && OSMajorVersion > 4
141 #define InstallXserverSetUID YES
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 */
149 #ifdef XFree86Version
150 #define InstallXserverSetUID YES
154 /*================================================================
155 BEGIN ORL VNC modification
162 /* END ORL VNC modification
163 ================================================================*/
165 #endif /* AfterVendorCF */