Makefile revision 31747
1#	From: @(#)Makefile	8.3 (Berkeley) 1/7/94
2#	$Id: Makefile,v 1.92 1997/12/13 09:59:32 msmith Exp $
3
4# XXX MISSING:		deroff diction graph learn plot
5#			spell spline struct units xsend
6# XXX Use GNU versions: apropos bc dc diff grep ld man patch ptx uucp whatis
7# Moved to secure: bdes
8#
9SUBDIR=	apply ar at banner basename biff brandelf c89 calendar \
10	cap_mkdb chat checknr chflags chpass cksum col colcrt colldef colrm \
11	column comm compile_et compress chkey cpp ctags cut dig \
12	dirname dnsquery doscmd du ee env error expand \
13	f2c false fetch file file2c \
14	find finger fmt fold fpr from fsplit fstat ftp gcore gencat getopt \
15	global gprof head hexdump host id indent ipcrm ipcs \
16	join jot kdump ktrace key keyinfo keyinit keylogin keylogout killall \
17	lam last lastcomm leave lex limits locate lock lockf logger login \
18	logname lorder lsvfs m4 mail make mesg mkdep mkfifo mklocale mkstr \
19	mk_cmds modstat more msgs mt ncal netstat newkey nfsstat nice \
20	nm nohup opieinfo opiekey opiepasswd pagesize passwd paste pr printenv \
21	printf quota ranlib rdist renice rev rlogin rpcgen \
22	rpcinfo rs rsh rup ruptime rusers rwall \
23	rwho script sed shar showmount size soelim split \
24	strings	strip su symorder talk tconv tcopy tee tftp time \
25	tip tn3270 top touch tput tr true truss tset tsort tty ul uname \
26	unexpand unifdef uniq units unvis users uudecode uuencode vacation \
27	vgrind vi vis w wall wc what whereis which who whois window \
28	write xargs xinstall xlint xstr yacc yes ypcat ypmatch ypwhich
29SUBDIR+=gprof4 minigzip
30
31.if !defined(NOTCL) && exists (${.CURDIR}/../contrib/tcl) && \
32	exists(${.CURDIR}/tclsh) && exists (${.CURDIR}/../lib/libtcl)
33SUBDIR+=tclsh
34.endif
35
36.if defined(RELEASEDIR) || !exists(${.CURDIR}/../kerberosIV) || defined(NOCRYPT) || !defined(MAKE_KERBEROS4)
37# releases do need both
38SUBDIR+=telnet
39.endif
40
41# Cmp, look and tail all use mmap, so new-VM only.
42# F77 and pascal are VAX/Tahoe only.
43.if	make(clean) || make(cleandir)
44# XXX Should have `f77', `pascal' & `vmstat.sparc' judging by the
45#     machine dependant lines, but we don't have them
46SUBDIR+=cmp kzip look sasc systat tail vmstat
47.elif	${MACHINE} == "hp300"
48SUBDIR+=cmp ld look systat tail vmstat
49.elif	${MACHINE} == "i386"
50SUBDIR+=cmp kzip look sasc systat tail vmstat
51# XXX Use gnu/usr.bin/ld for now
52.elif	${MACHINE} == "luna68k"
53SUBDIR+=cmp ld look systat tail vmstat
54.elif	${MACHINE} == "mips"
55SUBDIR+=cmp look systat tail vmstat
56.elif	${MACHINE} == "sparc"
57SUBDIR+=cmp ld look tail vmstat.sparc
58.elif	${MACHINE} == "tahoe"
59SUBDIR+=f77 pascal systat vmstat
60.elif	${MACHINE} == "vax"
61SUBDIR+=f77 pascal systat vmstat
62.endif
63
64.include <bsd.subdir.mk>
65