Makefile revision 34706
1226458Sdas#	From: @(#)Makefile	8.3 (Berkeley) 1/7/94
2226458Sdas#	$Id: Makefile,v 1.94 1998/03/13 19:41:06 jb Exp $
3226458Sdas
4226458Sdas# XXX MISSING:		deroff diction graph learn plot
5226458Sdas#			spell spline struct xsend
6226458Sdas# XXX Use GNU versions: apropos bc dc diff grep ld man patch ptx uucp whatis
7226458Sdas# Moved to secure: bdes
8226458Sdas#
9226458SdasSUBDIR=	apply at banner basename biff c89 calendar \
10226458Sdas	cap_mkdb chat checknr chflags chpass cksum col colcrt colldef colrm \
11226458Sdas	column comm compile_et compress chkey cpp ctags cut dig \
12226458Sdas	dirname dnsquery du ee env error expand \
13226458Sdas	f2c false fetch file file2c \
14226458Sdas	find finger fmt fold fpr from fsplit ftp gencat getopt \
15226458Sdas	global head hexdump host id indent \
16226458Sdas	join jot key keyinfo keyinit keylogin keylogout killall \
17226458Sdas	lam last lastcomm leave lex limits locate lock lockf logger login \
18226458Sdas	logname lsvfs m4 mail make mesg mkdep mkfifo mklocale mkstr \
19226458Sdas	mk_cmds more msgs ncal netstat newkey nfsstat nice \
20226458Sdas	nm nohup opieinfo opiekey opiepasswd pagesize passwd paste pr printenv \
21226458Sdas	printf quota rdist renice rev rlogin rpcgen \
22226458Sdas	rpcinfo rs rsh rup ruptime rusers rwall \
23226458Sdas	rwho script sed shar showmount size soelim split \
24226458Sdas	strings	su symorder talk tconv tcopy tee tftp time \
25226458Sdas	tip tn3270 touch tput tr true tset tsort tty ul uname \
26226458Sdas	unexpand unifdef uniq units unvis users uudecode uuencode vacation \
27226458Sdas	vgrind vi vis wall wc what whereis which who whois window \
28226458Sdas	write xargs xinstall xlint xstr yacc yes ypcat ypmatch ypwhich
29226458SdasSUBDIR+=minigzip
30226458Sdas
31226458Sdas.if defined(RELEASEDIR) || !exists(${.CURDIR}/../kerberosIV) || defined(NOCRYPT) || !defined(MAKE_KERBEROS4)
32226458Sdas# releases do need both
33226458SdasSUBDIR+=telnet
34226458Sdas.endif
35226458Sdas
36226458Sdas.if ${MACHINE_ARCH} == "i386"
37226458Sdas# Things that don't compile on alpha:
38226458SdasSUBDIR+=ar brandelf doscmd fstat gcore gprof gprof4 ipcrm ipcs kdump ktrace \
39226458Sdas	modstat mt ranlib strip top truss w lorder
40226458Sdas
41226458Sdas.if !defined(NOTCL) && exists (${.CURDIR}/../contrib/tcl) && \
42226458Sdas	exists(${.CURDIR}/tclsh) && exists (${.CURDIR}/../lib/libtcl)
43226458SdasSUBDIR+=tclsh
44226458Sdas.endif
45226458Sdas
46226458Sdas.endif
47226458Sdas
48226458Sdas# Cmp, look and tail all use mmap, so new-VM only.
49226458Sdas# F77 and pascal are VAX/Tahoe only.
50226458Sdas.if	make(clean) || make(cleandir)
51226458Sdas# XXX Should have `f77', `pascal' & `vmstat.sparc' judging by the
52226458Sdas#     machine dependant lines, but we don't have them
53226458SdasSUBDIR+=cmp kzip look sasc systat tail vmstat
54226458Sdas.elif	${MACHINE} == "hp300"
55226458SdasSUBDIR+=cmp ld look systat tail vmstat
56226458Sdas.elif	${MACHINE} == "i386"
57226458SdasSUBDIR+=cmp kzip look sasc systat tail vmstat
58226458Sdas# XXX Use gnu/usr.bin/ld for now
59226458Sdas.elif	${MACHINE} == "luna68k"
60226458SdasSUBDIR+=cmp ld look systat tail vmstat
61226458Sdas.elif	${MACHINE} == "mips"
62226458SdasSUBDIR+=cmp look systat tail vmstat
63226458Sdas.elif	${MACHINE} == "sparc"
64226458SdasSUBDIR+=cmp ld look tail vmstat.sparc
65226458Sdas.elif	${MACHINE} == "tahoe"
66226458SdasSUBDIR+=f77 pascal systat vmstat
67226458Sdas.elif	${MACHINE} == "vax"
68226458SdasSUBDIR+=f77 pascal systat vmstat
69226458Sdas.endif
70226458Sdas
71226458Sdas.include <bsd.subdir.mk>
72226458Sdas