#	$NetBSD: Makefile,v 1.101.2.1 1999/09/22 03:17:43 cgd Exp $
#	from: @(#)Makefile	8.3 (Berkeley) 1/7/94

.include <bsd.own.mk>			# for EXPORTABLE_SYSTEM definition
#					# and OBJECT_FMT definition

SUBDIR=	apply apropos asa at audio banner basename bdes biff \
	bzip2 bzip2recover cal calendar cap_mkdb checknr chflags chpass \
	cksum cmp col colcrt colrm column comm compress \
	crontab crunch ctags cut dirname du eject env \
	error expand false fdformat fgen file find finger fmt fold fpr \
	from fsplit fstat ftp gencat getconf getopt gprof head hesinfo \
	hexdump id indent innetgr ipcrm ipcs join jot kdump ktrace \
	lam last lastcomm ldd leave less lex locate lock \
	logger login logname look lorder m4 machine mail \
	make man menuc mesg midiplay mixerctl mkdep mkfifo mkstr mktemp \
	modstat msgc msgs netgroup netstat newsyslog nfsstat nice nl nohup \
	pagesize passwd paste patch pr printenv printf quota rdist \
	renice rev rlogin rpcgen rpcinfo rs rsh rup \
	ruptime rusers rwall rwho script sed shar shlock \
	showmount shuffle skey skeyinfo skeyinit soelim split \
	su systat tail talk tcopy tee telnet tftp time \
	tip tn3270 top touch tput tr true tset tsort tty ul \
	uname unexpand unifdef uniq units unvis usbhidctl users \
	uudecode uuencode vacation vgrind vi vis vmstat w \
	wall wc what whatis whereis which who whois window \
	write xargs xinstall xlint xstr yacc yes ypcat \
	ypmatch ypwhich

.if	make(obj) || make(clean) || make(cleandir) || make(distclean)
SUBDIR+=elf2aout elf2ecoff telnet
.else

# Build ELF to {ecoff, aout} tools on mips, for old bootblocks/PROMs.
.if (${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "mipseb")
SUBDIR+= elf2aout elf2ecoff
.endif

.endif	# make(obj) || make(clean) || make(cleandir) || make(distclean)

.include <bsd.subdir.mk>
