Makefile revision 255801
12966Swollman#	From: @(#)Makefile	8.3 (Berkeley) 1/7/94
250477Speter# $FreeBSD: head/usr.bin/Makefile 255801 2013-09-22 20:30:55Z des $
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 \
15241823Smarcel	${_atf} \
1691706Sobrien	awk \
1738653Sgpalmer	banner \
1838653Sgpalmer	basename \
1957013Sobrien	brandelf \
20148771Scperciva	bsdiff \
2178562Sobrien	bzip2 \
22108667Sobrien	bzip2recover \
2338653Sgpalmer	cap_mkdb \
2438653Sgpalmer	chat \
2538653Sgpalmer	chpass \
2638653Sgpalmer	cksum \
27208964Srdivacky	${_clang} \
2838653Sgpalmer	cmp \
2938653Sgpalmer	col \
3038653Sgpalmer	colldef \
3138653Sgpalmer	colrm \
3238653Sgpalmer	column \
3338653Sgpalmer	comm \
3438653Sgpalmer	compress \
35176733Sjeff	cpuset \
3695926Stjr	csplit \
37229997Sken	ctlstat \
3838653Sgpalmer	cut \
3938653Sgpalmer	dirname \
40246600Skientzle	dtc \
4138653Sgpalmer	du \
4238653Sgpalmer	ee \
43108439Sobrien	elf2aout \
44109314Sobrien	elfdump \
4540826Sjoerg	enigma \
4638653Sgpalmer	env \
4738653Sgpalmer	expand \
4838653Sgpalmer	false \
4938653Sgpalmer	fetch \
5038653Sgpalmer	file \
5138653Sgpalmer	find \
5238653Sgpalmer	finger \
53203711Sdelphij	fmt \
5438653Sgpalmer	fold \
5541036Sdima	fstat \
5663499Sps	fsync \
5738653Sgpalmer	ftp \
58103303Speter	gcore \
5938653Sgpalmer	gencat \
60101629Sjake	getconf \
61158287Smaxim	getent \
6238653Sgpalmer	getopt \
63222273Sobrien	grep \
64166255Sdelphij	gzip \
6538653Sgpalmer	head \
6638653Sgpalmer	hexdump \
67219019Sgabor	${_iconv} \
6838653Sgpalmer	id \
6938653Sgpalmer	ipcrm \
7038653Sgpalmer	ipcs \
71255570Strasz	iscsictl \
7238653Sgpalmer	join \
7338653Sgpalmer	jot \
74240404Sobrien	${_kdump} \
7538653Sgpalmer	keylogin \
7638653Sgpalmer	keylogout \
7738653Sgpalmer	killall \
7838653Sgpalmer	ktrace \
7993619Sjake	ktrdump \
8038653Sgpalmer	lam \
8138653Sgpalmer	lastcomm \
8239614Sbde	ldd \
8338653Sgpalmer	leave \
8460789Sps	less \
8560789Sps	lessecho \
8660789Sps	lesskey \
8738653Sgpalmer	limits \
88116677Sphantom	locale \
8938653Sgpalmer	lock \
9038653Sgpalmer	lockf \
9138653Sgpalmer	logger \
9238653Sgpalmer	login \
93126701Sdes	logins \
9438653Sgpalmer	logname \
9538653Sgpalmer	look \
9638653Sgpalmer	lorder \
9738653Sgpalmer	lsvfs \
98207842Smm	lzmainfo \
9938653Sgpalmer	m4 \
100208320Sjkim	${_makewhatis} \
101213391Sgordon	${_man} \
102241774Suqs	mandoc \
10338653Sgpalmer	mesg \
104174814Sru	minigzip \
105174810Sphk	ministat \
106219019Sgabor	${_mkcsmapper} \
10738653Sgpalmer	mkdep \
108219019Sgabor	${_mkesdb} \
10938653Sgpalmer	mkfifo \
11038653Sgpalmer	mklocale \
11138653Sgpalmer	mktemp \
112235915Sjpaetzel	mkulzma \
113146107Sfjoe	mkuzip \
11439914Sdfr	mt \
11538653Sgpalmer	ncal \
11638653Sgpalmer	netstat \
11797365Stjr	newgrp \
11838653Sgpalmer	nfsstat \
11938653Sgpalmer	nice \
12076273Sbrian	nl \
12138653Sgpalmer	nohup \
12238653Sgpalmer	opieinfo \
12338653Sgpalmer	opiekey \
12438653Sgpalmer	opiepasswd \
12538653Sgpalmer	pagesize \
12638653Sgpalmer	passwd \
12738653Sgpalmer	paste \
128246074Sgabor	patch \
12997096Stjr	pathchk \
130192398Sgnn	perror \
13138653Sgpalmer	pr \
13238653Sgpalmer	printenv \
13338653Sgpalmer	printf \
134174200Srwatson	procstat \
135255708Sjhb	protect \
136220166Strasz	rctl \
13738653Sgpalmer	renice \
13838653Sgpalmer	rev \
139194267Sed	revoke \
14038653Sgpalmer	rpcinfo \
14138653Sgpalmer	rs \
14238653Sgpalmer	rup \
14338653Sgpalmer	rusers \
14438653Sgpalmer	rwall \
14538653Sgpalmer	script \
14638653Sgpalmer	sed \
147204103Sdelphij	seq \
14838653Sgpalmer	shar \
14938653Sgpalmer	showmount \
15045701Sdes	sockstat \
151235268Sgabor	sort \
15238653Sgpalmer	split \
15397955Sdougb	stat \
154234772Sjlh	stdbuf \
15538653Sgpalmer	su \
15641035Sdima	systat \
15797034Stjr	tabs \
15838653Sgpalmer	tail \
15938653Sgpalmer	talk \
160127947Skientzle	tar \
16138653Sgpalmer	tcopy \
16238653Sgpalmer	tee \
16338653Sgpalmer	tftp \
16438653Sgpalmer	time \
16588277Smarkm	tip \
16638653Sgpalmer	top \
16738653Sgpalmer	touch \
16838653Sgpalmer	tput \
16938653Sgpalmer	tr \
17038653Sgpalmer	true \
17163437Ssheldonh	truncate \
172240404Sobrien	${_truss} \
17338653Sgpalmer	tset \
17438653Sgpalmer	tsort \
17538653Sgpalmer	tty \
17638653Sgpalmer	uname \
17738653Sgpalmer	unexpand \
17838653Sgpalmer	uniq \
179200068Srdivacky	unzip \
18038653Sgpalmer	units \
18138653Sgpalmer	unvis \
18238653Sgpalmer	uudecode \
18338653Sgpalmer	uuencode \
18438653Sgpalmer	vi \
18538653Sgpalmer	vis \
18641062Sbde	vmstat \
18738653Sgpalmer	w \
18838653Sgpalmer	wall \
18938653Sgpalmer	wc \
19038653Sgpalmer	what \
19199379Sjohan	whereis \
19238653Sgpalmer	which \
19338653Sgpalmer	whois \
19438653Sgpalmer	write \
19538653Sgpalmer	xargs \
19638653Sgpalmer	xinstall \
197106717Smarcel	${_xlint} \
198183242Ssam	${_xstr} \
199207842Smm	xz \
200207842Smm	xzdec \
201119553Sphk	${_yacc} \
20238653Sgpalmer	yes \
203137675Sbz	${_ypcat} \
204137675Sbz	${_ypmatch} \
205137675Sbz	${_ypwhich}
2061590Srgrimes
207183242Ssam# NB: keep these sorted by MK_* knobs
208183242Ssam
209183242Ssam.if ${MK_AT} != "no"
210212558SimpSUBDIR+=	at
211183242Ssam.endif
212183242Ssam
213241823Smarcel.if ${MK_ATF} != "no"
214241823Smarcel_atf=		atf
215241823Smarcel.endif
216241823Smarcel
217156813Sru.if ${MK_ATM} != "no"
218212558SimpSUBDIR+=	atm
219124587Sru.endif
220124587Sru
221156813Sru.if ${MK_BIND_UTILS} != "no"
222212558SimpSUBDIR+=	dig
223212558SimpSUBDIR+=	host
224212558SimpSUBDIR+=	nslookup
225212558SimpSUBDIR+=	nsupdate
22653909Speter.endif
22753909Speter
228156813Sru.if ${MK_BLUETOOTH} != "no"
229212558SimpSUBDIR+=	bluetooth
230131768Semax.endif
231131768Semax
232179813Sdougb.if ${MK_BSD_CPIO} != "no"
233212558SimpSUBDIR+=	cpio
234179813Sdougb.endif
235179813Sdougb
236156813Sru.if ${MK_CALENDAR} != "no"
237212558SimpSUBDIR+=	calendar
238148677Sphk.endif
239148677Sphk
240208964Srdivacky.if ${MK_CLANG} != "no"
241208964Srdivacky_clang=		clang
242208964Srdivacky.endif
243208964Srdivacky
244238564Sobrien.if ${MK_GROFF} != "no"
245238564SobrienSUBDIR+=	vgrind
246238564Sobrien.endif
247238564Sobrien
248183242Ssam.if ${MK_HESIOD} != "no"
249212558SimpSUBDIR+=	hesinfo
250183242Ssam.endif
251183242Ssam
252219019Sgabor.if ${MK_ICONV} != "no"
253219019Sgabor_iconv=		iconv
254219019Sgabor_mkcsmapper=	mkcsmapper
255219019Sgabor_mkesdb=	mkesdb
256219019Sgabor.endif
257219019Sgabor
258240404Sobrien.if ${MK_KDUMP} != "no"
259240404SobrienSUBDIR+=        kdump
260240404SobrienSUBDIR+=        truss
261240404Sobrien.endif
262240404Sobrien
263238564Sobrien.if ${MK_KERBEROS_SUPPORT} != "no"
264238564SobrienSUBDIR+=	compile_et
265218941Suqs.endif
266218941Suqs
267255405Sdes.if ${MK_LDNS_UTILS} != "no"
268255801SdesSUBDIR+=	drill
269255405SdesSUBDIR+=	host
270255405Sdes.endif
271255405Sdes
272177714Sru.if ${MK_LIBTHR} != "no"
273212558SimpSUBDIR+=	csup
274124587Sru.endif
275124587Sru
276183242Ssam.if ${MK_LOCATE} != "no"
277212558SimpSUBDIR+=	locate
278148780Sphk.endif
279148780Sphk
280183242Ssam# XXX msgs?
281183242Ssam.if ${MK_MAIL} != "no"
282212558SimpSUBDIR+=	biff
283212558SimpSUBDIR+=	from
284212558SimpSUBDIR+=	mail
285212558SimpSUBDIR+=	msgs
286183242Ssam.endif
287183242Ssam
288183242Ssam.if ${MK_MAKE} != "no"
289241279Smarcel.if ${MK_BMAKE} != "no"
290241279SmarcelSUBDIR+=	bmake
291241279Smarcel.else
292212558SimpSUBDIR+=	make
293183242Ssam.endif
294241279Smarcel.endif
295183242Ssam
296208320Sjkim.if ${MK_MAN_UTILS} != "no"
297238564SobrienSUBDIR+=	catman
298208320Sjkim_makewhatis=	makewhatis
299213391Sgordon_man=		man
300208320Sjkim.endif
301208320Sjkim
302156813Sru.if ${MK_NETCAT} != "no"
303212558SimpSUBDIR+=	nc
304141785Sdelphij.endif
305141785Sdelphij
306156813Sru.if ${MK_NIS} != "no"
307212558SimpSUBDIR+=	ypcat
308212558SimpSUBDIR+=	ypmatch
309212558SimpSUBDIR+=	ypwhich
310137675Sbz.endif
311137675Sbz
312250024Seadler.if ${MK_OPENSSH} != "no"
313250024SeadlerSUBDIR+=	ssh-copy-id
314250024Seadler.endif
315250024Seadler
316238564Sobrien.if ${MK_OPENSSL} != "no"
317238564SobrienSUBDIR+=	bc
318238564SobrienSUBDIR+=	chkey
319238564SobrienSUBDIR+=	dc
320238564SobrienSUBDIR+=	newkey
321238564Sobrien.endif
322238564Sobrien
323183242Ssam.if ${MK_QUOTAS} != "no"
324212558SimpSUBDIR+=	quota
325183242Ssam.endif
326183242Ssam
327156813Sru.if ${MK_RCMDS} != "no"
328212558SimpSUBDIR+=	rlogin
329212558SimpSUBDIR+=	rsh
330212558SimpSUBDIR+=	ruptime
331212558SimpSUBDIR+=	rwho
332143026Strhodes.endif
333143026Strhodes
334156813Sru.if ${MK_SENDMAIL} != "no"
335212558SimpSUBDIR+=	vacation
33686252Sgshapiro.endif
33786252Sgshapiro
338183242Ssam.if ${MK_TELNET} != "no"
339212558SimpSUBDIR+=	telnet
340183242Ssam.endif
341183242Ssam
342183242Ssam.if ${MK_TEXTPROC} != "no"
343212558SimpSUBDIR+=	checknr
344212558SimpSUBDIR+=	colcrt
345212558SimpSUBDIR+=	ul
346183242Ssam.endif
347183242Ssam
348156813Sru.if ${MK_TOOLCHAIN} != "no"
349212558SimpSUBDIR+=	ar
350212558SimpSUBDIR+=	c89
351212558SimpSUBDIR+=	c99
352212558SimpSUBDIR+=	ctags
353212558SimpSUBDIR+=	file2c
354212558SimpSUBDIR+=	gprof
355212558SimpSUBDIR+=	indent
356212558SimpSUBDIR+=	lex
357212558SimpSUBDIR+=	mkstr
358212558SimpSUBDIR+=	rpcgen
359212558SimpSUBDIR+=	unifdef
360212558SimpSUBDIR+=	xlint
361212558SimpSUBDIR+=	xstr
362212558SimpSUBDIR+=	yacc
363124587Sru.endif
364124587Sru
365156813Sru.if ${MK_USB} != "no"
366212558SimpSUBDIR+=	usbhidaction
367212558SimpSUBDIR+=	usbhidctl
368119553Sphk.endif
369119553Sphk
370223209Sed.if ${MK_UTMPX} != "no"
371223209SedSUBDIR+=	last
372223209SedSUBDIR+=	users
373223209SedSUBDIR+=	who
374223209Sed.endif
375223209Sed
376254539Sandrew.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "ia64" || \
377254539Sandrew    ${MACHINE_ARCH} == "sparc64" || ${MACHINE_ARCH} == "i386" || \
378254539Sandrew    (${MACHINE_ARCH} == "armv6" && ${COMPILER_TYPE} == "clang")
379251886Speter.if ${MK_SVN} == "yes" || ${MK_SVNLITE} == "yes"
380251886SpeterSUBDIR+=	svn
381251886Speter.endif
382251982Speter.endif
383251886Speter
384212558Simp.include <bsd.arch.inc.mk>
38534554Sjb
386212558SimpSUBDIR:=	${SUBDIR:O}
387161524Smarcel
3881590Srgrimes.include <bsd.subdir.mk>
389