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 HasGcc YES
#define HasGcc2 YES
#define SystemV4 YES

#define UseInstalled YES

#endif /* BeforeVendorCF */

#ifdef AfterVendorCF

/*
 * Use ANSI C compiler.
 * Note: IncRoot doesn't seem to get used very consistently in
 * Imakefiles so things are frequently built using /usr/include.
 * This causes annoying warning messages but I think everything
 * "does the right thing".
 */

#ifdef SVR4
#define CcCmd gcc
#else
#define CcCmd acc
#define IncRoot /usr/dist/local/sun4/lang/SC1.0/include/CC
#endif

/*
/*
#ifdef ProjectRoot
#undef ProjectRoot
#endif
#define ProjectRoot /usr/X11R5
#define ProjectRoot /usr/openwin
*/
#define ProjectRoot $(OPENWINHOME)

#endif /* AfterVendorCF */
