| 1 |
/*************************************************************************** |
| 2 |
* * |
| 3 |
* SITE-SPECIFIC DEFINITIONS * |
| 4 |
* * |
| 5 |
* This file contains two halves, one included before the vendor-specific * |
| 6 |
* configuration file (.cf file), and one included after the .cf file. * |
| 7 |
* The before-half should be protected by #ifdef BeforeVendorCF, and the * |
| 8 |
* after-half should be protected by #ifdef AfterVendorCF. * |
| 9 |
* * |
| 10 |
* The before-half should only set things that the .cf file depends on. * |
| 11 |
* For the .cf files shipped in this release, the main variables in this * |
| 12 |
* category are HasGcc, HasGcc2, HasCplusplus, OSMajorVersion, * |
| 13 |
* OSMinorVersion, and OSTeenyVersion. * |
| 14 |
* * |
| 15 |
* The after-half should contain all other definitions. For example, * |
| 16 |
* place your ProjectRoot definition here. * |
| 17 |
* * |
| 18 |
* OS Major and Minor version numbers should be changed directly in the * |
| 19 |
* .cf file, not overridden in site.def. * |
| 20 |
* * |
| 21 |
***************************************************************************/ |
| 22 |
|
| 23 |
/* if you want host-specific customization, this is one way to do it */ |
| 24 |
/* |
| 25 |
#ifndef SiteIConfigFiles |
| 26 |
#define SiteIConfigFiles $(IRULESRC)/host.def |
| 27 |
#define LocalConfigFiles host.def |
| 28 |
#endif |
| 29 |
*/ |
| 30 |
|
| 31 |
|
| 32 |
#ifdef BeforeVendorCF |
| 33 |
|
| 34 |
/* |
| 35 |
* Include this for easy XFree86 customisations |
| 36 |
*/ |
| 37 |
#ifndef SiteIConfigFiles |
| 38 |
#define SiteIConfigFiles $(IRULESRC)/xorgsite.def $(IRULESRC)/host.def |
| 39 |
#endif |
| 40 |
|
| 41 |
#include <host.def> |
| 42 |
|
| 43 |
#include <xorgsite.def> |
| 44 |
|
| 45 |
/* On systems where cpp doesn't correctly expand macros in include directives |
| 46 |
* the two following macros need to be defined directly (where "X11" is |
| 47 |
* really whatever the TopLevelProject macro is defined to be). |
| 48 |
*/ |
| 49 |
# if defined(SVR4Architecture) || \ |
| 50 |
defined(SCOArchitecture) || defined(Win32Architecture) || \ |
| 51 |
defined(UXPArchitecture) || defined(SunArchitecture) || \ |
| 52 |
defined(DynixPtxArchitecture) || defined(i386IscArchitecture) |
| 53 |
# ifndef ProjectRulesFile |
| 54 |
# define ProjectRulesFile <X11.rules> |
| 55 |
# endif |
| 56 |
# ifndef ProjectTmplFile |
| 57 |
# define ProjectTmplFile <X11.tmpl> |
| 58 |
# endif |
| 59 |
# endif |
| 60 |
|
| 61 |
/* |
| 62 |
#ifndef HasGcc2 |
| 63 |
#define HasGcc2 YES |
| 64 |
#endif |
| 65 |
*/ |
| 66 |
|
| 67 |
#endif /* BeforeVendorCF */ |
| 68 |
|
| 69 |
#ifdef AfterVendorCF |
| 70 |
|
| 71 |
#ifndef ProjectRoot |
| 72 |
#define ProjectRoot /usr/local |
| 73 |
#endif |
| 74 |
|
| 75 |
/* |
| 76 |
* On some platforms, some things may be installed outside of ProjectRoot |
| 77 |
* by default. To disable this, uncomment the following line. |
| 78 |
* |
| 79 |
#define NothingOutsideProjectRoot YES |
| 80 |
*/ |
| 81 |
|
| 82 |
/* |
| 83 |
* Set EtcX11Directory if you want config file links installed under |
| 84 |
* ProjectRoot rather than in /etc/X11. See also HasVarDirectory, |
| 85 |
* UseEtcX11 and UseSeparateConfDir. |
| 86 |
* |
| 87 |
#define EtcX11Directory /etc/nx |
| 88 |
*/ |
| 89 |
|
| 90 |
|
| 91 |
/* Only set HasXdmAuth to YES if you have a Wraphelp.c file. */ |
| 92 |
/* #define HasXdmAuth YES */ |
| 93 |
|
| 94 |
/* |
| 95 |
#if defined(SunArchitecture) && defined(SparcArchitecture) |
| 96 |
#define HasCodeCenter YES |
| 97 |
#ifndef SVR4Architecture |
| 98 |
#define HasTestCenter YES |
| 99 |
#endif |
| 100 |
#endif |
| 101 |
*/ |
| 102 |
|
| 103 |
/* |
| 104 |
#ifdef __hp9000s800 |
| 105 |
#define HasCodeCenter YES |
| 106 |
#endif |
| 107 |
*/ |
| 108 |
|
| 109 |
/* |
| 110 |
#if defined(SunArchitecture) && defined(SparcArchitecture) && !defined(SVR4Architecture) |
| 111 |
#define HasPurify YES |
| 112 |
#endif |
| 113 |
*/ |
| 114 |
|
| 115 |
/* |
| 116 |
#define HasSentinel YES |
| 117 |
*/ |
| 118 |
|
| 119 |
/* |
| 120 |
#undef DefaultUserPath |
| 121 |
#define DefaultUserPath /bin:/usr/bin:$(BINDIR):/usr/ucb:/usr/local/bin |
| 122 |
*/ |
| 123 |
|
| 124 |
#include <host.def> |
| 125 |
|
| 126 |
#endif /* AfterVendorCF */ |