Makefile revision 229997
12966Swollman#	From: @(#)Makefile	8.3 (Berkeley) 1/7/94
250477Speter# $FreeBSD: head/usr.bin/Makefile 229997 2012-01-12 00:34:33Z ken $
31590Srgrimes
4156813Sru.include <bsd.own.mk>
5156813Sru
64699Sjkh# XXX MISSING:		deroff diction graph learn plot
734706Sbde#			spell spline struct xsend
8213391Sgordon# XXX Use GNU versions: diff ld patch
91930Swollman# Moved to secure: bdes
101930Swollman#
11106717Smarcel
12100200SwollmanSUBDIR=	alias \
13100200Swollman	apply \
1496630Stjr	asa \
1591706Sobrien	awk \
1638653Sgpalmer	banner \
1738653Sgpalmer	basename \
1857013Sobrien	brandelf \
19148771Scperciva	bsdiff \
2078562Sobrien	bzip2 \
21108667Sobrien	bzip2recover \
2238653Sgpalmer	cap_mkdb \
2338653Sgpalmer	chat \
2438653Sgpalmer	chpass \
2538653Sgpalmer	cksum \
26208964Srdivacky	${_clang} \
2738653Sgpalmer	cmp \
2838653Sgpalmer	col \
2938653Sgpalmer	colldef \
3038653Sgpalmer	colrm \
3138653Sgpalmer	column \
3238653Sgpalmer	comm \
3338653Sgpalmer	compress \
34176733Sjeff	cpuset \
3595926Stjr	csplit \
36229997Sken	ctlstat \
3738653Sgpalmer	cut \
3838653Sgpalmer	dirname \
3938653Sgpalmer	du \
4038653Sgpalmer	ee \
41108439Sobrien	elf2aout \
42109314Sobrien	elfdump \
4340826Sjoerg	enigma \
4438653Sgpalmer	env \
4538653Sgpalmer	expand \
4638653Sgpalmer	false \
4738653Sgpalmer	fetch \
4838653Sgpalmer	file \
4938653Sgpalmer	find \
5038653Sgpalmer	finger \
51203711Sdelphij	fmt \
5238653Sgpalmer	fold \
5341036Sdima	fstat \
5463499Sps	fsync \
5538653Sgpalmer	ftp \
56103303Speter	gcore \
5738653Sgpalmer	gencat \
58101629Sjake	getconf \
59158287Smaxim	getent \
6038653Sgpalmer	getopt \
61222273Sobrien	grep \
62166255Sdelphij	gzip \
6338653Sgpalmer	head \
6438653Sgpalmer	hexdump \
65219019Sgabor	${_iconv} \
6638653Sgpalmer	id \
6738653Sgpalmer	ipcrm \
6838653Sgpalmer	ipcs \
6938653Sgpalmer	join \
7038653Sgpalmer	jot \
7138653Sgpalmer	kdump \
7238653Sgpalmer	keylogin \
7338653Sgpalmer	keylogout \
7438653Sgpalmer	killall \
7538653Sgpalmer	ktrace \
7693619Sjake	ktrdump \
7738653Sgpalmer	lam \
7838653Sgpalmer	lastcomm \
7939614Sbde	ldd \
8038653Sgpalmer	leave \
8160789Sps	less \
8260789Sps	lessecho \
8360789Sps	lesskey \
8438653Sgpalmer	limits \
85116677Sphantom	locale \
8638653Sgpalmer	lock \
8738653Sgpalmer	lockf \
8838653Sgpalmer	logger \
8938653Sgpalmer	login \
90126701Sdes	logins \
9138653Sgpalmer	logname \
9238653Sgpalmer	look \
9338653Sgpalmer	lorder \
9438653Sgpalmer	lsvfs \
95207842Smm	lzmainfo \
9638653Sgpalmer	m4 \
97208320Sjkim	${_makewhatis} \
98213391Sgordon	${_man} \
9938653Sgpalmer	mesg \
100174814Sru	minigzip \
101174810Sphk	ministat \
102219019Sgabor	${_mkcsmapper} \
10338653Sgpalmer	mkdep \
104219019Sgabor	${_mkesdb} \
10538653Sgpalmer	mkfifo \
10638653Sgpalmer	mklocale \
10738653Sgpalmer	mktemp \
108146107Sfjoe	mkuzip \
10939914Sdfr	mt \
11038653Sgpalmer	ncal \
11138653Sgpalmer	netstat \
11297365Stjr	newgrp \
11338653Sgpalmer	nfsstat \
11438653Sgpalmer	nice \
11576273Sbrian	nl \
11638653Sgpalmer	nohup \
11738653Sgpalmer	opieinfo \
11838653Sgpalmer	opiekey \
11938653Sgpalmer	opiepasswd \
12038653Sgpalmer	pagesize \
12138653Sgpalmer	passwd \
12238653Sgpalmer	paste \
12397096Stjr	pathchk \
124192398Sgnn	perror \
12538653Sgpalmer	pr \
12638653Sgpalmer	printenv \
12738653Sgpalmer	printf \
128174200Srwatson	procstat \
129220166Strasz	rctl \
13038653Sgpalmer	renice \
13138653Sgpalmer	rev \
132194267Sed	revoke \
13338653Sgpalmer	rpcinfo \
13438653Sgpalmer	rs \
13538653Sgpalmer	rup \
13638653Sgpalmer	rusers \
13738653Sgpalmer	rwall \
13838653Sgpalmer	script \
13938653Sgpalmer	sed \
140204103Sdelphij	seq \
14138653Sgpalmer	shar \
14238653Sgpalmer	showmount \
14345701Sdes	sockstat \
14438653Sgpalmer	split \
14597955Sdougb	stat \
14638653Sgpalmer	su \
14741035Sdima	systat \
14897034Stjr	tabs \
14938653Sgpalmer	tail \
15038653Sgpalmer	talk \
151127947Skientzle	tar \
15238653Sgpalmer	tcopy \
15338653Sgpalmer	tee \
15438653Sgpalmer	tftp \
15538653Sgpalmer	time \
15688277Smarkm	tip \
15738653Sgpalmer	top \
15838653Sgpalmer	touch \
15938653Sgpalmer	tput \
16038653Sgpalmer	tr \
16138653Sgpalmer	true \
16263437Ssheldonh	truncate \
163212558Simp	truss \
16438653Sgpalmer	tset \
16538653Sgpalmer	tsort \
16638653Sgpalmer	tty \
16738653Sgpalmer	uname \
16838653Sgpalmer	unexpand \
16938653Sgpalmer	uniq \
170200068Srdivacky	unzip \
17138653Sgpalmer	units \
17238653Sgpalmer	unvis \
17338653Sgpalmer	uudecode \
17438653Sgpalmer	uuencode \
17538653Sgpalmer	vi \
17638653Sgpalmer	vis \
17741062Sbde	vmstat \
17838653Sgpalmer	w \
17938653Sgpalmer	wall \
18038653Sgpalmer	wc \
18138653Sgpalmer	what \
18299379Sjohan	whereis \
18338653Sgpalmer	which \
18438653Sgpalmer	whois \
18538653Sgpalmer	write \
18638653Sgpalmer	xargs \
18738653Sgpalmer	xinstall \
188106717Smarcel	${_xlint} \
189183242Ssam	${_xstr} \
190207842Smm	xz \
191207842Smm	xzdec \
192119553Sphk	${_yacc} \
19338653Sgpalmer	yes \
194137675Sbz	${_ypcat} \
195137675Sbz	${_ypmatch} \
196137675Sbz	${_ypwhich}
1971590Srgrimes
198183242Ssam# NB: keep these sorted by MK_* knobs
199183242Ssam
200183242Ssam.if ${MK_AT} != "no"
201212558SimpSUBDIR+=	at
202183242Ssam.endif
203183242Ssam
204156813Sru.if ${MK_ATM} != "no"
205212558SimpSUBDIR+=	atm
206124587Sru.endif
207124587Sru
208208320Sjkim.if ${MK_MAN_UTILS} != "no"
209212558SimpSUBDIR+=	catman
210148741Sphk.endif
211148741Sphk
212156813Sru.if ${MK_BIND_UTILS} != "no"
213212558SimpSUBDIR+=	dig
214212558SimpSUBDIR+=	host
215212558SimpSUBDIR+=	nslookup
216212558SimpSUBDIR+=	nsupdate
21753909Speter.endif
21853909Speter
219156813Sru.if ${MK_BLUETOOTH} != "no"
220212558SimpSUBDIR+=	bluetooth
221131768Semax.endif
222131768Semax
223179813Sdougb.if ${MK_BSD_CPIO} != "no"
224212558SimpSUBDIR+=	cpio
225179813Sdougb.endif
226179813Sdougb
227156813Sru.if ${MK_CALENDAR} != "no"
228212558SimpSUBDIR+=	calendar
229148677Sphk.endif
230148677Sphk
231208964Srdivacky.if ${MK_CLANG} != "no"
232208964Srdivacky_clang=		clang
233208964Srdivacky.endif
234208964Srdivacky
235183242Ssam.if ${MK_HESIOD} != "no"
236212558SimpSUBDIR+=	hesinfo
237183242Ssam.endif
238183242Ssam
239219019Sgabor.if ${MK_ICONV} != "no"
240219019Sgabor_iconv=		iconv
241219019Sgabor_mkcsmapper=	mkcsmapper
242219019Sgabor_mkesdb=	mkesdb
243219019Sgabor.endif
244219019Sgabor
245218941Suqs.if ${MK_GROFF} != "no"
246218941SuqsSUBDIR+=	vgrind
247218941Suqs.endif
248218941Suqs
249156813Sru.if ${MK_OPENSSL} != "no"
250212558SimpSUBDIR+=	bc
251212558SimpSUBDIR+=	chkey
252212558SimpSUBDIR+=	dc
253212558SimpSUBDIR+=	newkey
254228857Smarius.endif
255228857Smarius
256177714Sru.if ${MK_LIBTHR} != "no"
257212558SimpSUBDIR+=	csup
258124587Sru.endif
259124587Sru
260183242Ssam.if ${MK_LOCATE} != "no"
261212558SimpSUBDIR+=	locate
262148780Sphk.endif
263148780Sphk
264183242Ssam# XXX msgs?
265183242Ssam.if ${MK_MAIL} != "no"
266212558SimpSUBDIR+=	biff
267212558SimpSUBDIR+=	from
268212558SimpSUBDIR+=	mail
269212558SimpSUBDIR+=	msgs
270183242Ssam.endif
271183242Ssam
272183242Ssam.if ${MK_MAKE} != "no"
273212558SimpSUBDIR+=	make
274183242Ssam.endif
275183242Ssam
276208320Sjkim.if ${MK_MAN_UTILS} != "no"
277208320Sjkim_makewhatis=	makewhatis
278213391Sgordon_man=		man
279208320Sjkim.endif
280208320Sjkim
281156813Sru.if ${MK_NETCAT} != "no"
282212558SimpSUBDIR+=	nc
283141785Sdelphij.endif
284141785Sdelphij
285156813Sru.if ${MK_NIS} != "no"
286212558SimpSUBDIR+=	ypcat
287212558SimpSUBDIR+=	ypmatch
288212558SimpSUBDIR+=	ypwhich
289137675Sbz.endif
290137675Sbz
291183242Ssam.if ${MK_QUOTAS} != "no"
292212558SimpSUBDIR+=	quota
293183242Ssam.endif
294183242Ssam
295156813Sru.if ${MK_RCMDS} != "no"
296212558SimpSUBDIR+=	rlogin
297212558SimpSUBDIR+=	rsh
298212558SimpSUBDIR+=	ruptime
299212558SimpSUBDIR+=	rwho
300143026Strhodes.endif
301143026Strhodes
302156813Sru.if ${MK_SENDMAIL} != "no"
303212558SimpSUBDIR+=	vacation
30486252Sgshapiro.endif
30586252Sgshapiro
306183242Ssam.if ${MK_TELNET} != "no"
307212558SimpSUBDIR+=	telnet
308183242Ssam.endif
309183242Ssam
310183242Ssam.if ${MK_TEXTPROC} != "no"
311212558SimpSUBDIR+=	checknr
312212558SimpSUBDIR+=	colcrt
313212558SimpSUBDIR+=	ul
314183242Ssam.endif
315183242Ssam
316156813Sru.if ${MK_TOOLCHAIN} != "no"
317212558SimpSUBDIR+=	ar
318212558SimpSUBDIR+=	c89
319212558SimpSUBDIR+=	c99
320212558SimpSUBDIR+=	compile_et
321212558SimpSUBDIR+=	ctags
322212558SimpSUBDIR+=	file2c
323212558SimpSUBDIR+=	gprof
324212558SimpSUBDIR+=	indent
325212558SimpSUBDIR+=	lex
326212558SimpSUBDIR+=	mkstr
327212558SimpSUBDIR+=	rpcgen
328212558SimpSUBDIR+=	unifdef
329212558SimpSUBDIR+=	xlint
330212558SimpSUBDIR+=	xstr
331212558SimpSUBDIR+=	yacc
332124587Sru.endif
333124587Sru
334156813Sru.if ${MK_USB} != "no"
335212558SimpSUBDIR+=	usbhidaction
336212558SimpSUBDIR+=	usbhidctl
337119553Sphk.endif
338119553Sphk
339223209Sed.if ${MK_UTMPX} != "no"
340223209SedSUBDIR+=	last
341223209SedSUBDIR+=	users
342223209SedSUBDIR+=	who
343223209SedSUBDIR+=	wtmpcvt
344223209Sed.endif
345223209Sed
346212558Simp.include <bsd.arch.inc.mk>
34734554Sjb
348212558SimpSUBDIR:=	${SUBDIR:O}
349161524Smarcel
3501590Srgrimes.include <bsd.subdir.mk>
351