12966Swollman#	From: @(#)Makefile	8.3 (Berkeley) 1/7/94
250477Speter# $FreeBSD$
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 \
36231772Sken	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 \
108236244Sjpaetzel	mkulzma \
109146107Sfjoe	mkuzip \
11039914Sdfr	mt \
11138653Sgpalmer	ncal \
11238653Sgpalmer	netstat \
11397365Stjr	newgrp \
11438653Sgpalmer	nfsstat \
11538653Sgpalmer	nice \
11676273Sbrian	nl \
11738653Sgpalmer	nohup \
11838653Sgpalmer	opieinfo \
11938653Sgpalmer	opiekey \
12038653Sgpalmer	opiepasswd \
12138653Sgpalmer	pagesize \
12238653Sgpalmer	passwd \
12338653Sgpalmer	paste \
12497096Stjr	pathchk \
125192398Sgnn	perror \
12638653Sgpalmer	pr \
12738653Sgpalmer	printenv \
12838653Sgpalmer	printf \
129174200Srwatson	procstat \
130260208Sjhb	protect \
131220166Strasz	rctl \
13238653Sgpalmer	renice \
13338653Sgpalmer	rev \
134194267Sed	revoke \
13538653Sgpalmer	rpcinfo \
13638653Sgpalmer	rs \
13738653Sgpalmer	rup \
13838653Sgpalmer	rusers \
13938653Sgpalmer	rwall \
14038653Sgpalmer	script \
14138653Sgpalmer	sed \
142267911Sgavin	send-pr \
143204103Sdelphij	seq \
14438653Sgpalmer	shar \
14538653Sgpalmer	showmount \
14645701Sdes	sockstat \
14738653Sgpalmer	split \
14897955Sdougb	stat \
149235139Sjlh	stdbuf \
15038653Sgpalmer	su \
15141035Sdima	systat \
15297034Stjr	tabs \
15338653Sgpalmer	tail \
15438653Sgpalmer	talk \
155127947Skientzle	tar \
15638653Sgpalmer	tcopy \
15738653Sgpalmer	tee \
15838653Sgpalmer	tftp \
15938653Sgpalmer	time \
16088277Smarkm	tip \
16138653Sgpalmer	top \
16238653Sgpalmer	touch \
16338653Sgpalmer	tput \
16438653Sgpalmer	tr \
16538653Sgpalmer	true \
16663437Ssheldonh	truncate \
167212558Simp	truss \
16838653Sgpalmer	tset \
16938653Sgpalmer	tsort \
17038653Sgpalmer	tty \
17138653Sgpalmer	uname \
17238653Sgpalmer	unexpand \
17338653Sgpalmer	uniq \
174200068Srdivacky	unzip \
17538653Sgpalmer	units \
17638653Sgpalmer	unvis \
17738653Sgpalmer	uudecode \
17838653Sgpalmer	uuencode \
17938653Sgpalmer	vi \
18038653Sgpalmer	vis \
18141062Sbde	vmstat \
18238653Sgpalmer	w \
18338653Sgpalmer	wall \
18438653Sgpalmer	wc \
18538653Sgpalmer	what \
18699379Sjohan	whereis \
18738653Sgpalmer	which \
18838653Sgpalmer	whois \
18938653Sgpalmer	write \
19038653Sgpalmer	xargs \
19138653Sgpalmer	xinstall \
192106717Smarcel	${_xlint} \
193183242Ssam	${_xstr} \
194207842Smm	xz \
195207842Smm	xzdec \
196119553Sphk	${_yacc} \
19738653Sgpalmer	yes \
198137675Sbz	${_ypcat} \
199137675Sbz	${_ypmatch} \
200137675Sbz	${_ypwhich}
2011590Srgrimes
202183242Ssam# NB: keep these sorted by MK_* knobs
203183242Ssam
204183242Ssam.if ${MK_AT} != "no"
205212558SimpSUBDIR+=	at
206183242Ssam.endif
207183242Ssam
208156813Sru.if ${MK_ATM} != "no"
209212558SimpSUBDIR+=	atm
210124587Sru.endif
211124587Sru
212208320Sjkim.if ${MK_MAN_UTILS} != "no"
213212558SimpSUBDIR+=	catman
214148741Sphk.endif
215148741Sphk
216156813Sru.if ${MK_BIND_UTILS} != "no"
217212558SimpSUBDIR+=	dig
218212558SimpSUBDIR+=	host
219212558SimpSUBDIR+=	nslookup
220212558SimpSUBDIR+=	nsupdate
22153909Speter.endif
22253909Speter
223156813Sru.if ${MK_BLUETOOTH} != "no"
224212558SimpSUBDIR+=	bluetooth
225131768Semax.endif
226131768Semax
227179813Sdougb.if ${MK_BSD_CPIO} != "no"
228212558SimpSUBDIR+=	cpio
229179813Sdougb.endif
230179813Sdougb
231156813Sru.if ${MK_CALENDAR} != "no"
232212558SimpSUBDIR+=	calendar
233148677Sphk.endif
234148677Sphk
235208964Srdivacky.if ${MK_CLANG} != "no"
236208964Srdivacky_clang=		clang
237208964Srdivacky.endif
238208964Srdivacky
239183242Ssam.if ${MK_HESIOD} != "no"
240212558SimpSUBDIR+=	hesinfo
241183242Ssam.endif
242183242Ssam
243219019Sgabor.if ${MK_ICONV} != "no"
244219019Sgabor_iconv=		iconv
245219019Sgabor_mkcsmapper=	mkcsmapper
246219019Sgabor_mkesdb=	mkesdb
247219019Sgabor.endif
248219019Sgabor
249218941Suqs.if ${MK_GROFF} != "no"
250218941SuqsSUBDIR+=	vgrind
251218941Suqs.endif
252218941Suqs
253156813Sru.if ${MK_OPENSSL} != "no"
254212558SimpSUBDIR+=	bc
255212558SimpSUBDIR+=	chkey
256212558SimpSUBDIR+=	dc
257212558SimpSUBDIR+=	newkey
258230743Smarius.endif
259230743Smarius
260177714Sru.if ${MK_LIBTHR} != "no"
261212558SimpSUBDIR+=	csup
262124587Sru.endif
263124587Sru
264183242Ssam.if ${MK_LOCATE} != "no"
265212558SimpSUBDIR+=	locate
266148780Sphk.endif
267148780Sphk
268183242Ssam# XXX msgs?
269183242Ssam.if ${MK_MAIL} != "no"
270212558SimpSUBDIR+=	biff
271212558SimpSUBDIR+=	from
272212558SimpSUBDIR+=	mail
273212558SimpSUBDIR+=	msgs
274183242Ssam.endif
275183242Ssam
276183242Ssam.if ${MK_MAKE} != "no"
277263212SsjgSUBDIR+=	bmake
278212558SimpSUBDIR+=	make
279183242Ssam.endif
280183242Ssam
281208320Sjkim.if ${MK_MAN_UTILS} != "no"
282208320Sjkim_makewhatis=	makewhatis
283213391Sgordon_man=		man
284208320Sjkim.endif
285208320Sjkim
286156813Sru.if ${MK_NETCAT} != "no"
287212558SimpSUBDIR+=	nc
288141785Sdelphij.endif
289141785Sdelphij
290156813Sru.if ${MK_NIS} != "no"
291212558SimpSUBDIR+=	ypcat
292212558SimpSUBDIR+=	ypmatch
293212558SimpSUBDIR+=	ypwhich
294137675Sbz.endif
295137675Sbz
296183242Ssam.if ${MK_QUOTAS} != "no"
297212558SimpSUBDIR+=	quota
298183242Ssam.endif
299183242Ssam
300156813Sru.if ${MK_RCMDS} != "no"
301212558SimpSUBDIR+=	rlogin
302212558SimpSUBDIR+=	rsh
303212558SimpSUBDIR+=	ruptime
304212558SimpSUBDIR+=	rwho
305143026Strhodes.endif
306143026Strhodes
307156813Sru.if ${MK_SENDMAIL} != "no"
308212558SimpSUBDIR+=	vacation
30986252Sgshapiro.endif
31086252Sgshapiro
311183242Ssam.if ${MK_TELNET} != "no"
312212558SimpSUBDIR+=	telnet
313183242Ssam.endif
314183242Ssam
315183242Ssam.if ${MK_TEXTPROC} != "no"
316212558SimpSUBDIR+=	checknr
317212558SimpSUBDIR+=	colcrt
318212558SimpSUBDIR+=	ul
319183242Ssam.endif
320183242Ssam
321156813Sru.if ${MK_TOOLCHAIN} != "no"
322212558SimpSUBDIR+=	ar
323212558SimpSUBDIR+=	c89
324212558SimpSUBDIR+=	c99
325212558SimpSUBDIR+=	compile_et
326212558SimpSUBDIR+=	ctags
327212558SimpSUBDIR+=	file2c
328212558SimpSUBDIR+=	gprof
329212558SimpSUBDIR+=	indent
330212558SimpSUBDIR+=	lex
331212558SimpSUBDIR+=	mkstr
332212558SimpSUBDIR+=	rpcgen
333212558SimpSUBDIR+=	unifdef
334212558SimpSUBDIR+=	xlint
335212558SimpSUBDIR+=	xstr
336212558SimpSUBDIR+=	yacc
337124587Sru.endif
338124587Sru
339156813Sru.if ${MK_USB} != "no"
340212558SimpSUBDIR+=	usbhidaction
341212558SimpSUBDIR+=	usbhidctl
342119553Sphk.endif
343119553Sphk
344223209Sed.if ${MK_UTMPX} != "no"
345223209SedSUBDIR+=	last
346223209SedSUBDIR+=	users
347223209SedSUBDIR+=	who
348223209SedSUBDIR+=	wtmpcvt
349223209Sed.endif
350223209Sed
351212558Simp.include <bsd.arch.inc.mk>
35234554Sjb
353212558SimpSUBDIR:=	${SUBDIR:O}
354161524Smarcel
355264303SdimSUBDIR_PARALLEL=
356264303Sdim
3571590Srgrimes.include <bsd.subdir.mk>
358