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	join \
70	jot \
71	kdump \
72	keylogin \
73	keylogout \
74	killall \
75	ktrace \
76	ktrdump \
77	lam \
78	lastcomm \
79	ldd \
80	leave \
81	less \
82	lessecho \
83	lesskey \
84	limits \
85	locale \
86	lock \
87	lockf \
88	logger \
89	login \
90	logins \
91	logname \
92	look \
93	lorder \
94	lsvfs \
95	lzmainfo \
96	m4 \
97	${_makewhatis} \
98	${_man} \
99	mesg \
100	minigzip \
101	ministat \
102	${_mkcsmapper} \
103	mkdep \
104	${_mkesdb} \
105	mkfifo \
106	mklocale \
107	mktemp \
108	mkulzma \
109	mkuzip \
110	mt \
111	ncal \
112	netstat \
113	newgrp \
114	nfsstat \
115	nice \
116	nl \
117	nohup \
118	opieinfo \
119	opiekey \
120	opiepasswd \
121	pagesize \
122	passwd \
123	paste \
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	split \
148	stat \
149	stdbuf \
150	su \
151	systat \
152	tabs \
153	tail \
154	talk \
155	tar \
156	tcopy \
157	tee \
158	tftp \
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_MAN_UTILS} != "no"
213SUBDIR+=	catman
214.endif
215
216.if ${MK_BIND_UTILS} != "no"
217SUBDIR+=	dig
218SUBDIR+=	host
219SUBDIR+=	nslookup
220SUBDIR+=	nsupdate
221.endif
222
223.if ${MK_BLUETOOTH} != "no"
224SUBDIR+=	bluetooth
225.endif
226
227.if ${MK_BSD_CPIO} != "no"
228SUBDIR+=	cpio
229.endif
230
231.if ${MK_CALENDAR} != "no"
232SUBDIR+=	calendar
233.endif
234
235.if ${MK_CLANG} != "no"
236_clang=		clang
237.endif
238
239.if ${MK_HESIOD} != "no"
240SUBDIR+=	hesinfo
241.endif
242
243.if ${MK_ICONV} != "no"
244_iconv=		iconv
245_mkcsmapper=	mkcsmapper
246_mkesdb=	mkesdb
247.endif
248
249.if ${MK_GROFF} != "no"
250SUBDIR+=	vgrind
251.endif
252
253.if ${MK_OPENSSL} != "no"
254SUBDIR+=	bc
255SUBDIR+=	chkey
256SUBDIR+=	dc
257SUBDIR+=	newkey
258.endif
259
260.if ${MK_LIBTHR} != "no"
261SUBDIR+=	csup
262.endif
263
264.if ${MK_LOCATE} != "no"
265SUBDIR+=	locate
266.endif
267
268# XXX msgs?
269.if ${MK_MAIL} != "no"
270SUBDIR+=	biff
271SUBDIR+=	from
272SUBDIR+=	mail
273SUBDIR+=	msgs
274.endif
275
276.if ${MK_MAKE} != "no"
277SUBDIR+=	bmake
278SUBDIR+=	make
279.endif
280
281.if ${MK_MAN_UTILS} != "no"
282_makewhatis=	makewhatis
283_man=		man
284.endif
285
286.if ${MK_NETCAT} != "no"
287SUBDIR+=	nc
288.endif
289
290.if ${MK_NIS} != "no"
291SUBDIR+=	ypcat
292SUBDIR+=	ypmatch
293SUBDIR+=	ypwhich
294.endif
295
296.if ${MK_QUOTAS} != "no"
297SUBDIR+=	quota
298.endif
299
300.if ${MK_RCMDS} != "no"
301SUBDIR+=	rlogin
302SUBDIR+=	rsh
303SUBDIR+=	ruptime
304SUBDIR+=	rwho
305.endif
306
307.if ${MK_SENDMAIL} != "no"
308SUBDIR+=	vacation
309.endif
310
311.if ${MK_TELNET} != "no"
312SUBDIR+=	telnet
313.endif
314
315.if ${MK_TEXTPROC} != "no"
316SUBDIR+=	checknr
317SUBDIR+=	colcrt
318SUBDIR+=	ul
319.endif
320
321.if ${MK_TOOLCHAIN} != "no"
322SUBDIR+=	ar
323SUBDIR+=	c89
324SUBDIR+=	c99
325SUBDIR+=	compile_et
326SUBDIR+=	ctags
327SUBDIR+=	file2c
328SUBDIR+=	gprof
329SUBDIR+=	indent
330SUBDIR+=	lex
331SUBDIR+=	mkstr
332SUBDIR+=	rpcgen
333SUBDIR+=	unifdef
334SUBDIR+=	xlint
335SUBDIR+=	xstr
336SUBDIR+=	yacc
337.endif
338
339.if ${MK_USB} != "no"
340SUBDIR+=	usbhidaction
341SUBDIR+=	usbhidctl
342.endif
343
344.if ${MK_UTMPX} != "no"
345SUBDIR+=	last
346SUBDIR+=	users
347SUBDIR+=	who
348SUBDIR+=	wtmpcvt
349.endif
350
351.include <bsd.arch.inc.mk>
352
353SUBDIR:=	${SUBDIR:O}
354
355SUBDIR_PARALLEL=
356
357.include <bsd.subdir.mk>
358