Makefile revision 220166
1#	From: @(#)Makefile	8.3 (Berkeley) 1/7/94
2# $FreeBSD: head/usr.bin/Makefile 220166 2011-03-30 18:27:52Z trasz $
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	${_iconv} \
65	id \
66	ipcrm \
67	ipcs \
68	join \
69	jot \
70	kdump \
71	keylogin \
72	keylogout \
73	killall \
74	ktrace \
75	ktrdump \
76	lam \
77	last \
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	su \
147	systat \
148	tabs \
149	tail \
150	talk \
151	tar \
152	tcopy \
153	tee \
154	tftp \
155	time \
156	tip \
157	top \
158	touch \
159	tput \
160	tr \
161	true \
162	truncate \
163	truss \
164	tset \
165	tsort \
166	tty \
167	uname \
168	unexpand \
169	uniq \
170	unzip \
171	units \
172	unvis \
173	users \
174	uudecode \
175	uuencode \
176	vi \
177	vis \
178	vmstat \
179	w \
180	wall \
181	wc \
182	what \
183	whereis \
184	which \
185	who \
186	whois \
187	write \
188	wtmpcvt \
189	xargs \
190	xinstall \
191	${_xlint} \
192	${_xstr} \
193	xz \
194	xzdec \
195	${_yacc} \
196	yes \
197	${_ypcat} \
198	${_ypmatch} \
199	${_ypwhich}
200
201# NB: keep these sorted by MK_* knobs
202
203.if ${MK_AT} != "no"
204SUBDIR+=	at
205.endif
206
207.if ${MK_ATM} != "no"
208SUBDIR+=	atm
209.endif
210
211.if ${MK_MAN_UTILS} != "no"
212SUBDIR+=	catman
213.endif
214
215.if ${MK_BIND_UTILS} != "no"
216SUBDIR+=	dig
217SUBDIR+=	host
218SUBDIR+=	nslookup
219SUBDIR+=	nsupdate
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_BSD_GREP} != "no"
231_grep=		grep
232.endif
233
234.if ${MK_CALENDAR} != "no"
235SUBDIR+=	calendar
236.endif
237
238.if ${MK_CLANG} != "no"
239_clang=		clang
240.endif
241
242.if ${MK_HESIOD} != "no"
243SUBDIR+=	hesinfo
244.endif
245
246.if ${MK_ICONV} != "no"
247_iconv=		iconv
248_mkcsmapper=	mkcsmapper
249_mkesdb=	mkesdb
250.endif
251
252.if ${MK_GROFF} != "no"
253SUBDIR+=	vgrind
254.endif
255
256.if ${MK_OPENSSL} != "no"
257SUBDIR+=	bc
258SUBDIR+=	chkey
259SUBDIR+=	dc
260SUBDIR+=	newkey
261.if ${MK_LIBTHR} != "no"
262SUBDIR+=	csup
263.endif
264.endif
265
266.if ${MK_LOCATE} != "no"
267SUBDIR+=	locate
268.endif
269
270# XXX msgs?
271.if ${MK_MAIL} != "no"
272SUBDIR+=	biff
273SUBDIR+=	from
274SUBDIR+=	mail
275SUBDIR+=	msgs
276.endif
277
278.if ${MK_MAKE} != "no"
279SUBDIR+=	make
280.endif
281
282.if ${MK_MAN_UTILS} != "no"
283_makewhatis=	makewhatis
284_man=		man
285.endif
286
287.if ${MK_NETCAT} != "no"
288SUBDIR+=	nc
289.endif
290
291.if ${MK_NIS} != "no"
292SUBDIR+=	ypcat
293SUBDIR+=	ypmatch
294SUBDIR+=	ypwhich
295.endif
296
297.if ${MK_QUOTAS} != "no"
298SUBDIR+=	quota
299.endif
300
301.if ${MK_RCMDS} != "no"
302SUBDIR+=	rlogin
303SUBDIR+=	rsh
304SUBDIR+=	ruptime
305SUBDIR+=	rwho
306.endif
307
308.if ${MK_SENDMAIL} != "no"
309SUBDIR+=	vacation
310.endif
311
312.if ${MK_TELNET} != "no"
313SUBDIR+=	telnet
314.endif
315
316.if ${MK_TEXTPROC} != "no"
317SUBDIR+=	checknr
318SUBDIR+=	colcrt
319SUBDIR+=	ul
320.endif
321
322.if ${MK_TOOLCHAIN} != "no"
323SUBDIR+=	ar
324SUBDIR+=	c89
325SUBDIR+=	c99
326SUBDIR+=	compile_et
327SUBDIR+=	ctags
328SUBDIR+=	file2c
329SUBDIR+=	gprof
330SUBDIR+=	indent
331SUBDIR+=	lex
332SUBDIR+=	mkstr
333SUBDIR+=	rpcgen
334SUBDIR+=	unifdef
335SUBDIR+=	xlint
336SUBDIR+=	xstr
337SUBDIR+=	yacc
338.endif
339
340.if ${MK_USB} != "no"
341SUBDIR+=	usbhidaction
342SUBDIR+=	usbhidctl
343.endif
344
345.include <bsd.arch.inc.mk>
346
347SUBDIR:=	${SUBDIR:O}
348
349.include <bsd.subdir.mk>
350