/*
 * $Header: /mit/olhdev/src/config/RCS/site.def,v 1.13 1992/08/11 17:33:39 lwvanels Exp $
 * Set some site-specific flags.
 */

#ifndef InstallNewLoc
#define InstallNewLoc   1
#endif
#ifndef DebugBuild
#define DebugBuild	1
#endif
#ifndef HaveGcc
#define HaveGcc		0
#endif
#ifndef HaveHesiod
#define HaveHesiod	1
#endif
#ifndef AthenaCompat
#define AthenaCompat	1
#endif
#ifndef HaveMotif
#define HaveMotif       1
#endif
#ifndef DoUsageLog
#define DoUsageLog      0  /* Log usage of clients */
#endif

/*
 * Not too much of the following should be site-specific, but it has
 * to go here...
 */

#if HaveGcc
#define CcCmd	gcc
#endif

#define PassCDebugFlags	CDEBUGFLAGS='$(CDEBUGFLAGS)' CC='$(CC)'

#ifndef UseInstalled
#define UseInstalled
#endif

#ifndef MachSpecDef
#define MachSpecDef
#endif


#if InstallNewLoc
#define InstallAltLoc
#endif

#if DebugBuild
#define DefaultCDebugFlags -g
#else
#define DefaultCDebugFlags -O
#endif

#if TestInstall
#define InstPgmFlags
#define InstallAltLoc
#endif

#if HaveHesiod
#define	HesiodDef	-DHESIOD
HesiodLib	=	-L/usr/athena/lib -lhesiod$(LIBSUFFIX)
#else
#define	HesiodDef
#endif

#if AthenaCompat
#define	AthenaDef	-DATHENA
#else
#define	AthenaDef
#endif

#if DoUsageLog
#define ULogDef         -DLOG_USAGE
#else
#define ULogDef
#endif

#if HaveTermIO
#define TermIODef       -DTERMIO
#else
#define TermIODef
#endif

/* Define these to use $(LIBSUFFIX) or not, absolute pathnames or not,
   depending on what you have installed.  */

ComErrLib	=	-L/usr/athena/lib -lcom_err$(LIBSUFFIX)
TermcapLib	=	-ltermcap$(LIBSUFFIX)
CursesLib	=	-lcurses$(LIBSUFFIX)
MotifLib	=	-L/usr/athena/lib -lMu -lXm -lXt -lXmu
XLibs		=	-L/usr/athena/X11/lib -lX11$(LIBSUFFIX)

#define StandardDefines	HesiodDef AthenaDef MachSpecDef ULogDef TermIODef
