XCOMM site:  $XConsortium: site.def,v 1.2 91/07/30 20:26:44 rws Exp $

/*****************************************************************************
 *                                                                           *
 *			   SITE-SPECIFIC DEFINITIONS                         *
 *                                                                           *
 * This file contains two halves, one included before the vendor-specific    *
 * configuration file (.cf file), and one included after the .cf file.       *
 * The before-half should be protected by #ifdef BeforeVendorCF, and the     *
 * after-half should be protected by #ifdef AfterVendorCF.                   *
 *                                                                           *
 * The before-half should only set things that the .cf file depends on.      *
 * For the .cf files shipped in this release, the main variable in this      *
 * category is HasGcc.                                                       *
 *                                                                           *
 * The after-half should contain all other definitions.  For example,        *
 * place your ProjectRoot definition here.  Beware that several of the       *
 * .cf files supplied by vendors have a ProjectRoot already defined, so      *
 * you may need to #undef it first.                                          *
 *                                                                           *
 * OS Major and Minor version numbers should be changed directly in the .cf  *
 * file, not overridden in site.def.                                         *
 *                                                                           *
 *****************************************************************************/

#ifdef BeforeVendorCF

#define	ATHENA
#ifdef SparcArchitecture
#define	HasGcc	YES
#endif

#define	TroffCmd psroff -t

/* We're not interested in building shread libraries. */
#define HasSharedLibraries	NO

#endif /* BeforeVendorCF */

#ifdef AfterVendorCF

#define InstallLibManPages NO

#undef ProjectRoot
#define ProjectRoot		/usr/athena

#undef ConfigDir
#define ConfigDir		CONFIGDIR

#ifdef SunArchitecture
#define SiteIncludes		-I/usr/openwin/include -I/usr/dt/include
#define SiteLdLibs		-L/usr/openwin/lib -Xlinker -R/usr/openwin/lib -L/usr/dt/lib -Xlinker -R/usr/dt/lib
#define BuildPex		NO
#define	CcCmd			/usr/gcc/bin/gcc -DSOLARIS
#define DoRanlibCmd		No
#define ExtraLibraries		-lsocket -lresolv -lnsl
#define OptimizedCDebugFlags	-O2
#endif

#endif /* AfterVendorCF */
