#
#	$Id: irix-6.4,v 1.1.1.1 1997/07/03 21:43:59 chopps Exp $
#
#	Configuration for IRIX 6.4
#
#	This probably works with IRIX 6.2 and 6.3 also
#
#	IRIX 6.x has the sysctl call, and provides route and interface
#	information through the route socket.
#
#	There is an bug in the loader (at least with IRIX 6.4.1/IDO7.1.1
#	which prevents loading of gated. If you get an message from the
#	loader about unresolved reference to sys_signames, then edit
#	the Makefile by Hand, and add signames.o at the end of the OBJS list
#	Then gated will load just fine
#
#	There are other bugs and inconsitencies in the header files, which
#	are worked around in the code. For one of this bugs you need the
#	option IRIX_SDL_LEN_BUG	
#
#	Hint for future releases of IRIX (probably 6.5 and up):
#
#	With later releases of IRIX you should probably try it without
#	IRIX_SDL_LEN_BUG and with SOCKET_LENGTHS. But be aware if 
#	the LEN_BUG is there, gated will die during traceing. Just
#	try "gated -c -tall". If the bug is there and IRIX_SDL_LEN_BUG
#	is not set, then gated dies in strncpy when it trys to print
#	a link level address
#
#	Klaus Steinberger <Klaus.Steinberger@Physik.Uni-Muenchen.DE>
#

bindir	/usr/bin
sbindir	/etc
mandir  /usr/share/man
mantype	aix

signal_h	/usr/include/sys/signal.h

cc	cc 
cflags	-g -w

ldflags	
ldothers	-lelf

lex	lex
lflags	-v

mkdep	mkdep.canned

options IRIX_SDL_LEN_BUG

options	USE_SETPGRP 
options NEED_SIGNAME
options NEED_UNSETENV
options	INCLUDE_UNISTD GID_T=gid_t
options INCLUDE_FCNTRL
options	VARIABLE_MASKS SOCKADDR_DL
options	POSIX_SIGNALS HAVE_WAITPID
options	KRT_RTREAD_KINFO KRT_IFREAD_KINFO KRT_RT_SOCK USE_SYSCTL 
options KRT_LLADDR_NONE KVM_TYPE_NONE KRT_SYMBOLS_SYSCTL
options KRT_SOCKET_TYPE="PF_ROUTE, SOCK_RAW, AF_UNSPEC"
options	tzsetwall()={unsetenv("TZ");tzset();}
options GDC_RESOURCE

yacc	yacc
yflags	-d

options

path_unix	/unix

protocols	bgp egp hello icmp rip rdisc ospf

