1 XCOMM site: $XConsortium: site.def /main/revisionist/3 1996/10/15 09:31:04 swick $
3 /***************************************************************************
5 * SITE-SPECIFIC DEFINITIONS *
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. *
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. *
17 * The after-half should contain all other definitions. For example, *
18 * place your ProjectRoot definition here. *
20 * OS Major and Minor version numbers should be changed directly in the *
21 * .cf file, not overridden in site.def. *
23 ***************************************************************************/
25 /* if you want host-specific customization, this is one way to do it */
27 #ifndef SiteIConfigFiles
28 #define SiteIConfigFiles $(IRULESRC)/host.def
29 #define LocalConfigFiles host.def
36 /* #include <host.def> */
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).
42 # ifndef ProjectRulesFile
43 # define ProjectRulesFile <X11.rules>
45 # ifndef ProjectTmplFile
46 # define ProjectTmplFile <X11.tmpl>
55 #endif /* BeforeVendorCF */
59 #define ProjectRoot f:/utils/X11R6
61 /* Only set HasXdmAuth to YES if you have a Wraphelp.c file. */
62 /* #define HasXdmAuth YES */
64 /* #define PreIncDir /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.7.2/include */
67 #if defined(SunArchitecture) && defined(SparcArchitecture)
68 #define HasCodeCenter YES
69 #ifndef SVR4Architecture
70 #define HasTestCenter YES
77 #define HasCodeCenter YES
82 #if defined(SunArchitecture) && defined(SparcArchitecture) && !defined(SVR4Architecture)
88 #define HasSentinel YES
92 #undef DefaultUserPath
93 #define DefaultUserPath /bin:/usr/bin:$(BINDIR):/usr/ucb:/usr/local/bin
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 */
101 #if defined(SunArchitecture) && OSMajorVersion > 4
102 #define InstallXserverSetUID YES
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 */
110 #ifdef XFree86Version
111 #define InstallXserverSetUID YES
117 #define BuildServer YES
118 #define XnestServer YES
121 /* #include <host.def> */
123 #endif /* AfterVendorCF */