Makefile revision 218941
12966Swollman#	From: @(#)Makefile	8.3 (Berkeley) 1/7/94
250477Speter# $FreeBSD: head/usr.bin/Makefile 218941 2011-02-22 08:13:49Z uqs $
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 \
3638653Sgpalmer	cut \
3738653Sgpalmer	dirname \
3838653Sgpalmer	du \
3938653Sgpalmer	ee \
40108439Sobrien	elf2aout \
41109314Sobrien	elfdump \
4240826Sjoerg	enigma \
4338653Sgpalmer	env \
4438653Sgpalmer	expand \
4538653Sgpalmer	false \
4638653Sgpalmer	fetch \
4738653Sgpalmer	file \
4838653Sgpalmer	find \
4938653Sgpalmer	finger \
50203711Sdelphij	fmt \
5138653Sgpalmer	fold \
5241036Sdima	fstat \
5363499Sps	fsync \
5438653Sgpalmer	ftp \
55103303Speter	gcore \
5638653Sgpalmer	gencat \
57101629Sjake	getconf \
58158287Smaxim	getent \
5938653Sgpalmer	getopt \
60210389Sgabor	${_grep} \
61166255Sdelphij	gzip \
6238653Sgpalmer	head \
6338653Sgpalmer	hexdump \
6438653Sgpalmer	id \
6538653Sgpalmer	ipcrm \
6638653Sgpalmer	ipcs \
6738653Sgpalmer	join \
6838653Sgpalmer	jot \
6938653Sgpalmer	kdump \
7038653Sgpalmer	keylogin \
7138653Sgpalmer	keylogout \
7238653Sgpalmer	killall \
7338653Sgpalmer	ktrace \
7493619Sjake	ktrdump \
7538653Sgpalmer	lam \
7638653Sgpalmer	last \
7738653Sgpalmer	lastcomm \
7839614Sbde	ldd \
7938653Sgpalmer	leave \
8060789Sps	less \
8160789Sps	lessecho \
8260789Sps	lesskey \
8338653Sgpalmer	limits \
84116677Sphantom	locale \
8538653Sgpalmer	lock \
8638653Sgpalmer	lockf \
8738653Sgpalmer	logger \
8838653Sgpalmer	login \
89126701Sdes	logins \
9038653Sgpalmer	logname \
9138653Sgpalmer	look \
9238653Sgpalmer	lorder \
9338653Sgpalmer	lsvfs \
94207842Smm	lzmainfo \
9538653Sgpalmer	m4 \
96208320Sjkim	${_makewhatis} \
97213391Sgordon	${_man} \
9838653Sgpalmer	mesg \
99174814Sru	minigzip \
100174810Sphk	ministat \
10138653Sgpalmer	mkdep \
10238653Sgpalmer	mkfifo \
10338653Sgpalmer	mklocale \
10438653Sgpalmer	mktemp \
105146107Sfjoe	mkuzip \
10639914Sdfr	mt \
10738653Sgpalmer	ncal \
10838653Sgpalmer	netstat \
10997365Stjr	newgrp \
11038653Sgpalmer	nfsstat \
11138653Sgpalmer	nice \
11276273Sbrian	nl \
11338653Sgpalmer	nohup \
11438653Sgpalmer	opieinfo \
11538653Sgpalmer	opiekey \
11638653Sgpalmer	opiepasswd \
11738653Sgpalmer	pagesize \
11838653Sgpalmer	passwd \
11938653Sgpalmer	paste \
12097096Stjr	pathchk \
121192398Sgnn	perror \
12238653Sgpalmer	pr \
12338653Sgpalmer	printenv \
12438653Sgpalmer	printf \
125174200Srwatson	procstat \
12638653Sgpalmer	renice \
12738653Sgpalmer	rev \
128194267Sed	revoke \
12938653Sgpalmer	rpcinfo \
13038653Sgpalmer	rs \
13138653Sgpalmer	rup \
13238653Sgpalmer	rusers \
13338653Sgpalmer	rwall \
13438653Sgpalmer	script \
13538653Sgpalmer	sed \
136204103Sdelphij	seq \
13738653Sgpalmer	shar \
13838653Sgpalmer	showmount \
13945701Sdes	sockstat \
14038653Sgpalmer	split \
14197955Sdougb	stat \
14238653Sgpalmer	su \
14341035Sdima	systat \
14497034Stjr	tabs \
14538653Sgpalmer	tail \
14638653Sgpalmer	talk \
147127947Skientzle	tar \
14838653Sgpalmer	tcopy \
14938653Sgpalmer	tee \
15038653Sgpalmer	tftp \
15138653Sgpalmer	time \
15288277Smarkm	tip \
15338653Sgpalmer	top \
15438653Sgpalmer	touch \
15538653Sgpalmer	tput \
15638653Sgpalmer	tr \
15738653Sgpalmer	true \
15863437Ssheldonh	truncate \
159212558Simp	truss \
16038653Sgpalmer	tset \
16138653Sgpalmer	tsort \
16238653Sgpalmer	tty \
16338653Sgpalmer	uname \
16438653Sgpalmer	unexpand \
16538653Sgpalmer	uniq \
166200068Srdivacky	unzip \
16738653Sgpalmer	units \
16838653Sgpalmer	unvis \
16938653Sgpalmer	users \
17038653Sgpalmer	uudecode \
17138653Sgpalmer	uuencode \
17238653Sgpalmer	vi \
17338653Sgpalmer	vis \
17441062Sbde	vmstat \
17538653Sgpalmer	w \
17638653Sgpalmer	wall \
17738653Sgpalmer	wc \
17838653Sgpalmer	what \
17999379Sjohan	whereis \
18038653Sgpalmer	which \
18138653Sgpalmer	who \
18238653Sgpalmer	whois \
18338653Sgpalmer	write \
184202301Sed	wtmpcvt \
18538653Sgpalmer	xargs \
18638653Sgpalmer	xinstall \
187106717Smarcel	${_xlint} \
188183242Ssam	${_xstr} \
189207842Smm	xz \
190207842Smm	xzdec \
191119553Sphk	${_yacc} \
19238653Sgpalmer	yes \
193137675Sbz	${_ypcat} \
194137675Sbz	${_ypmatch} \
195137675Sbz	${_ypwhich}
1961590Srgrimes
197183242Ssam# NB: keep these sorted by MK_* knobs
198183242Ssam
199183242Ssam.if ${MK_AT} != "no"
200212558SimpSUBDIR+=	at
201183242Ssam.endif
202183242Ssam
203156813Sru.if ${MK_ATM} != "no"
204212558SimpSUBDIR+=	atm
205124587Sru.endif
206124587Sru
207208320Sjkim.if ${MK_MAN_UTILS} != "no"
208212558SimpSUBDIR+=	catman
209148741Sphk.endif
210148741Sphk
211156813Sru.if ${MK_BIND_UTILS} != "no"
212212558SimpSUBDIR+=	dig
213212558SimpSUBDIR+=	host
214212558SimpSUBDIR+=	nslookup
215212558SimpSUBDIR+=	nsupdate
21653909Speter.endif
21753909Speter
218156813Sru.if ${MK_BLUETOOTH} != "no"
219212558SimpSUBDIR+=	bluetooth
220131768Semax.endif
221131768Semax
222179813Sdougb.if ${MK_BSD_CPIO} != "no"
223212558SimpSUBDIR+=	cpio
224179813Sdougb.endif
225179813Sdougb
226211701Sgabor.if ${MK_BSD_GREP} != "no"
227211701Sgabor_grep=		grep
228211701Sgabor.endif
229211701Sgabor
230156813Sru.if ${MK_CALENDAR} != "no"
231212558SimpSUBDIR+=	calendar
232148677Sphk.endif
233148677Sphk
234208964Srdivacky.if ${MK_CLANG} != "no"
235208964Srdivacky_clang=		clang
236208964Srdivacky.endif
237208964Srdivacky
238183242Ssam.if ${MK_HESIOD} != "no"
239212558SimpSUBDIR+=	hesinfo
240183242Ssam.endif
241183242Ssam
242218941Suqs.if ${MK_GROFF} != "no"
243218941SuqsSUBDIR+=	vgrind
244218941Suqs.endif
245218941Suqs
246156813Sru.if ${MK_OPENSSL} != "no"
247212558SimpSUBDIR+=	bc
248212558SimpSUBDIR+=	chkey
249212558SimpSUBDIR+=	dc
250212558SimpSUBDIR+=	newkey
251177714Sru.if ${MK_LIBTHR} != "no"
252212558SimpSUBDIR+=	csup
253124587Sru.endif
254156944Sru.endif
255124587Sru
256183242Ssam.if ${MK_LOCATE} != "no"
257212558SimpSUBDIR+=	locate
258148780Sphk.endif
259148780Sphk
260183242Ssam# XXX msgs?
261183242Ssam.if ${MK_MAIL} != "no"
262212558SimpSUBDIR+=	biff
263212558SimpSUBDIR+=	from
264212558SimpSUBDIR+=	mail
265212558SimpSUBDIR+=	msgs
266183242Ssam.endif
267183242Ssam
268183242Ssam.if ${MK_MAKE} != "no"
269212558SimpSUBDIR+=	make
270183242Ssam.endif
271183242Ssam
272208320Sjkim.if ${MK_MAN_UTILS} != "no"
273208320Sjkim_makewhatis=	makewhatis
274213391Sgordon_man=		man
275208320Sjkim.endif
276208320Sjkim
277156813Sru.if ${MK_NETCAT} != "no"
278212558SimpSUBDIR+=	nc
279141785Sdelphij.endif
280141785Sdelphij
281156813Sru.if ${MK_NIS} != "no"
282212558SimpSUBDIR+=	ypcat
283212558SimpSUBDIR+=	ypmatch
284212558SimpSUBDIR+=	ypwhich
285137675Sbz.endif
286137675Sbz
287183242Ssam.if ${MK_QUOTAS} != "no"
288212558SimpSUBDIR+=	quota
289183242Ssam.endif
290183242Ssam
291156813Sru.if ${MK_RCMDS} != "no"
292212558SimpSUBDIR+=	rlogin
293212558SimpSUBDIR+=	rsh
294212558SimpSUBDIR+=	ruptime
295212558SimpSUBDIR+=	rwho
296143026Strhodes.endif
297143026Strhodes
298156813Sru.if ${MK_SENDMAIL} != "no"
299212558SimpSUBDIR+=	vacation
30086252Sgshapiro.endif
30186252Sgshapiro
302183242Ssam.if ${MK_TELNET} != "no"
303212558SimpSUBDIR+=	telnet
304183242Ssam.endif
305183242Ssam
306183242Ssam.if ${MK_TEXTPROC} != "no"
307212558SimpSUBDIR+=	checknr
308212558SimpSUBDIR+=	colcrt
309212558SimpSUBDIR+=	ul
310183242Ssam.endif
311183242Ssam
312156813Sru.if ${MK_TOOLCHAIN} != "no"
313212558SimpSUBDIR+=	ar
314212558SimpSUBDIR+=	c89
315212558SimpSUBDIR+=	c99
316212558SimpSUBDIR+=	compile_et
317212558SimpSUBDIR+=	ctags
318212558SimpSUBDIR+=	file2c
319212558SimpSUBDIR+=	gprof
320212558SimpSUBDIR+=	indent
321212558SimpSUBDIR+=	lex
322212558SimpSUBDIR+=	mkstr
323212558SimpSUBDIR+=	rpcgen
324212558SimpSUBDIR+=	unifdef
325212558SimpSUBDIR+=	xlint
326212558SimpSUBDIR+=	xstr
327212558SimpSUBDIR+=	yacc
328124587Sru.endif
329124587Sru
330156813Sru.if ${MK_USB} != "no"
331212558SimpSUBDIR+=	usbhidaction
332212558SimpSUBDIR+=	usbhidctl
333119553Sphk.endif
334119553Sphk
335212558Simp.include <bsd.arch.inc.mk>
33634554Sjb
337212558SimpSUBDIR:=	${SUBDIR:O}
338161524Smarcel
3391590Srgrimes.include <bsd.subdir.mk>
340