1XCOMM site: $Xorg: site.sample,v 1.3 2000/08/17 19:41:48 cpqbld Exp $ 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# if defined(AIXArchitecture) || defined(SVR4Architecture) || \ 43 defined(SCOArchitecture) || defined(Win32Architecture) || \ 44 defined(UXPArchitecture) || defined(SunArchitecture) 45# ifndef ProjectRulesFile 46# define ProjectRulesFile <X11.rules> 47# endif 48# ifndef ProjectTmplFile 49# define ProjectTmplFile <X11.tmpl> 50# endif 51# endif 52 53/* 54#ifndef HasGcc2 55#define HasGcc2 YES 56#endif 57*/ 58 59#endif /* BeforeVendorCF */ 60 61#ifdef AfterVendorCF 62 63#define ProjectRoot Concat(/usr/X11R,XORG_VERSION_MAJOR.XORG_VERSION_MINOR) 64 65/* Only set HasXdmAuth to YES if you have a Wraphelp.c file. */ 66/* #define HasXdmAuth YES */ 67 68/* 69#if defined(SunArchitecture) && defined(SparcArchitecture) 70#define HasCodeCenter YES 71#ifndef SVR4Architecture 72#define HasTestCenter YES 73#endif 74#endif 75*/ 76 77/* 78#ifdef __hp9000s800 79#define HasCodeCenter YES 80#endif 81*/ 82 83/* 84#if defined(SunArchitecture) && defined(SparcArchitecture) && !defined(SVR4Architecture) 85#define HasPurify YES 86#endif 87*/ 88 89/* 90#define HasSentinel YES 91*/ 92 93/* 94#undef DefaultUserPath 95#define DefaultUserPath /bin:/usr/bin:$(BINDIR):/usr/ucb:/usr/local/bin 96*/ 97 98 99/* You do NOT need SetUID if you only run the server under xdm */ 100/* You MAY need SetUID if users run the server by hand or under xinit */ 101/* Consult your system administrator before making the X server setuid */ 102/* 103#if defined(SunArchitecture) && OSMajorVersion > 4 104#define InstallXserverSetUID YES 105#endif 106*/ 107 108/* You do NOT need SetUID if you only run the server under xdm */ 109/* You MAY need SetUID if users run the server by hand or under xinit */ 110/* Consult your system administrator before making the X server setuid */ 111/* 112#if defined(XFree86Version) || defined(XorgVersion) 113#define InstallXserverSetUID YES 114#endif 115*/ 116 117#ifndef XnestServer 118#undef BuildServer 119#define BuildServer YES 120#define XnestServer YES 121#endif 122 123/* #include <host.def> */ 124 125#endif /* AfterVendorCF */ 126