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