Makefile revision 27526
1#	From: @(#)Makefile	8.3 (Berkeley) 1/7/94
2#	$Id: Makefile,v 1.86 1997/07/05 14:22:14 peter 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 cal 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 du ee env error expand f2c false fetch file file2c \
13	find finger fmt fold fpr from fsplit fstat ftp gcore gencat getopt \
14	global gprof head hexdump host id indent ipcrm ipcs \
15	join jot kdump ktrace key keyinfo keyinit keylogin keylogout killall \
16	lam last lastcomm leave lex limits locate lock lockf logger login \
17	logname lorder lsvfs m4 mail make mesg mkdep mkfifo mklocale mkstr \
18	mk_cmds modstat more msgs mt netstat newkey nfsstat nice \
19	nm nohup opieinfo opiekey opiepasswd pagesize passwd paste pr printenv \
20	printf quota ranlib rdist renice rev rlogin rpcgen \
21	rpcinfo rs rsh rup ruptime rusers rwall \
22	rwho script sed shar showmount size soelim split \
23	strings	strip su symorder talk tconv tcopy tee tftp time \
24	tip tn3270 top touch tput tr true tset tsort tty ul uname \
25	unexpand unifdef uniq units unvis users uudecode uuencode vacation \
26	vgrind vi vis w wall wc what whereis which who whois window \
27	write xargs xinstall xlint xstr yacc yes ypcat ypmatch ypwhich
28SUBDIR+=gprof4
29
30.if !defined(NOTCL) && exists (${.CURDIR}/../contrib/tcl) && \
31	exists(${.CURDIR}/tclsh) && exists (${.CURDIR}/../lib/libtcl)
32SUBDIR+=tclsh
33.endif
34
35.if !exists(${.CURDIR}/../eBones) || defined(NOSECURE) || !defined(MAKE_EBONES)
36SUBDIR+=telnet
37.else
38.if defined(RELEASEDIR)
39# releases do need both
40SUBDIR+=telnet
41.endif
42SUBDIR+= ../eBones/usr.bin/telnet
43.endif
44
45# Cmp, look and tail all use mmap, so new-VM only.
46# F77 and pascal are VAX/Tahoe only.
47.if	make(clean) || make(cleandir)
48# XXX Should have `f77', `pascal' & `vmstat.sparc' judging by the
49#     machine dependant lines, but we don't have them
50SUBDIR+=cmp kzip look sasc systat tail vmstat
51.elif	${MACHINE} == "hp300"
52SUBDIR+=cmp ld look systat tail vmstat
53.elif	${MACHINE} == "i386"
54SUBDIR+=cmp kzip look sasc systat tail vmstat
55# XXX Use gnu/usr.bin/ld for now
56.elif	${MACHINE} == "luna68k"
57SUBDIR+=cmp ld look systat tail vmstat
58.elif	${MACHINE} == "mips"
59SUBDIR+=cmp look systat tail vmstat
60.elif	${MACHINE} == "sparc"
61SUBDIR+=cmp ld look tail vmstat.sparc
62.elif	${MACHINE} == "tahoe"
63SUBDIR+=f77 pascal systat vmstat
64.elif	${MACHINE} == "vax"
65SUBDIR+=f77 pascal systat vmstat
66.endif
67
68.include <bsd.subdir.mk>
69