Makefile revision 29546
1#	From: @(#)Makefile	8.3 (Berkeley) 1/7/94
2#	$Id: Makefile,v 1.88 1997/08/18 18:51:46 jlemon 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 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 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 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 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
30
31.if !defined(NOTCL) && exists (${.CURDIR}/../contrib/tcl) && \
32	exists(${.CURDIR}/tclsh) && exists (${.CURDIR}/../lib/libtcl)
33SUBDIR+=tclsh
34.endif
35
36.if !exists(${.CURDIR}/../eBones) || defined(NOSECURE) || !defined(MAKE_EBONES)
37SUBDIR+=telnet
38.else
39.if defined(RELEASEDIR)
40# releases do need both
41SUBDIR+=telnet
42.endif
43SUBDIR+= ../eBones/usr.bin/telnet
44.endif
45
46# Cmp, look and tail all use mmap, so new-VM only.
47# F77 and pascal are VAX/Tahoe only.
48.if	make(clean) || make(cleandir)
49# XXX Should have `f77', `pascal' & `vmstat.sparc' judging by the
50#     machine dependant lines, but we don't have them
51SUBDIR+=cmp kzip look sasc systat tail vmstat
52.elif	${MACHINE} == "hp300"
53SUBDIR+=cmp ld look systat tail vmstat
54.elif	${MACHINE} == "i386"
55SUBDIR+=cmp kzip look sasc systat tail vmstat
56# XXX Use gnu/usr.bin/ld for now
57.elif	${MACHINE} == "luna68k"
58SUBDIR+=cmp ld look systat tail vmstat
59.elif	${MACHINE} == "mips"
60SUBDIR+=cmp look systat tail vmstat
61.elif	${MACHINE} == "sparc"
62SUBDIR+=cmp ld look tail vmstat.sparc
63.elif	${MACHINE} == "tahoe"
64SUBDIR+=f77 pascal systat vmstat
65.elif	${MACHINE} == "vax"
66SUBDIR+=f77 pascal systat vmstat
67.endif
68
69.include <bsd.subdir.mk>
70