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
40
#ifndef SiteIConfigFiles
41
#define SiteIConfigFiles $(IRULESRC)/xf86site.def $(IRULESRC)/host.def
46
#include <xf86site.def>
48
/* On systems where cpp doesn't expand correctly macros in include directives
49
* the two following macros need to be defined directly (where "X11" is
50
* really whatever the TopLevelProject macro is defined to be).
52
# if defined(AIXArchitecture) || defined(SVR4Architecture) || \
53
defined(SCOArchitecture) || defined(Win32Architecture) || \
54
defined(UXPArchitecture) || defined(SunArchitecture) || \
55
defined(i386IscArchitecture)
56
# ifndef ProjectRulesFile
57
# define ProjectRulesFile <Motif.rules>
59
# ifndef ProjectTmplFile
60
# define ProjectTmplFile <Motif.tmpl>
70
#endif /* BeforeVendorCF */
75
#define ProjectRoot /usr/X11R6
78
/* Only set HasXdmAuth to YES if you have a Wraphelp.c file. */
79
/* #define HasXdmAuth YES */
81
/* #define PreIncDir DefaultGccIncludeDir */
84
#if defined(SunArchitecture) && defined(SparcArchitecture)
85
#define HasCodeCenter YES
86
#ifndef SVR4Architecture
87
#define HasTestCenter YES
94
#define HasCodeCenter YES
99
#if defined(SunArchitecture) && defined(SparcArchitecture) && !defined(SVR4Architecture)
100
#define HasPurify YES
105
#define HasSentinel YES
109
#undef DefaultUserPath
110
#define DefaultUserPath /bin:/usr/bin:$(BINDIR):/usr/ucb:/usr/local/bin
114
/* You do NOT need SetUID if you only run the server under xdm */
115
/* You MAY need SetUID if users run the server by hand or under xinit */
116
/* Consult your system administrator before making the X server setuid */
118
#if defined(SunArchitecture) && OSMajorVersion > 4
119
#define InstallXserverSetUID YES
123
/* You do NOT need SetUID if you only run the server under xdm */
124
/* You MAY need SetUID if users run the server by hand or under xinit */
125
/* Consult your system administrator before making the X server setuid */
127
#ifdef XFree86Version
128
#define InstallXserverSetUID YES
134
#endif /* AfterVendorCF */