Makefile revision 16189
1275970Scy#	From: @(#)Makefile	8.3 (Berkeley) 1/7/94
2275970Scy#	$Id: Makefile,v 1.67 1996/03/24 14:09:33 paul Exp $
3275970Scy
4275970Scy# XXX MISSING:		deroff diction graph learn plot
5275970Scy#			spell spline struct units xsend
6275970Scy# XXX Use GNU versions: apropos bc dc diff grep ld man patch ptx uucp whatis
7275970Scy# Moved to secure: bdes
8275970Scy#
9275970ScySUBDIR=	apply ar at banner basename biff cal calendar \
10275970Scy	cap_mkdb chat checknr chflags chpass cksum col colcrt colldef colrm \
11275970Scy	column comm compile_et compress cpp ctags cut devmenu \
12275970Scy	dig dirname dnsquery du ee env error expand f2c false file file2c \
13310419Sdelphij	find finger fmt fold fpr from fsplit fstat ftp gcore gencat getopt \
14275970Scy	gprof head hexdump host id indent ipcrm ipcs \
15310419Sdelphij	join jot kdump ktrace key keyinfo keyinit killall lam last \
16275970Scy	lastcomm leave lex locate lock logger login logname lorder \
17310419Sdelphij	lsvfs m4 mail make mesg mkdep mkfifo mklocale mkstr mk_cmds \
18275970Scy	modstat more msgs mt ncftp netstat nfsstat nice \
19275970Scy	nm nohup pagesize passwd paste pr printenv \
20275970Scy	printf quota ranlib rdist renice rev rlogin rpcgen \
21275970Scy	rpcinfo rs rsh rup ruptime rusers rwall \
22275970Scy	rwho script sed sgmlfmt sgmls shar showmount size soelim split \
23275970Scy	strings	strip su symorder talk tconv tcopy tee tftp time \
24275970Scy	tip tn3270 touch tput tr true tset tsort tty ul	uname \
25275970Scy	unexpand unifdef uniq units unvis users uudecode uuencode vacation \
26275970Scy	vgrind vi vis w wall wc what whereis which who whois window \
27275970Scy	write xargs xinstall xlint xstr yacc yes ypcat ypmatch ypwhich
28275970ScySUBDIR+=gprof4
29275970Scy
30275970Scy.if !exists(../secure) || defined(NOSECURE)
31275970ScySUBDIR+=telnet
32275970Scy.else
33275970Scy.if defined(RELEASEDIR)
34275970Scy# releases do need both
35275970ScySUBDIR+=telnet
36275970Scy.endif
37275970ScySUBDIR+= ../secure/usr.bin/telnet
38290000Sglebius.endif
39275970Scy
40275970Scy# Cmp, look and tail all use mmap, so new-VM only.
41275970Scy# F77 and pascal are VAX/Tahoe only.
42275970Scy.if	make(clean) || make(cleandir)
43275970Scy# XXX Should have `f77', `pascal' & `vmstat.sparc' judging by the
44275970Scy#     machine dependant lines, but we don't have them
45275970ScySUBDIR+=cmp kzip look sasc systat tail vmstat
46275970Scy.elif	${MACHINE} == "hp300"
47275970ScySUBDIR+=cmp ld look systat tail vmstat
48275970Scy.elif	${MACHINE} == "i386"
49275970ScySUBDIR+=cmp kzip look sasc systat tail vmstat
50275970Scy# XXX Use gnu/usr.bin/ld for now
51275970Scy.elif	${MACHINE} == "luna68k"
52275970ScySUBDIR+=cmp ld look systat tail vmstat
53275970Scy.elif	${MACHINE} == "mips"
54275970ScySUBDIR+=cmp look systat tail vmstat
55275970Scy.elif	${MACHINE} == "sparc"
56275970ScySUBDIR+=cmp ld look tail vmstat.sparc
57275970Scy.elif	${MACHINE} == "tahoe"
58275970ScySUBDIR+=f77 pascal systat vmstat
59275970Scy.elif	${MACHINE} == "vax"
60275970ScySUBDIR+=f77 pascal systat vmstat
61275970Scy.endif
62275970Scy
63275970Scy.include <bsd.subdir.mk>
64275970Scy