Makefile revision 219019
1#	From: @(#)Makefile	8.3 (Berkeley) 1/7/94
2# $FreeBSD: head/usr.bin/Makefile 219019 2011-02-25 00:04:39Z gabor $
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	renice \
130	rev \
131	revoke \
132	rpcinfo \
133	rs \
134	rup \
135	rusers \
136	rwall \
137	script \
138	sed \
139	seq \
140	shar \
141	showmount \
142	sockstat \
143	split \
144	stat \
145	su \
146	systat \
147	tabs \
148	tail \
149	talk \
150	tar \
151	tcopy \
152	tee \
153	tftp \
154	time \
155	tip \
156	top \
157	touch \
158	tput \
159	tr \
160	true \
161	truncate \
162	truss \
163	tset \
164	tsort \
165	tty \
166	uname \
167	unexpand \
168	uniq \
169	unzip \
170	units \
171	unvis \
172	users \
173	uudecode \
174	uuencode \
175	vi \
176	vis \
177	vmstat \
178	w \
179	wall \
180	wc \
181	what \
182	whereis \
183	which \
184	who \
185	whois \
186	write \
187	wtmpcvt \
188	xargs \
189	xinstall \
190	${_xlint} \
191	${_xstr} \
192	xz \
193	xzdec \
194	${_yacc} \
195	yes \
196	${_ypcat} \
197	${_ypmatch} \
198	${_ypwhich}
199
200# NB: keep these sorted by MK_* knobs
201
202.if ${MK_AT} != "no"
203SUBDIR+=	at
204.endif
205
206.if ${MK_ATM} != "no"
207SUBDIR+=	atm
208.endif
209
210.if ${MK_MAN_UTILS} != "no"
211SUBDIR+=	catman
212.endif
213
214.if ${MK_BIND_UTILS} != "no"
215SUBDIR+=	dig
216SUBDIR+=	host
217SUBDIR+=	nslookup
218SUBDIR+=	nsupdate
219.endif
220
221.if ${MK_BLUETOOTH} != "no"
222SUBDIR+=	bluetooth
223.endif
224
225.if ${MK_BSD_CPIO} != "no"
226SUBDIR+=	cpio
227.endif
228
229.if ${MK_BSD_GREP} != "no"
230_grep=		grep
231.endif
232
233.if ${MK_CALENDAR} != "no"
234SUBDIR+=	calendar
235.endif
236
237.if ${MK_CLANG} != "no"
238_clang=		clang
239.endif
240
241.if ${MK_HESIOD} != "no"
242SUBDIR+=	hesinfo
243.endif
244
245.if ${MK_ICONV} != "no"
246_iconv=		iconv
247_mkcsmapper=	mkcsmapper
248_mkesdb=	mkesdb
249.endif
250
251.if ${MK_GROFF} != "no"
252SUBDIR+=	vgrind
253.endif
254
255.if ${MK_OPENSSL} != "no"
256SUBDIR+=	bc
257SUBDIR+=	chkey
258SUBDIR+=	dc
259SUBDIR+=	newkey
260.if ${MK_LIBTHR} != "no"
261SUBDIR+=	csup
262.endif
263.endif
264
265.if ${MK_LOCATE} != "no"
266SUBDIR+=	locate
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+=	compile_et
326SUBDIR+=	ctags
327SUBDIR+=	file2c
328SUBDIR+=	gprof
329SUBDIR+=	indent
330SUBDIR+=	lex
331SUBDIR+=	mkstr
332SUBDIR+=	rpcgen
333SUBDIR+=	unifdef
334SUBDIR+=	xlint
335SUBDIR+=	xstr
336SUBDIR+=	yacc
337.endif
338
339.if ${MK_USB} != "no"
340SUBDIR+=	usbhidaction
341SUBDIR+=	usbhidctl
342.endif
343
344.include <bsd.arch.inc.mk>
345
346SUBDIR:=	${SUBDIR:O}
347
348.include <bsd.subdir.mk>
349