Makefile revision 274893
1#	From: @(#)Makefile	8.3 (Berkeley) 1/7/94
2# $FreeBSD: head/usr.bin/Makefile 274893 2014-11-22 20:55:36Z bapt $
3
4.include <src.opts.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	ee \
42	elf2aout \
43	elfdump \
44	enigma \
45	env \
46	expand \
47	false \
48	fetch \
49	file \
50	find \
51	finger \
52	fmt \
53	fold \
54	fstat \
55	fsync \
56	ftp \
57	gcore \
58	gencat \
59	getconf \
60	getent \
61	getopt \
62	grep \
63	gzip \
64	head \
65	hexdump \
66	${_iconv} \
67	id \
68	ipcrm \
69	ipcs \
70	iscsictl \
71	join \
72	jot \
73	${_kdump} \
74	keylogin \
75	keylogout \
76	killall \
77	ktrace \
78	ktrdump \
79	lam \
80	lastcomm \
81	ldd \
82	leave \
83	less \
84	lessecho \
85	lesskey \
86	limits \
87	locale \
88	lock \
89	lockf \
90	logger \
91	login \
92	logins \
93	logname \
94	look \
95	lorder \
96	lsvfs \
97	lzmainfo \
98	m4 \
99	${_makewhatis} \
100	${_man} \
101	mandoc \
102	mesg \
103	minigzip \
104	ministat \
105	${_mkcsmapper} \
106	mkdep \
107	${_mkesdb} \
108	mkfifo \
109	mkimg \
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	preconv \
133	printenv \
134	printf \
135	procstat \
136	protect \
137	rctl \
138	renice \
139	rev \
140	revoke \
141	rpcinfo \
142	rs \
143	rup \
144	rusers \
145	rwall \
146	script \
147	sed \
148	send-pr \
149	seq \
150	shar \
151	showmount \
152	sockstat \
153	soeliminate \
154	sort \
155	split \
156	stat \
157	stdbuf \
158	su \
159	systat \
160	tabs \
161	tail \
162	talk \
163	tar \
164	tcopy \
165	tee \
166	${_tests} \
167	tftp \
168	time \
169	timeout \
170	tip \
171	top \
172	touch \
173	tput \
174	tr \
175	true \
176	truncate \
177	${_truss} \
178	tset \
179	tsort \
180	tty \
181	uname \
182	unexpand \
183	uniq \
184	unzip \
185	units \
186	unvis \
187	uudecode \
188	uuencode \
189	vis \
190	vmstat \
191	w \
192	wall \
193	wc \
194	what \
195	whereis \
196	which \
197	whois \
198	write \
199	xargs \
200	xinstall \
201	${_xlint} \
202	xo \
203	${_xstr} \
204	xz \
205	xzdec \
206	${_yacc} \
207	yes \
208	${_ypcat} \
209	${_ypmatch} \
210	${_ypwhich}
211
212# NB: keep these sorted by MK_* knobs
213
214.if ${MK_AT} != "no"
215SUBDIR+=	at
216.endif
217
218.if ${MK_ATM} != "no"
219SUBDIR+=	atm
220.endif
221
222.if ${MK_BLUETOOTH} != "no"
223SUBDIR+=	bluetooth
224.endif
225
226.if ${MK_BSD_CPIO} != "no"
227SUBDIR+=	cpio
228.endif
229
230.if ${MK_CALENDAR} != "no"
231SUBDIR+=	calendar
232.endif
233
234.if ${MK_CLANG} != "no"
235_clang=		clang
236.endif
237
238.if ${MK_FMAKE} != "no"
239SUBDIR+=	make
240.endif
241
242.if ${MK_GPL_DTC} != "yes"
243SUBDIR+=	dtc
244.endif
245
246.if ${MK_GROFF} != "no"
247SUBDIR+=	vgrind
248.endif
249
250.if ${MK_HESIOD} != "no"
251SUBDIR+=	hesinfo
252.endif
253
254.if ${MK_ICONV} != "no"
255_iconv=		iconv
256_mkcsmapper=	mkcsmapper
257_mkesdb=	mkesdb
258.endif
259
260.if ${MK_KDUMP} != "no"
261SUBDIR+=        kdump
262SUBDIR+=        truss
263.endif
264
265.if ${MK_KERBEROS_SUPPORT} != "no"
266SUBDIR+=	compile_et
267.endif
268
269.if ${MK_LDNS_UTILS} != "no"
270SUBDIR+=	drill
271SUBDIR+=	host
272.endif
273
274.if ${MK_LOCATE} != "no"
275SUBDIR+=	locate
276.endif
277
278# XXX msgs?
279.if ${MK_MAIL} != "no"
280SUBDIR+=	biff
281SUBDIR+=	from
282SUBDIR+=	mail
283SUBDIR+=	msgs
284.endif
285
286.if ${MK_MAKE} != "no"
287SUBDIR+=	bmake
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_VI} != "no"
364SUBDIR+=	vi
365.endif
366
367.if ${MK_VT} != "no"
368SUBDIR+=	vtfontcvt
369.endif
370
371.if ${MK_USB} != "no"
372SUBDIR+=	usbhidaction
373SUBDIR+=	usbhidctl
374.endif
375
376.if ${MK_UTMPX} != "no"
377SUBDIR+=	last
378SUBDIR+=	users
379SUBDIR+=	who
380.endif
381
382.if ${MK_SVN} == "yes" || ${MK_SVNLITE} == "yes"
383SUBDIR+=	svn
384.endif
385
386.include <bsd.arch.inc.mk>
387
388SUBDIR:=	${SUBDIR:O}
389
390SUBDIR_PARALLEL=
391
392.include <bsd.subdir.mk>
393