# -*-sh-*-
#ident	"@(#)smail/conf/os:RELEASE-3_2_0_120:irix6,v 2.2 2004/07/25 17:28:15 woods Exp"
#
# irix6 - describe characteristics of SGI IRIX version 6.X
#
# copied from irix5, but w/o HAVE=SYSEXITS_H
#
# testing on 6.2 and 6.5 by Bruce Becker <bdb@gts.net>

. $ROOT/conf/os/sys5.4

# sometime somewhere someone made MIPS barf if 8-byte integers
# are not aligned on 8-byte boundaries
#
ARCH_TYPE="32bit8byte"

MISC_DEFINES=$MISC_DEFINES:ANSI_C

# The following override the SVR4 settings - Irix has fixed much of
# the braindamage, but you still need a modern libbind for
# inet_net_ntop() and inet_net_pton()
#
CC=cc
# 1184: gcc is smart enough to use the extra parens as a hint '=' is really wanted instead of '=='
# 1209: yes, I know there are some constant controlling expressions -- get over it!  ;-)
# 3201: yes, I know there are some unused function parameters -- learn /* ARGSUSED */ !!!
# 3496: stupid compiler diags ignore parenthesis that force order of evaluation!
CFLAGS="-Xa -g3 -O3 -fullwarn -diag_suppress 1184,1209,3201,3496"
LDFLAGS="-g3 -O3"
INCLUDES=
OSLIBS=""

# This is a _really_ ugly hack as it presumes nobody uses
# MISC_C_DEFINES in EDITME!
#
MISC_C_DEFINES='
#include <clibdefs.h>
'

HAVE=$HAVE:RENAME:MKDIR:YP:FTRUNCATE:GETHOSTNAME

# Yes, the sbin directories really have to be here ...
SECURE_PATH=/usr/bin:/usr/bsd:/usr/sbin:/sbin:/bin:/usr/local/bin
