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