Makefile revision 274116
1#	From: @(#)Makefile	8.3 (Berkeley) 1/7/94
2# $FreeBSD: head/usr.bin/Makefile 274116 2014-11-04 23:46:01Z dteske $
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	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	send-pr \
148	seq \
149	shar \
150	showmount \
151	sockstat \
152	sort \
153	split \
154	stat \
155	stdbuf \
156	su \
157	systat \
158	tabs \
159	tail \
160	talk \
161	tar \
162	tcopy \
163	tee \
164	${_tests} \
165	tftp \
166	time \
167	timeout \
168	tip \
169	top \
170	touch \
171	tput \
172	tr \
173	true \
174	truncate \
175	${_truss} \
176	tset \
177	tsort \
178	tty \
179	uname \
180	unexpand \
181	uniq \
182	unzip \
183	units \
184	unvis \
185	uudecode \
186	uuencode \
187	vis \
188	vmstat \
189	w \
190	wall \
191	wc \
192	what \
193	whereis \
194	which \
195	whois \
196	write \
197	xargs \
198	xinstall \
199	${_xlint} \
200	xo \
201	${_xstr} \
202	xz \
203	xzdec \
204	${_yacc} \
205	yes \
206	${_ypcat} \
207	${_ypmatch} \
208	${_ypwhich}
209
210# NB: keep these sorted by MK_* knobs
211
212.if ${MK_AT} != "no"
213SUBDIR+=	at
214.endif
215
216.if ${MK_ATM} != "no"
217SUBDIR+=	atm
218.endif
219
220.if ${MK_BLUETOOTH} != "no"
221SUBDIR+=	bluetooth
222.endif
223
224.if ${MK_BSD_CPIO} != "no"
225SUBDIR+=	cpio
226.endif
227
228.if ${MK_CALENDAR} != "no"
229SUBDIR+=	calendar
230.endif
231
232.if ${MK_CLANG} != "no"
233_clang=		clang
234.endif
235
236.if ${MK_FMAKE} != "no"
237SUBDIR+=	make
238.endif
239
240.if ${MK_GPL_DTC} != "yes"
241SUBDIR+=	dtc
242.endif
243
244.if ${MK_GROFF} != "no"
245SUBDIR+=	vgrind
246.endif
247
248.if ${MK_HESIOD} != "no"
249SUBDIR+=	hesinfo
250.endif
251
252.if ${MK_ICONV} != "no"
253_iconv=		iconv
254_mkcsmapper=	mkcsmapper
255_mkesdb=	mkesdb
256.endif
257
258.if ${MK_KDUMP} != "no"
259SUBDIR+=        kdump
260SUBDIR+=        truss
261.endif
262
263.if ${MK_KERBEROS_SUPPORT} != "no"
264SUBDIR+=	compile_et
265.endif
266
267.if ${MK_LDNS_UTILS} != "no"
268SUBDIR+=	drill
269SUBDIR+=	host
270.endif
271
272.if ${MK_LOCATE} != "no"
273SUBDIR+=	locate
274.endif
275
276# XXX msgs?
277.if ${MK_MAIL} != "no"
278SUBDIR+=	biff
279SUBDIR+=	from
280SUBDIR+=	mail
281SUBDIR+=	msgs
282.endif
283
284.if ${MK_MAKE} != "no"
285SUBDIR+=	bmake
286.endif
287
288.if ${MK_MAN_UTILS} != "no"
289SUBDIR+=	catman
290_makewhatis=	makewhatis
291_man=		man
292.endif
293
294.if ${MK_NETCAT} != "no"
295SUBDIR+=	nc
296.endif
297
298.if ${MK_NIS} != "no"
299SUBDIR+=	ypcat
300SUBDIR+=	ypmatch
301SUBDIR+=	ypwhich
302.endif
303
304.if ${MK_OPENSSH} != "no"
305SUBDIR+=	ssh-copy-id
306.endif
307
308.if ${MK_OPENSSL} != "no"
309SUBDIR+=	bc
310SUBDIR+=	chkey
311SUBDIR+=	dc
312SUBDIR+=	newkey
313.endif
314
315.if ${MK_QUOTAS} != "no"
316SUBDIR+=	quota
317.endif
318
319.if ${MK_RCMDS} != "no"
320SUBDIR+=	rlogin
321SUBDIR+=	rsh
322SUBDIR+=	ruptime
323SUBDIR+=	rwho
324.endif
325
326.if ${MK_SENDMAIL} != "no"
327SUBDIR+=	vacation
328.endif
329
330.if ${MK_TELNET} != "no"
331SUBDIR+=	telnet
332.endif
333
334.if ${MK_TESTS} != "no"
335_tests=		tests
336.endif
337
338.if ${MK_TEXTPROC} != "no"
339SUBDIR+=	checknr
340SUBDIR+=	colcrt
341SUBDIR+=	ul
342.endif
343
344.if ${MK_TOOLCHAIN} != "no"
345SUBDIR+=	ar
346SUBDIR+=	c89
347SUBDIR+=	c99
348SUBDIR+=	ctags
349SUBDIR+=	file2c
350SUBDIR+=	gprof
351SUBDIR+=	indent
352SUBDIR+=	lex
353SUBDIR+=	mkstr
354SUBDIR+=	rpcgen
355SUBDIR+=	unifdef
356SUBDIR+=	xlint
357SUBDIR+=	xstr
358SUBDIR+=	yacc
359.endif
360
361.if ${MK_VI} != "no"
362SUBDIR+=	vi
363.endif
364
365.if ${MK_VT} != "no"
366SUBDIR+=	vtfontcvt
367.endif
368
369.if ${MK_USB} != "no"
370SUBDIR+=	usbhidaction
371SUBDIR+=	usbhidctl
372.endif
373
374.if ${MK_UTMPX} != "no"
375SUBDIR+=	last
376SUBDIR+=	users
377SUBDIR+=	who
378.endif
379
380.if ${MK_SVN} == "yes" || ${MK_SVNLITE} == "yes"
381SUBDIR+=	svn
382.endif
383
384.include <bsd.arch.inc.mk>
385
386SUBDIR:=	${SUBDIR:O}
387
388SUBDIR_PARALLEL=
389
390.include <bsd.subdir.mk>
391