/*
 * $Header: /afs/sipb.mit.edu/project/sipb-athena/repository/src/olh/config/site.def,v 1.18 1996/03/19 18:09:44 ghudson Exp $
 * Set some site-specific flags.
 */

#ifndef InstallNewLoc
#define InstallNewLoc   1
#endif
#ifndef DebugBuild
#define DebugBuild	0
#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      1  /* 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	=	-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

#if SystemV
#define SystemVDef       -DSYSV
#else
#define SystemVDef
#endif

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

ComErrLib	=	-lcom_err$(LIBSUFFIX)
TermcapLib	=	-ltermcap$(LIBSUFFIX)
CursesLib	=	-lcurses$(LIBSUFFIX) -ltermcap$(LIBSUFFIX)
MotifLib	=	-lMu -lMrm -lXm -lXmu -lXt
XLibs		=	-lX11$(LIBSUFFIX)
XextLib		=       -lXext$(LIBSUFFIX)

LDFLAGS= -L/usr/X11/lib -L/usr/athena/lib

#define StandardDefines	HesiodDef AthenaDef MachSpecDef ULogDef TermIODef SystemVDef
