Makefile revision 267863
1#	From: @(#)Makefile	8.3 (Berkeley) 1/7/94
2# $FreeBSD: head/usr.bin/Makefile 267863 2014-06-25 12:06:45Z gavin $
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	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	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_ATM} != "no"
214SUBDIR+=	atm
215.endif
216
217.if ${MK_BLUETOOTH} != "no"
218SUBDIR+=	bluetooth
219.endif
220
221.if ${MK_BSD_CPIO} != "no"
222SUBDIR+=	cpio
223.endif
224
225.if ${MK_CALENDAR} != "no"
226SUBDIR+=	calendar
227.endif
228
229.if ${MK_CLANG} != "no"
230_clang=		clang
231.endif
232
233.if ${MK_FMAKE} != "no"
234SUBDIR+=	make
235.endif
236
237.if ${MK_GPL_DTC} != "yes"
238SUBDIR+=	dtc
239.endif
240
241.if ${MK_GROFF} != "no"
242SUBDIR+=	vgrind
243.endif
244
245.if ${MK_HESIOD} != "no"
246SUBDIR+=	hesinfo
247.endif
248
249.if ${MK_ICONV} != "no"
250_iconv=		iconv
251_mkcsmapper=	mkcsmapper
252_mkesdb=	mkesdb
253.endif
254
255.if ${MK_KDUMP} != "no"
256SUBDIR+=        kdump
257SUBDIR+=        truss
258.endif
259
260.if ${MK_KERBEROS_SUPPORT} != "no"
261SUBDIR+=	compile_et
262.endif
263
264.if ${MK_LDNS_UTILS} != "no"
265SUBDIR+=	drill
266SUBDIR+=	host
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"
282SUBDIR+=	bmake
283.endif
284
285.if ${MK_MAN_UTILS} != "no"
286SUBDIR+=	catman
287_makewhatis=	makewhatis
288_man=		man
289.endif
290
291.if ${MK_NETCAT} != "no"
292SUBDIR+=	nc
293.endif
294
295.if ${MK_NIS} != "no"
296SUBDIR+=	ypcat
297SUBDIR+=	ypmatch
298SUBDIR+=	ypwhich
299.endif
300
301.if ${MK_OPENSSH} != "no"
302SUBDIR+=	ssh-copy-id
303.endif
304
305.if ${MK_OPENSSL} != "no"
306SUBDIR+=	bc
307SUBDIR+=	chkey
308SUBDIR+=	dc
309SUBDIR+=	newkey
310.endif
311
312.if ${MK_QUOTAS} != "no"
313SUBDIR+=	quota
314.endif
315
316.if ${MK_RCMDS} != "no"
317SUBDIR+=	rlogin
318SUBDIR+=	rsh
319SUBDIR+=	ruptime
320SUBDIR+=	rwho
321.endif
322
323.if ${MK_SENDMAIL} != "no"
324SUBDIR+=	vacation
325.endif
326
327.if ${MK_TELNET} != "no"
328SUBDIR+=	telnet
329.endif
330
331.if ${MK_TESTS} != "no"
332_tests=		tests
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_VI} != "no"
359SUBDIR+=	vi
360.endif
361
362.if ${MK_VT_SUPPORT} != "no"
363SUBDIR+=	vtfontcvt
364.endif
365
366.if ${MK_USB} != "no"
367SUBDIR+=	usbhidaction
368SUBDIR+=	usbhidctl
369.endif
370
371.if ${MK_UTMPX} != "no"
372SUBDIR+=	last
373SUBDIR+=	users
374SUBDIR+=	who
375.endif
376
377.if ${MK_SVN} == "yes" || ${MK_SVNLITE} == "yes"
378SUBDIR+=	svn
379.endif
380
381.include <bsd.arch.inc.mk>
382
383SUBDIR:=	${SUBDIR:O}
384
385SUBDIR_PARALLEL=
386
387.include <bsd.subdir.mk>
388