1XCOMM site: $TOG: site.sample /main/r64_final/1 1998/02/05 16:28:49 kaleb $ 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 ***************************************************************************/ 24XCOMM site: $XFree86: xc/config/cf/site.def,v 3.24 2000/06/25 20:17:29 dawes Exp $ 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 customizations 39 */ 40#ifndef SiteIConfigFiles 41#define SiteIConfigFiles $(IRULESRC)/xorgsite.def $(IRULESRC)/host.def 42#endif 43 44#include <host.def> 45 46#include <xorgsite.def> 47 48/* On systems where cpp doesn't correctly expand 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). 51 */ 52# if defined(AIXArchitecture) || defined(SVR4Architecture) || \ 53 defined(SCOArchitecture) || defined(Win32Architecture) || \ 54 defined(UXPArchitecture) || defined(SunArchitecture) || \ 55 defined(DynixPtxArchitecture) || defined(i386IscArchitecture) 56# ifndef ProjectRulesFile 57# define ProjectRulesFile <X11.rules> 58# endif 59# ifndef ProjectTmplFile 60# define ProjectTmplFile <X11.tmpl> 61# endif 62# endif 63 64/* 65#ifndef HasGcc2 66#define HasGcc2 YES 67#endif 68*/ 69 70#endif /* BeforeVendorCF */ 71 72#ifdef AfterVendorCF 73 74#ifndef ProjectRoot 75#define ProjectRoot @prefix@ 76#endif 77 78#ifndef FontDir 79#define FontDir @FONTROOTDIR@ 80#endif 81 82#ifndef FontEncDir 83#define FontEncDir @ENCODINGSDIR@ 84#endif 85 86/* 87 * On some platforms, some things may be installed outside of ProjectRoot 88 * by default. To disable this, uncomment the following line. 89 * 90#define NothingOutsideProjectRoot YES 91 */ 92 93/* 94 * Set EtcX11Directory if you want config file links installed under 95 * ProjectRoot rather than in /etc/X11. See also HasVarDirectory, 96 * UseEtcX11 and UseSeparateConfDir. 97 * 98#define EtcX11Directory ProjectRoot/etc 99 */ 100 101 102/* Only set HasXdmAuth to YES if you have a Wraphelp.c file. */ 103/* #define HasXdmAuth YES */ 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#if defined(XFree86Version) || defined (XorgVersion) 150#define InstallXserverSetUID YES 151#endif 152*/ 153 154#include <host.def> 155 156#endif /* AfterVendorCF */ 157