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