1#	From: @(#)Makefile	8.3 (Berkeley) 1/7/94
2# $FreeBSD: releng/10.2/usr.bin/Makefile 279506 2015-03-01 22:07:54Z ngie $
3
4.include <bsd.own.mk>
5
6# XXX MISSING:		deroff diction graph learn plot
7#			spell spline struct xsend
8# XXX Use GNU versions: diff ld patch
9# Moved to secure: bdes
10#
11
12SUBDIR=	alias \
13	apply \
14	asa \
15	awk \
16	banner \
17	basename \
18	brandelf \
19	bsdiff \
20	bzip2 \
21	bzip2recover \
22	cap_mkdb \
23	chat \
24	chpass \
25	cksum \
26	${_clang} \
27	cmp \
28	col \
29	colldef \
30	colrm \
31	column \
32	comm \
33	compress \
34	cpuset \
35	csplit \
36	ctlstat \
37	cut \
38	dirname \
39	dpv \
40	du \
41	elf2aout \
42	elfdump \
43	enigma \
44	env \
45	expand \
46	false \
47	fetch \
48	find \
49	fmt \
50	fold \
51	fstat \
52	fsync \
53	gcore \
54	gencat \
55	getconf \
56	getent \
57	getopt \
58	grep \
59	gzip \
60	head \
61	hexdump \
62	${_iconv} \
63	id \
64	ipcrm \
65	ipcs \
66	join \
67	jot \
68	${_kdump} \
69	keylogin \
70	keylogout \
71	killall \
72	ktrace \
73	ktrdump \
74	lam \
75	lastcomm \
76	ldd \
77	leave \
78	less \
79	lessecho \
80	lesskey \
81	limits \
82	locale \
83	lock \
84	lockf \
85	logger \
86	login \
87	logins \
88	logname \
89	look \
90	lorder \
91	lsvfs \
92	lzmainfo \
93	m4 \
94	${_makewhatis} \
95	${_man} \
96	mandoc \
97	mesg \
98	minigzip \
99	ministat \
100	${_mkcsmapper} \
101	mkdep \
102	${_mkesdb} \
103	mkfifo \
104	mkimg \
105	mklocale \
106	mktemp \
107	mkulzma \
108	mkuzip \
109	mt \
110	ncal \
111	netstat \
112	newgrp \
113	nfsstat \
114	nice \
115	nl \
116	nohup \
117	opieinfo \
118	opiekey \
119	opiepasswd \
120	pagesize \
121	passwd \
122	paste \
123	patch \
124	pathchk \
125	perror \
126	pr \
127	printenv \
128	printf \
129	procstat \
130	protect \
131	rctl \
132	renice \
133	rev \
134	revoke \
135	rpcinfo \
136	rs \
137	rup \
138	rusers \
139	rwall \
140	script \
141	sed \
142	send-pr \
143	seq \
144	shar \
145	showmount \
146	sockstat \
147	sort \
148	split \
149	stat \
150	stdbuf \
151	su \
152	systat \
153	tabs \
154	tail \
155	tar \
156	tcopy \
157	tee \
158	${_tests} \
159	time \
160	tip \
161	top \
162	touch \
163	tput \
164	tr \
165	true \
166	truncate \
167	${_truss} \
168	tset \
169	tsort \
170	tty \
171	uname \
172	unexpand \
173	uniq \
174	unzip \
175	units \
176	unvis \
177	uudecode \
178	uuencode \
179	vi \
180	vis \
181	vmstat \
182	w \
183	wall \
184	wc \
185	what \
186	whereis \
187	which \
188	whois \
189	write \
190	xargs \
191	xinstall \
192	${_xlint} \
193	${_xstr} \
194	xz \
195	xzdec \
196	${_yacc} \
197	yes \
198	${_ypcat} \
199	${_ypmatch} \
200	${_ypwhich}
201
202# NB: keep these sorted by MK_* knobs
203
204.if ${MK_AT} != "no"
205SUBDIR+=	at
206.endif
207
208.if ${MK_ATM} != "no"
209SUBDIR+=	atm
210.endif
211
212.if ${MK_BLUETOOTH} != "no"
213SUBDIR+=	bluetooth
214.endif
215
216.if ${MK_BSD_CPIO} != "no"
217SUBDIR+=	cpio
218.endif
219
220.if ${MK_CALENDAR} != "no"
221SUBDIR+=	calendar
222.endif
223
224.if ${MK_CLANG} != "no"
225_clang=		clang
226.endif
227
228.if ${MK_EE} != "no"
229SUBDIR+=	ee
230.endif
231
232.if ${MK_FILE} != "no"
233SUBDIR+=	file
234.endif
235
236.if ${MK_FINGER} != "no"
237SUBDIR+=	finger
238.endif
239
240.if ${MK_FTP} != "no"
241SUBDIR+=	ftp
242.endif
243
244.if ${MK_GPL_DTC} != "yes"
245SUBDIR+=	dtc
246.endif
247
248.if ${MK_GROFF} != "no"
249SUBDIR+=	vgrind
250.endif
251
252.if ${MK_HESIOD} != "no"
253SUBDIR+=	hesinfo
254.endif
255
256.if ${MK_ICONV} != "no"
257_iconv=		iconv
258_mkcsmapper=	mkcsmapper
259_mkesdb=	mkesdb
260.endif
261
262.if ${MK_ISCSI} != "no"
263SUBDIR+=	iscsictl
264.endif
265
266.if ${MK_KDUMP} != "no"
267SUBDIR+=        kdump
268SUBDIR+=        truss
269.endif
270
271.if ${MK_KERBEROS_SUPPORT} != "no"
272SUBDIR+=	compile_et
273.endif
274
275.if ${MK_LDNS_UTILS} != "no"
276SUBDIR+=	drill
277SUBDIR+=	host
278.endif
279
280.if ${MK_LIBTHR} != "no"
281SUBDIR+=	csup
282.endif
283
284.if ${MK_LOCATE} != "no"
285SUBDIR+=	locate
286.endif
287
288# XXX msgs?
289.if ${MK_MAIL} != "no"
290SUBDIR+=	biff
291SUBDIR+=	from
292SUBDIR+=	mail
293SUBDIR+=	msgs
294.endif
295
296.if ${MK_MAKE} != "no"
297.if ${MK_BMAKE} != "no"
298SUBDIR+=	bmake
299.else
300SUBDIR+=	make
301.endif
302.endif
303
304.if ${MK_MAN_UTILS} != "no"
305SUBDIR+=	catman
306_makewhatis=	makewhatis
307_man=		man
308.endif
309
310.if ${MK_NETCAT} != "no"
311SUBDIR+=	nc
312.endif
313
314.if ${MK_NIS} != "no"
315SUBDIR+=	ypcat
316SUBDIR+=	ypmatch
317SUBDIR+=	ypwhich
318.endif
319
320.if ${MK_OPENSSH} != "no"
321SUBDIR+=	ssh-copy-id
322.endif
323
324.if ${MK_OPENSSL} != "no"
325SUBDIR+=	bc
326SUBDIR+=	chkey
327SUBDIR+=	dc
328SUBDIR+=	newkey
329.endif
330
331.if ${MK_QUOTAS} != "no"
332SUBDIR+=	quota
333.endif
334
335.if ${MK_RCMDS} != "no"
336SUBDIR+=	rlogin
337SUBDIR+=	rsh
338SUBDIR+=	ruptime
339SUBDIR+=	rwho
340.endif
341
342.if ${MK_SENDMAIL} != "no"
343SUBDIR+=	vacation
344.endif
345
346.if ${MK_TALK} != "no"
347SUBDIR+=	talk
348.endif
349
350.if ${MK_TELNET} != "no"
351SUBDIR+=	telnet
352.endif
353
354.if ${MK_TESTS} != "no"
355_tests=		tests
356.endif
357
358.if ${MK_TEXTPROC} != "no"
359SUBDIR+=	checknr
360SUBDIR+=	colcrt
361SUBDIR+=	ul
362.endif
363
364.if ${MK_TFTP} != "no"
365SUBDIR+=	tftp
366.endif
367
368.if ${MK_TOOLCHAIN} != "no"
369SUBDIR+=	ar
370SUBDIR+=	c89
371SUBDIR+=	c99
372SUBDIR+=	ctags
373SUBDIR+=	file2c
374SUBDIR+=	gprof
375SUBDIR+=	indent
376SUBDIR+=	lex
377SUBDIR+=	mkstr
378SUBDIR+=	rpcgen
379SUBDIR+=	unifdef
380SUBDIR+=	xlint
381SUBDIR+=	xstr
382SUBDIR+=	yacc
383.endif
384
385.if ${MK_VT} != "no"
386SUBDIR+=	vtfontcvt
387.endif
388
389.if ${MK_USB} != "no"
390SUBDIR+=	usbhidaction
391SUBDIR+=	usbhidctl
392.endif
393
394.if ${MK_UTMPX} != "no"
395SUBDIR+=	last
396SUBDIR+=	users
397SUBDIR+=	who
398.endif
399
400.if ${MK_SVN} == "yes" || ${MK_SVNLITE} == "yes"
401SUBDIR+=	svn
402.endif
403
404.include <bsd.arch.inc.mk>
405
406SUBDIR:=	${SUBDIR:O}
407
408SUBDIR_PARALLEL=
409
410.include <bsd.subdir.mk>
411