summaryrefslogtreecommitdiffstats
path: root/usr.bin/Makefile
blob: bd2dabfa682c943e80f64dfacf3a279d0a2a5e08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#	From: @(#)Makefile	8.3 (Berkeley) 1/7/94
#	$Id: Makefile,v 1.92 1997/12/13 09:59:32 msmith Exp $

# XXX MISSING:		deroff diction graph learn plot
#			spell spline struct units xsend
# XXX Use GNU versions: apropos bc dc diff grep ld man patch ptx uucp whatis
# Moved to secure: bdes
#
SUBDIR=	apply ar at banner basename biff brandelf c89 calendar \
	cap_mkdb chat checknr chflags chpass cksum col colcrt colldef colrm \
	column comm compile_et compress chkey cpp ctags cut dig \
	dirname dnsquery doscmd du ee env error expand \
	f2c false fetch file file2c \
	find finger fmt fold fpr from fsplit fstat ftp gcore gencat getopt \
	global gprof head hexdump host id indent ipcrm ipcs \
	join jot kdump ktrace key keyinfo keyinit keylogin keylogout killall \
	lam last lastcomm leave lex limits locate lock lockf logger login \
	logname lorder lsvfs m4 mail make mesg mkdep mkfifo mklocale mkstr \
	mk_cmds modstat more msgs mt ncal netstat newkey nfsstat nice \
	nm nohup opieinfo opiekey opiepasswd pagesize passwd paste pr printenv \
	printf quota ranlib rdist renice rev rlogin rpcgen \
	rpcinfo rs rsh rup ruptime rusers rwall \
	rwho script sed shar showmount size soelim split \
	strings	strip su symorder talk tconv tcopy tee tftp time \
	tip tn3270 top touch tput tr true truss tset tsort tty ul uname \
	unexpand unifdef uniq units unvis users uudecode uuencode vacation \
	vgrind vi vis w wall wc what whereis which who whois window \
	write xargs xinstall xlint xstr yacc yes ypcat ypmatch ypwhich
SUBDIR+=gprof4 minigzip

.if !defined(NOTCL) && exists (${.CURDIR}/../contrib/tcl) && \
	exists(${.CURDIR}/tclsh) && exists (${.CURDIR}/../lib/libtcl)
SUBDIR+=tclsh
.endif

.if defined(RELEASEDIR) || !exists(${.CURDIR}/../kerberosIV) || defined(NOCRYPT) || !defined(MAKE_KERBEROS4)
# releases do need both
SUBDIR+=telnet
.endif

# Cmp, look and tail all use mmap, so new-VM only.
# F77 and pascal are VAX/Tahoe only.
.if	make(clean) || make(cleandir)
# XXX Should have `f77', `pascal' & `vmstat.sparc' judging by the
#     machine dependant lines, but we don't have them
SUBDIR+=cmp kzip look sasc systat tail vmstat
.elif	${MACHINE} == "hp300"
SUBDIR+=cmp ld look systat tail vmstat
.elif	${MACHINE} == "i386"
SUBDIR+=cmp kzip look sasc systat tail vmstat
# XXX Use gnu/usr.bin/ld for now
.elif	${MACHINE} == "luna68k"
SUBDIR+=cmp ld look systat tail vmstat
.elif	${MACHINE} == "mips"
SUBDIR+=cmp look systat tail vmstat
.elif	${MACHINE} == "sparc"
SUBDIR+=cmp ld look tail vmstat.sparc
.elif	${MACHINE} == "tahoe"
SUBDIR+=f77 pascal systat vmstat
.elif	${MACHINE} == "vax"
SUBDIR+=f77 pascal systat vmstat
.endif

.include <bsd.subdir.mk>
OpenPOWER on IntegriCloud