xref: /freebsd/usr.bin/Makefile (revision 8c6bd995f05ac6381fa99586443ea9059d0aca1a)
1839f16abSGarrett Wollman#	From: @(#)Makefile	8.3 (Berkeley) 1/7/94
2c3aac50fSPeter Wemm# $FreeBSD$
39b50d902SRodney W. Grimes
40a50d08dSJordan K. Hubbard# XXX MISSING:		deroff diction graph learn plot
5861999b4SBruce Evans#			spell spline struct xsend
6c7096a25SPeter Wemm# XXX broken:		tconv
7dd3d164fSBruce Evans# XXX Use GNU versions: apropos bc dc diff grep ld man patch ptx uucp whatis
873407b34SGarrett Wollman# Moved to secure: bdes
973407b34SGarrett Wollman#
10cb7f1224SGary PalmerSUBDIR=	apply \
11cb7f1224SGary Palmer	at \
12cb7f1224SGary Palmer	banner \
13cb7f1224SGary Palmer	basename \
14cb7f1224SGary Palmer	biff \
156eea92a4SDavid E. O'Brien	brandelf \
16cb7f1224SGary Palmer	c89 \
17cb7f1224SGary Palmer	calendar \
18cb7f1224SGary Palmer	cap_mkdb \
19cb7f1224SGary Palmer	chat \
20cb7f1224SGary Palmer	checknr \
21cb7f1224SGary Palmer	chflags \
229106cde5SBruce Evans	chkey \
23cb7f1224SGary Palmer	chpass \
24cb7f1224SGary Palmer	cksum \
25cb7f1224SGary Palmer	cmp \
26cb7f1224SGary Palmer	col \
27cb7f1224SGary Palmer	colcrt \
28cb7f1224SGary Palmer	colldef \
29cb7f1224SGary Palmer	colrm \
30cb7f1224SGary Palmer	column \
31cb7f1224SGary Palmer	comm \
32cb7f1224SGary Palmer	compile_et \
33cb7f1224SGary Palmer	compress \
34cb7f1224SGary Palmer	ctags \
35cb7f1224SGary Palmer	cut \
36cb7f1224SGary Palmer	dirname \
37cb7f1224SGary Palmer	du \
38cb7f1224SGary Palmer	ee \
39489c66feSJoerg Wunsch	enigma \
40cb7f1224SGary Palmer	env \
41cb7f1224SGary Palmer	expand \
42cb7f1224SGary Palmer	false \
43cb7f1224SGary Palmer	fetch \
44cb7f1224SGary Palmer	file \
45cb7f1224SGary Palmer	file2c \
46cb7f1224SGary Palmer	find \
47cb7f1224SGary Palmer	finger \
48cb7f1224SGary Palmer	fmt \
49cb7f1224SGary Palmer	fold \
50cb7f1224SGary Palmer	from \
5187bc830fSDima Ruban	fstat \
52cb7f1224SGary Palmer	ftp \
53e202332cSMarcel Moolenaar	genassym \
54cb7f1224SGary Palmer	gencat \
55bde6c54eSPeter Wemm	gensetdefs \
568c6bd995SGarrett Wollman	getconf \
57cb7f1224SGary Palmer	getopt \
58cb7f1224SGary Palmer	global \
5913a29a8aSHidetoshi Shimokawa	gprof \
60cb7f1224SGary Palmer	head \
61cb7f1224SGary Palmer	hexdump \
62cb7f1224SGary Palmer	id \
63cb7f1224SGary Palmer	indent \
64cb7f1224SGary Palmer	ipcrm \
65cb7f1224SGary Palmer	ipcs \
66cb7f1224SGary Palmer	join \
67cb7f1224SGary Palmer	jot \
68cb7f1224SGary Palmer	kdump \
69cb7f1224SGary Palmer	key \
70cb7f1224SGary Palmer	keyinfo \
71cb7f1224SGary Palmer	keyinit \
72cb7f1224SGary Palmer	keylogin \
73cb7f1224SGary Palmer	keylogout \
74cb7f1224SGary Palmer	killall \
75cb7f1224SGary Palmer	ktrace \
76cb7f1224SGary Palmer	kzip \
77cb7f1224SGary Palmer	lam \
78cb7f1224SGary Palmer	last \
79cb7f1224SGary Palmer	lastcomm \
80aaa41712SDoug Rabson	ldd \
819106cde5SBruce Evans	leave \
82cb7f1224SGary Palmer	lex \
83cb7f1224SGary Palmer	limits \
84cb7f1224SGary Palmer	locate \
85cb7f1224SGary Palmer	lock \
86cb7f1224SGary Palmer	lockf \
87cb7f1224SGary Palmer	logger \
88cb7f1224SGary Palmer	login \
89cb7f1224SGary Palmer	logname \
90cb7f1224SGary Palmer	look \
91cb7f1224SGary Palmer	lorder \
92cb7f1224SGary Palmer	lsvfs \
93cb7f1224SGary Palmer	m4 \
94cb7f1224SGary Palmer	mail \
95cb7f1224SGary Palmer	make \
96cb7f1224SGary Palmer	mesg \
979106cde5SBruce Evans	minigzip \
989106cde5SBruce Evans	mk_cmds \
99cb7f1224SGary Palmer	mkdep \
100cb7f1224SGary Palmer	mkfifo \
101cb7f1224SGary Palmer	mklocale \
102cb7f1224SGary Palmer	mkstr \
103cb7f1224SGary Palmer	mktemp \
104cb7f1224SGary Palmer	more \
105cb7f1224SGary Palmer	msgs \
106e4dc55c3SDoug Rabson	mt \
107cb7f1224SGary Palmer	ncal \
108cb7f1224SGary Palmer	netstat \
109cb7f1224SGary Palmer	newkey \
110cb7f1224SGary Palmer	nfsstat \
111cb7f1224SGary Palmer	nice \
112cb7f1224SGary Palmer	nohup \
113cb7f1224SGary Palmer	objformat \
114cb7f1224SGary Palmer	opieinfo \
115cb7f1224SGary Palmer	opiekey \
116cb7f1224SGary Palmer	opiepasswd \
117cb7f1224SGary Palmer	pagesize \
118cb7f1224SGary Palmer	passwd \
119cb7f1224SGary Palmer	paste \
120cb7f1224SGary Palmer	pr \
121cb7f1224SGary Palmer	printenv \
122cb7f1224SGary Palmer	printf \
123cb7f1224SGary Palmer	quota \
124cb7f1224SGary Palmer	rdist \
125cb7f1224SGary Palmer	renice \
126cb7f1224SGary Palmer	rev \
127cb7f1224SGary Palmer	rlogin \
128cb7f1224SGary Palmer	rpcgen \
129cb7f1224SGary Palmer	rpcinfo \
130cb7f1224SGary Palmer	rs \
131cb7f1224SGary Palmer	rsh \
132cb7f1224SGary Palmer	rup \
133cb7f1224SGary Palmer	ruptime \
134cb7f1224SGary Palmer	rusers \
135cb7f1224SGary Palmer	rwall \
136cb7f1224SGary Palmer	rwho \
137cb7f1224SGary Palmer	script \
138cb7f1224SGary Palmer	sed \
139cb7f1224SGary Palmer	shar \
140cb7f1224SGary Palmer	showmount \
14128bfda34SDag-Erling Smørgrav	sockstat \
142cb7f1224SGary Palmer	soelim \
143cb7f1224SGary Palmer	split \
144cb7f1224SGary Palmer	su \
145cb7f1224SGary Palmer	symorder \
1468df85cf6SDima Ruban	systat \
147cb7f1224SGary Palmer	tail \
148cb7f1224SGary Palmer	talk \
149cb7f1224SGary Palmer	tcopy \
150cb7f1224SGary Palmer	tee \
151cb7f1224SGary Palmer	tftp \
152cb7f1224SGary Palmer	time \
153cb7f1224SGary Palmer	tip \
154cb7f1224SGary Palmer	top \
155cb7f1224SGary Palmer	touch \
156cb7f1224SGary Palmer	tput \
157cb7f1224SGary Palmer	tr \
158cb7f1224SGary Palmer	true \
159c3b3cd1bSSean Eric Fagan	truss \
160cb7f1224SGary Palmer	tset \
161cb7f1224SGary Palmer	tsort \
162cb7f1224SGary Palmer	tty \
163cb7f1224SGary Palmer	ul \
164cb7f1224SGary Palmer	uname \
165cb7f1224SGary Palmer	unexpand \
166cb7f1224SGary Palmer	unifdef \
167cb7f1224SGary Palmer	uniq \
168cb7f1224SGary Palmer	units \
169cb7f1224SGary Palmer	unvis \
170cb7f1224SGary Palmer	users \
171cb7f1224SGary Palmer	uudecode \
172cb7f1224SGary Palmer	uuencode \
173cb7f1224SGary Palmer	vacation \
174cb7f1224SGary Palmer	vgrind \
175cb7f1224SGary Palmer	vi \
176cb7f1224SGary Palmer	vis \
1770600c890SBruce Evans	vmstat \
178cb7f1224SGary Palmer	w \
179cb7f1224SGary Palmer	wall \
180cb7f1224SGary Palmer	wc \
181cb7f1224SGary Palmer	what \
182cb7f1224SGary Palmer	whereis \
183cb7f1224SGary Palmer	which \
184cb7f1224SGary Palmer	who \
185cb7f1224SGary Palmer	whois \
186cb7f1224SGary Palmer	window \
187cb7f1224SGary Palmer	write \
188cb7f1224SGary Palmer	xargs \
189cb7f1224SGary Palmer	xinstall \
190cb7f1224SGary Palmer	xlint \
191cb7f1224SGary Palmer	xstr \
192cb7f1224SGary Palmer	yacc \
193cb7f1224SGary Palmer	yes \
194cb7f1224SGary Palmer	ypcat \
195cb7f1224SGary Palmer	ypmatch \
196cb7f1224SGary Palmer	ypwhich
1975c931089SJohn Birrell
1988a948278SMark Murray.if defined(RELEASEDIR) || (!exists(${.CURDIR}/../kerberosIV) && \
1998a948278SMark Murray    !exists(${.CURDIR}/../secure)) || defined(NOCRYPT) || \
2008a948278SMark Murray    !defined(MAKE_KERBEROS4)
2019106cde5SBruce Evans# Releases need both this non-crypt telnet and the crypt telnet.
2025c931089SJohn BirrellSUBDIR+=telnet
2035c931089SJohn Birrell.endif
2045c931089SJohn Birrell
2059db938c3SPeter Wemm.if !defined(NO_BIND)
206fe6d3fe5SPeter WemmSUBDIR+=dig \
2079db938c3SPeter Wemm	dnskeygen \
208fe6d3fe5SPeter Wemm	dnsquery \
209fe6d3fe5SPeter Wemm	host
210fe6d3fe5SPeter Wemm.endif
211fe6d3fe5SPeter Wemm
2125c931089SJohn Birrell.if ${MACHINE_ARCH} == "i386"
2134d47d82dSJohn Birrell# Things that don't compile on alpha or are aout specific:
214cb7f1224SGary PalmerSUBDIR+=ar \
2157256d29cSMarcel Moolenaar	doscmd \
216cb7f1224SGary Palmer	gcore \
217cb7f1224SGary Palmer	gprof4 \
218e0812b58SBoris Popov	ncplist \
21927490905SBoris Popov	ncplogin \
220cb7f1224SGary Palmer	nm \
221cb7f1224SGary Palmer	ranlib \
222cb7f1224SGary Palmer	sasc \
223cb7f1224SGary Palmer	size \
224cb7f1224SGary Palmer	strings \
2258df85cf6SDima Ruban	strip
2264d47d82dSJohn Birrell.endif
2279b50d902SRodney W. Grimes
228bcbd27beSDavid E. O'Brien.if ${MACHINE_ARCH} == "alpha"
229bcbd27beSDavid E. O'BrienSUBDIR+=uac
230bcbd27beSDavid E. O'Brien.endif
231bcbd27beSDavid E. O'Brien
2329b50d902SRodney W. Grimes.include <bsd.subdir.mk>
233