/*
 * BSD 4.3
 */
#if (defined(vax) && !defined(ultrix)) || defined(ibm032) || defined(sun)
#define LintCFlag -C
#define ProfCcFlags -pg
#endif

#if (defined(vax) && !defined(ultrix)) || defined(sun)
#define AnsiCcCmd gcc -pipe
#define AnsiLdCmd gcc -pipe
#endif

#ifdef ibm032
#define AnsiCcCmd cc -Hon=read_only_strings
#endif


/*
 * DEC ULTRIX
 */
#if defined(ultrix) && defined(mips)
#define LintFlags -DPOSIX
#define CcFlags LintFlags
#endif


/*
 * IBM AIX
 */
#if defined(_AIX)
#define BsdLibs -lbsd
#define BsdFlags -D_BSD -D_BSD_INCLUDES

#define LdLibs BsdLibs
#define LintFlags BsdFlags -DAIXV=AIXV -DPOSIX

#if AIXV > 30
/* AIX 3.1 */
#define NOLINT
#define CcFlags LintFlags -qlanglvl=extended
#define AnsiCcCmd c89 -qro -D_ALL_SOURCE
#else
/* AIX 1.2 */
#define CcFlags LintFlags -q
#define RmCmd rm -fs
#endif
#endif	/* _AIX */


/*
 * MAC A/UX
 */
#ifdef _AUX_SOURCE
#define NOLINT
#define RanLibCmd \:

/* We do not use -ZP as this undefines all other symbols which can
 * cause the system header files to break.
 */
#define LintFlags -DPOSIX -D_POSIX_SOURCE -D_BSD_SOURCE
#define CcFlags LintFlags
#define LdLibs -lposix
#endif

#ifdef sun
#define ARBinDir /sbin/athena
#define SharedCcFlags -pic
#define build_shared_library(base,objs,rev)				@@\
all-shared:: lib/**/base/**/.so/**/rev					@@\
lib/**/base/**/.so/**/rev: objs						@@\
	(cd shared; ld -assert pure-text -o ../lib/**/base/**/.so/**/rev objs)
#define install_shared_library(base,dir,rev)				@@\
inst-shared:: lib/**/base/**/.so/**/rev					@@\
	$(RM) $(DESTDIR)/**/dir/lib/**/base/**/.so/**/rev		@@\
	$(INSTALL) -m 0644 lib/**/base/**/.so/**/rev $(DESTDIR)/**/dir
#endif

#define KerberosRealm ATHENA.MIT.EDU
#define KerberosMaster KERBEROS.MIT.EDU
#define HaveAFS 1
#define HaveNFSKernelMods 1
#define BuildingAtMIT 1
