Makefile revision 234772
1#	From: @(#)Makefile	8.3 (Berkeley) 1/7/94
2# $FreeBSD: head/usr.bin/Makefile 234772 2012-04-28 20:52:20Z jlh $
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	mkuzip \
109	mt \
110	ncal \
111	netstat \
112	newgrp \
113	nfsstat \
114	nice \
115	nl \
116	nohup \
117	opieinfo \
118	opiekey \
119	opiepasswd \
120	pagesize \
121	passwd \
122	paste \
123	pathchk \
124	perror \
125	pr \
126	printenv \
127	printf \
128	procstat \
129	rctl \
130	renice \
131	rev \
132	revoke \
133	rpcinfo \
134	rs \
135	rup \
136	rusers \
137	rwall \
138	script \
139	sed \
140	seq \
141	shar \
142	showmount \
143	sockstat \
144	split \
145	stat \
146	stdbuf \
147	su \
148	systat \
149	tabs \
150	tail \
151	talk \
152	tar \
153	tcopy \
154	tee \
155	tftp \
156	time \
157	tip \
158	top \
159	touch \
160	tput \
161	tr \
162	true \
163	truncate \
164	truss \
165	tset \
166	tsort \
167	tty \
168	uname \
169	unexpand \
170	uniq \
171	unzip \
172	units \
173	unvis \
174	uudecode \
175	uuencode \
176	vi \
177	vis \
178	vmstat \
179	w \
180	wall \
181	wc \
182	what \
183	whereis \
184	which \
185	whois \
186	write \
187	xargs \
188	xinstall \
189	${_xlint} \
190	${_xstr} \
191	xz \
192	xzdec \
193	${_yacc} \
194	yes \
195	${_ypcat} \
196	${_ypmatch} \
197	${_ypwhich}
198
199# NB: keep these sorted by MK_* knobs
200
201.if ${MK_AT} != "no"
202SUBDIR+=	at
203.endif
204
205.if ${MK_ATM} != "no"
206SUBDIR+=	atm
207.endif
208
209.if ${MK_MAN_UTILS} != "no"
210SUBDIR+=	catman
211.endif
212
213.if ${MK_BIND_UTILS} != "no"
214SUBDIR+=	dig
215SUBDIR+=	host
216SUBDIR+=	nslookup
217SUBDIR+=	nsupdate
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_HESIOD} != "no"
237SUBDIR+=	hesinfo
238.endif
239
240.if ${MK_ICONV} != "no"
241_iconv=		iconv
242_mkcsmapper=	mkcsmapper
243_mkesdb=	mkesdb
244.endif
245
246.if ${MK_GROFF} != "no"
247SUBDIR+=	vgrind
248.endif
249
250.if ${MK_OPENSSL} != "no"
251SUBDIR+=	bc
252SUBDIR+=	chkey
253SUBDIR+=	dc
254SUBDIR+=	newkey
255.endif
256
257.if ${MK_LIBTHR} != "no"
258SUBDIR+=	csup
259.endif
260
261.if ${MK_LOCATE} != "no"
262SUBDIR+=	locate
263.endif
264
265.if ${MK_KERBEROS_SUPPORT} != "no"
266SUBDIR+=	compile_et
267.endif
268
269# XXX msgs?
270.if ${MK_MAIL} != "no"
271SUBDIR+=	biff
272SUBDIR+=	from
273SUBDIR+=	mail
274SUBDIR+=	msgs
275.endif
276
277.if ${MK_MAKE} != "no"
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+=	ctags
326SUBDIR+=	file2c
327SUBDIR+=	gprof
328SUBDIR+=	indent
329SUBDIR+=	lex
330SUBDIR+=	mkstr
331SUBDIR+=	rpcgen
332SUBDIR+=	unifdef
333SUBDIR+=	xlint
334SUBDIR+=	xstr
335SUBDIR+=	yacc
336.endif
337
338.if ${MK_USB} != "no"
339SUBDIR+=	usbhidaction
340SUBDIR+=	usbhidctl
341.endif
342
343.if ${MK_UTMPX} != "no"
344SUBDIR+=	last
345SUBDIR+=	users
346SUBDIR+=	who
347.endif
348
349.include <bsd.arch.inc.mk>
350
351SUBDIR:=	${SUBDIR:O}
352
353.include <bsd.subdir.mk>
354