Makefile revision 34706
12966Swollman#	From: @(#)Makefile	8.3 (Berkeley) 1/7/94
234706Sbde#	$Id: Makefile,v 1.94 1998/03/13 19:41:06 jb Exp $
31590Srgrimes
44699Sjkh# XXX MISSING:		deroff diction graph learn plot
534706Sbde#			spell spline struct xsend
65766Sbde# XXX Use GNU versions: apropos bc dc diff grep ld man patch ptx uucp whatis
71930Swollman# Moved to secure: bdes
81930Swollman#
934554SjbSUBDIR=	apply at banner basename biff c89 calendar \
106531Sache	cap_mkdb chat checknr chflags chpass cksum col colcrt colldef colrm \
1126247Swpaul	column comm compile_et compress chkey cpp ctags cut dig \
1234554Sjb	dirname dnsquery du ee env error expand \
1328379Sjlemon	f2c false fetch file file2c \
1434554Sjb	find finger fmt fold fpr from fsplit ftp gencat getopt \
1534554Sjb	global head hexdump host id indent \
1634554Sjb	join jot key keyinfo keyinit keylogin keylogout killall \
1726247Swpaul	lam last lastcomm leave lex limits locate lock lockf logger login \
1834554Sjb	logname lsvfs m4 mail make mesg mkdep mkfifo mklocale mkstr \
1934554Sjb	mk_cmds more msgs ncal netstat newkey nfsstat nice \
2022384Spst	nm nohup opieinfo opiekey opiepasswd pagesize passwd paste pr printenv \
2134554Sjb	printf quota rdist renice rev rlogin rpcgen \
228124Sjkh	rpcinfo rs rsh rup ruptime rusers rwall \
2327526Sjfieber	rwho script sed shar showmount size soelim split \
2434554Sjb	strings	su symorder talk tconv tcopy tee tftp time \
2534554Sjb	tip tn3270 touch tput tr true tset tsort tty ul uname \
2616189Salex	unexpand unifdef uniq units unvis users uudecode uuencode vacation \
2734554Sjb	vgrind vi vis wall wc what whereis which who whois window \
2814789Spaul	write xargs xinstall xlint xstr yacc yes ypcat ypmatch ypwhich
2934554SjbSUBDIR+=minigzip
301590Srgrimes
3134554Sjb.if defined(RELEASEDIR) || !exists(${.CURDIR}/../kerberosIV) || defined(NOCRYPT) || !defined(MAKE_KERBEROS4)
3234554Sjb# releases do need both
3334554SjbSUBDIR+=telnet
3434554Sjb.endif
3534554Sjb
3634554Sjb.if ${MACHINE_ARCH} == "i386"
3734554Sjb# Things that don't compile on alpha:
3834554SjbSUBDIR+=ar brandelf doscmd fstat gcore gprof gprof4 ipcrm ipcs kdump ktrace \
3934554Sjb	modstat mt ranlib strip top truss w lorder
4034554Sjb
4124834Speter.if !defined(NOTCL) && exists (${.CURDIR}/../contrib/tcl) && \
4224834Speter	exists(${.CURDIR}/tclsh) && exists (${.CURDIR}/../lib/libtcl)
4324834SpeterSUBDIR+=tclsh
4424834Speter.endif
4524834Speter
4614080Sjoerg.endif
479956Smarkm
481590Srgrimes# Cmp, look and tail all use mmap, so new-VM only.
491590Srgrimes# F77 and pascal are VAX/Tahoe only.
503624Sgpalmer.if	make(clean) || make(cleandir)
513636Sgpalmer# XXX Should have `f77', `pascal' & `vmstat.sparc' judging by the
523636Sgpalmer#     machine dependant lines, but we don't have them
5313134SatsSUBDIR+=cmp kzip look sasc systat tail vmstat
543624Sgpalmer.elif	${MACHINE} == "hp300"
551590SrgrimesSUBDIR+=cmp ld look systat tail vmstat
561590Srgrimes.elif	${MACHINE} == "i386"
5711144SbdeSUBDIR+=cmp kzip look sasc systat tail vmstat
581613Srgrimes# XXX Use gnu/usr.bin/ld for now
591590Srgrimes.elif	${MACHINE} == "luna68k"
601590SrgrimesSUBDIR+=cmp ld look systat tail vmstat
611590Srgrimes.elif	${MACHINE} == "mips"
621590SrgrimesSUBDIR+=cmp look systat tail vmstat
631590Srgrimes.elif	${MACHINE} == "sparc"
641590SrgrimesSUBDIR+=cmp ld look tail vmstat.sparc
651590Srgrimes.elif	${MACHINE} == "tahoe"
661590SrgrimesSUBDIR+=f77 pascal systat vmstat
671590Srgrimes.elif	${MACHINE} == "vax"
681590SrgrimesSUBDIR+=f77 pascal systat vmstat
691590Srgrimes.endif
701590Srgrimes
711590Srgrimes.include <bsd.subdir.mk>
72