/* $Header: /crl/audio/AF/config/RCS/site.def,v 1.6 1993/02/06 19:53:36 tml Exp $ */

/*****************************************************************************
 *                                                                           *
 *			   SITE-SPECIFIC DEFINITIONS                         *
 *                                                                           *
 * Override any of the defaults in *.tmpl here.  Use ifndef so that servers  *
 * can override you if necessary:                                            *
 *                                                                           *
 *     #ifndef ABuildParameter                                               *
 *     #define ABuildParameter myvalue                                       *
 *     #endif                                                                *
 *                                                                           *
 * Make sure you check the following parameters:                             *
 *                                                                           *
 *     1.  ContribDir                                                        *
 *                                                                           *
 * Note on using DESTDIR:  If you want to install into a scratch directory   *
 * but will eventually move the tree back to the root, compile with DESTDIR  *
 * blank and install with "make install DESTDIR=directory".                  *
 *                                                                           *
 * We strongly recommend that you don't change the installation directories  *
 * and just use symbolic links if you want things to be installed on a       *
 * different partition.  For example,                                        *
 *                                                                           *
 *     # cd directory_containing_audio_distribution                          *
 *     # make World                                                          *
 *     # mkdir /otherdisk/audio                                              *
 *     # foreach i (bin lib include)                                         *
 *     >     mkdir /otherdisk/audio/$i                                       *
 *     >     ln -s /otherdisk/audio/$i /usr/$i/audio                         *
 *     > end                                                                 *
 *     # make install                                                        *
 *                                                                           *
 *****************************************************************************/

/*
 * SET THESE PARAMETERS FIRST !!!
 */

/*
 * 1.  HasLargeTmp - if your /tmp space is less than a 1meg, you should 
 * probably set this to NO
 */
#ifndef HasLargeTmp
#define HasLargeTmp YES
#endif


/*
 * 1.  ContribDir - set ContribDir to wherever you've placed your sources; the
 * R4 tape comes with the core tree in ./mit and the contrib tree in ./contrib,
 * so to get to contrib, go up from TOP:
 */
#ifndef ContribDir
#define ContribDir $(TOP)/contrib
#endif


/*****************************************************************************
 *                                                                           *
 *			       Build Parameters                              *
 *                                                                           *
 *****************************************************************************/

/*
 * If you want to use GCC, set HasGcc in the appropriate .cf files.
 */

#ifndef HasGcc
#ifdef vax
#define HasGcc YES
#else
#define HasGcc NO
#endif
#endif

#if HasGcc
#ifndef CcCmd
#ifdef UseInstalled		/* if outside the tree */
#define CcCmd gcc -DNOSTDHDRS -fstrength-reduce -fpcc-struct-return -fwritable-strings -traditional
#else				/* server won't compile with -traditional */
#define CcCmd gcc -DNOSTDHDRS -fstrength-reduce -fpcc-struct-return 
#endif
#endif
#endif

/*
 * Installation directories for use at CRL.
 */

#ifndef BinDir
#ifdef AlphaArchitecture
#define BinDir  $(DESTDIR)/usr/local/audio/bin/
#endif
#ifdef MipsArchitecture
#define BinDir  $(DESTDIR)/crl/audio/bin.mips/
#endif
#ifdef SparcArchitecture
#define BinDir  $(DESTDIR)/crl/audio/bin/
#endif
#endif

#ifndef UsrLibDir
#ifdef AlphaArchitecture
#define UsrLibDir $(DESTDIR)/usr/local/audio/lib/
#endif
#ifdef MipsArchitecture
#define UsrLibDir $(DESTDIR)/crl/audio/lib.mips/
#endif
#ifdef SparcArchitecture
#define UsrLibDir $(DESTDIR)/crl/audio/lib/
#endif
#endif

#ifndef ManDirectoryRoot
#define ManDirectoryRoot $(DESTDIR)/usr/local/audio/man/
#endif

#ifndef ManSuffix
#define ManSuffix	1
#endif

#ifndef IncRoot
#define IncRoot $(DESTDIR)/usr/local/audio/include
#endif

#ifndef ExtensionDefines
#if SystemV
#define ExtensionDefines
#else
#define ExtensionDefines
#endif
#endif
