Makefile revision 218941
1#	From: @(#)Makefile	8.3 (Berkeley) 1/7/94
2# $FreeBSD: head/usr.bin/Makefile 218941 2011-02-22 08:13:49Z uqs $
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	cut \
37	dirname \
38	du \
39	ee \
40	elf2aout \
41	elfdump \
42	enigma \
43	env \
44	expand \
45	false \
46	fetch \
47	file \
48	find \
49	finger \
50	fmt \
51	fold \
52	fstat \
53	fsync \
54	ftp \
55	gcore \
56	gencat \
57	getconf \
58	getent \
59	getopt \
60	${_grep} \
61	gzip \
62	head \
63	hexdump \
64	id \
65	ipcrm \
66	ipcs \
67	join \
68	jot \
69	kdump \
70	keylogin \
71	keylogout \
72	killall \
73	ktrace \
74	ktrdump \
75	lam \
76	last \
77	lastcomm \
78	ldd \
79	leave \
80	less \
81	lessecho \
82	lesskey \
83	limits \
84	locale \
85	lock \
86	lockf \
87	logger \
88	login \
89	logins \
90	logname \
91	look \
92	lorder \
93	lsvfs \
94	lzmainfo \
95	m4 \
96	${_makewhatis} \
97	${_man} \
98	mesg \
99	minigzip \
100	ministat \
101	mkdep \
102	mkfifo \
103	mklocale \
104	mktemp \
105	mkuzip \
106	mt \
107	ncal \
108	netstat \
109	newgrp \
110	nfsstat \
111	nice \
112	nl \
113	nohup \
114	opieinfo \
115	opiekey \
116	opiepasswd \
117	pagesize \
118	passwd \
119	paste \
120	pathchk \
121	perror \
122	pr \
123	printenv \
124	printf \
125	procstat \
126	renice \
127	rev \
128	revoke \
129	rpcinfo \
130	rs \
131	rup \
132	rusers \
133	rwall \
134	script \
135	sed \
136	seq \
137	shar \
138	showmount \
139	sockstat \
140	split \
141	stat \
142	su \
143	systat \
144	tabs \
145	tail \
146	talk \
147	tar \
148	tcopy \
149	tee \
150	tftp \
151	time \
152	tip \
153	top \
154	touch \
155	tput \
156	tr \
157	true \
158	truncate \
159	truss \
160	tset \
161	tsort \
162	tty \
163	uname \
164	unexpand \
165	uniq \
166	unzip \
167	units \
168	unvis \
169	users \
170	uudecode \
171	uuencode \
172	vi \
173	vis \
174	vmstat \
175	w \
176	wall \
177	wc \
178	what \
179	whereis \
180	which \
181	who \
182	whois \
183	write \
184	wtmpcvt \
185	xargs \
186	xinstall \
187	${_xlint} \
188	${_xstr} \
189	xz \
190	xzdec \
191	${_yacc} \
192	yes \
193	${_ypcat} \
194	${_ypmatch} \
195	${_ypwhich}
196
197# NB: keep these sorted by MK_* knobs
198
199.if ${MK_AT} != "no"
200SUBDIR+=	at
201.endif
202
203.if ${MK_ATM} != "no"
204SUBDIR+=	atm
205.endif
206
207.if ${MK_MAN_UTILS} != "no"
208SUBDIR+=	catman
209.endif
210
211.if ${MK_BIND_UTILS} != "no"
212SUBDIR+=	dig
213SUBDIR+=	host
214SUBDIR+=	nslookup
215SUBDIR+=	nsupdate
216.endif
217
218.if ${MK_BLUETOOTH} != "no"
219SUBDIR+=	bluetooth
220.endif
221
222.if ${MK_BSD_CPIO} != "no"
223SUBDIR+=	cpio
224.endif
225
226.if ${MK_BSD_GREP} != "no"
227_grep=		grep
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_HESIOD} != "no"
239SUBDIR+=	hesinfo
240.endif
241
242.if ${MK_GROFF} != "no"
243SUBDIR+=	vgrind
244.endif
245
246.if ${MK_OPENSSL} != "no"
247SUBDIR+=	bc
248SUBDIR+=	chkey
249SUBDIR+=	dc
250SUBDIR+=	newkey
251.if ${MK_LIBTHR} != "no"
252SUBDIR+=	csup
253.endif
254.endif
255
256.if ${MK_LOCATE} != "no"
257SUBDIR+=	locate
258.endif
259
260# XXX msgs?
261.if ${MK_MAIL} != "no"
262SUBDIR+=	biff
263SUBDIR+=	from
264SUBDIR+=	mail
265SUBDIR+=	msgs
266.endif
267
268.if ${MK_MAKE} != "no"
269SUBDIR+=	make
270.endif
271
272.if ${MK_MAN_UTILS} != "no"
273_makewhatis=	makewhatis
274_man=		man
275.endif
276
277.if ${MK_NETCAT} != "no"
278SUBDIR+=	nc
279.endif
280
281.if ${MK_NIS} != "no"
282SUBDIR+=	ypcat
283SUBDIR+=	ypmatch
284SUBDIR+=	ypwhich
285.endif
286
287.if ${MK_QUOTAS} != "no"
288SUBDIR+=	quota
289.endif
290
291.if ${MK_RCMDS} != "no"
292SUBDIR+=	rlogin
293SUBDIR+=	rsh
294SUBDIR+=	ruptime
295SUBDIR+=	rwho
296.endif
297
298.if ${MK_SENDMAIL} != "no"
299SUBDIR+=	vacation
300.endif
301
302.if ${MK_TELNET} != "no"
303SUBDIR+=	telnet
304.endif
305
306.if ${MK_TEXTPROC} != "no"
307SUBDIR+=	checknr
308SUBDIR+=	colcrt
309SUBDIR+=	ul
310.endif
311
312.if ${MK_TOOLCHAIN} != "no"
313SUBDIR+=	ar
314SUBDIR+=	c89
315SUBDIR+=	c99
316SUBDIR+=	compile_et
317SUBDIR+=	ctags
318SUBDIR+=	file2c
319SUBDIR+=	gprof
320SUBDIR+=	indent
321SUBDIR+=	lex
322SUBDIR+=	mkstr
323SUBDIR+=	rpcgen
324SUBDIR+=	unifdef
325SUBDIR+=	xlint
326SUBDIR+=	xstr
327SUBDIR+=	yacc
328.endif
329
330.if ${MK_USB} != "no"
331SUBDIR+=	usbhidaction
332SUBDIR+=	usbhidctl
333.endif
334
335.include <bsd.arch.inc.mk>
336
337SUBDIR:=	${SUBDIR:O}
338
339.include <bsd.subdir.mk>
340