Makefile revision 26274
183104Sphantom#	From: @(#)Makefile	8.3 (Berkeley) 1/7/94
287659Sphantom#	$Id: Makefile,v 1.84 1997/05/28 16:05:03 wpaul Exp $
383104Sphantom
483104Sphantom# XXX MISSING:		deroff diction graph learn plot
583104Sphantom#			spell spline struct units xsend
683104Sphantom# XXX Use GNU versions: apropos bc dc diff grep ld man patch ptx uucp whatis
783104Sphantom# Moved to secure: bdes
883104Sphantom#
983104SphantomSUBDIR=	apply ar at banner basename biff brandelf cal calendar \
1083104Sphantom	cap_mkdb chat checknr chflags chpass cksum col colcrt colldef colrm \
1183104Sphantom	column comm compile_et compress chkey cpp ctags cut dig \
1283104Sphantom	dirname dnsquery du ee env error expand f2c false fetch file file2c \
1383104Sphantom	find finger fmt fold fpr from fsplit fstat ftp gcore gencat getopt \
1483104Sphantom	global gprof head hexdump host id indent ipcrm ipcs \
1583104Sphantom	join jot kdump ktrace key keyinfo keyinit keylogin keylogout killall \
1683104Sphantom	lam last lastcomm leave lex limits locate lock lockf logger login \
1783104Sphantom	logname lorder lsvfs m4 mail make mesg mkdep mkfifo mklocale mkstr \
1883104Sphantom	mk_cmds modstat more msgs mt netstat newkey nfsstat nice \
1983104Sphantom	nm nohup opieinfo opiekey opiepasswd pagesize passwd paste pr printenv \
2083104Sphantom	printf quota ranlib rdist renice rev rlogin rpcgen \
2183104Sphantom	rpcinfo rs rsh rup ruptime rusers rwall \
2283104Sphantom	rwho script sed sgmlfmt sgmls shar showmount size soelim split \
2383104Sphantom	strings	strip su symorder talk tconv tcopy tee tftp time \
2483104Sphantom	tip tn3270 top touch tput tr true tset tsort tty ul uname \
2583104Sphantom	unexpand unifdef uniq units unvis users uudecode uuencode vacation \
2683104Sphantom	vgrind vi vis w wall wc what whereis which who whois window \
2783104Sphantom	write xargs xinstall xlint xstr yacc yes ypcat ypmatch ypwhich
2892986SobrienSUBDIR+=gprof4
2992986Sobrien
3083104Sphantom.if !defined(NOTCL) && exists (${.CURDIR}/../contrib/tcl) && \
3183104Sphantom	exists(${.CURDIR}/tclsh) && exists (${.CURDIR}/../lib/libtcl)
3283104SphantomSUBDIR+=tclsh
3383104Sphantom.endif
3483104Sphantom
3583104Sphantom.if !exists(../eBones) || defined(NOSECURE) || !defined(MAKE_EBONES)
3683104SphantomSUBDIR+=telnet
3783104Sphantom.else
3883104Sphantom.if defined(RELEASEDIR)
3983104Sphantom# releases do need both
4083104SphantomSUBDIR+=telnet
4183104Sphantom.endif
4283104SphantomSUBDIR+= ../eBones/usr.bin/telnet
4383104Sphantom.endif
4483104Sphantom
4583104Sphantom# Cmp, look and tail all use mmap, so new-VM only.
4683104Sphantom# F77 and pascal are VAX/Tahoe only.
4783104Sphantom.if	make(clean) || make(cleandir)
4883104Sphantom# XXX Should have `f77', `pascal' & `vmstat.sparc' judging by the
4983104Sphantom#     machine dependant lines, but we don't have them
5083104SphantomSUBDIR+=cmp kzip look sasc systat tail vmstat
5183104Sphantom.elif	${MACHINE} == "hp300"
5283559SmikeSUBDIR+=cmp ld look systat tail vmstat
5383104Sphantom.elif	${MACHINE} == "i386"
5483104SphantomSUBDIR+=cmp kzip look sasc systat tail vmstat
5583104Sphantom# XXX Use gnu/usr.bin/ld for now
5683559Smike.elif	${MACHINE} == "luna68k"
5783104SphantomSUBDIR+=cmp ld look systat tail vmstat
5883559Smike.elif	${MACHINE} == "mips"
5983104SphantomSUBDIR+=cmp look systat tail vmstat
6083104Sphantom.elif	${MACHINE} == "sparc"
6183104SphantomSUBDIR+=cmp ld look tail vmstat.sparc
6283559Smike.elif	${MACHINE} == "tahoe"
6383104SphantomSUBDIR+=f77 pascal systat vmstat
6483559Smike.elif	${MACHINE} == "vax"
6583104SphantomSUBDIR+=f77 pascal systat vmstat
6683104Sphantom.endif
6783104Sphantom
6883104Sphantom.include <bsd.subdir.mk>
6983104Sphantom