Makefile revision 241279
1#	From: @(#)Makefile	8.3 (Berkeley) 1/7/94
2# $FreeBSD: head/usr.bin/Makefile 241279 2012-10-06 19:19:21Z marcel $
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	mkulzma \
109	mkuzip \
110	mt \
111	ncal \
112	netstat \
113	newgrp \
114	nfsstat \
115	nice \
116	nl \
117	nohup \
118	opieinfo \
119	opiekey \
120	opiepasswd \
121	pagesize \
122	passwd \
123	paste \
124	pathchk \
125	perror \
126	pr \
127	printenv \
128	printf \
129	procstat \
130	rctl \
131	renice \
132	rev \
133	revoke \
134	rpcinfo \
135	rs \
136	rup \
137	rusers \
138	rwall \
139	script \
140	sed \
141	seq \
142	shar \
143	showmount \
144	sockstat \
145	sort \
146	split \
147	stat \
148	stdbuf \
149	su \
150	systat \
151	tabs \
152	tail \
153	talk \
154	tar \
155	tcopy \
156	tee \
157	tftp \
158	time \
159	tip \
160	top \
161	touch \
162	tput \
163	tr \
164	true \
165	truncate \
166	${_truss} \
167	tset \
168	tsort \
169	tty \
170	uname \
171	unexpand \
172	uniq \
173	unzip \
174	units \
175	unvis \
176	uudecode \
177	uuencode \
178	vi \
179	vis \
180	vmstat \
181	w \
182	wall \
183	wc \
184	what \
185	whereis \
186	which \
187	whois \
188	write \
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_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_CALENDAR} != "no"
227SUBDIR+=	calendar
228.endif
229
230.if ${MK_CLANG} != "no"
231_clang=		clang
232.endif
233
234.if ${MK_GROFF} != "no"
235SUBDIR+=	vgrind
236.endif
237
238.if ${MK_HESIOD} != "no"
239SUBDIR+=	hesinfo
240.endif
241
242.if ${MK_ICONV} != "no"
243_iconv=		iconv
244_mkcsmapper=	mkcsmapper
245_mkesdb=	mkesdb
246.endif
247
248.if ${MK_KDUMP} != "no"
249SUBDIR+=        kdump
250SUBDIR+=        truss
251.endif
252
253.if ${MK_KERBEROS_SUPPORT} != "no"
254SUBDIR+=	compile_et
255.endif
256
257.if ${MK_LIBTHR} != "no"
258SUBDIR+=	csup
259.endif
260
261.if ${MK_LOCATE} != "no"
262SUBDIR+=	locate
263.endif
264
265# XXX msgs?
266.if ${MK_MAIL} != "no"
267SUBDIR+=	biff
268SUBDIR+=	from
269SUBDIR+=	mail
270SUBDIR+=	msgs
271.endif
272
273.if ${MK_MAKE} != "no"
274.if ${MK_BMAKE} != "no"
275SUBDIR+=	bmake
276.else
277SUBDIR+=	make
278.endif
279.endif
280
281.if ${MK_MAN_UTILS} != "no"
282SUBDIR+=	catman
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_OPENSSL} != "no"
298SUBDIR+=	bc
299SUBDIR+=	chkey
300SUBDIR+=	dc
301SUBDIR+=	newkey
302.endif
303
304.if ${MK_QUOTAS} != "no"
305SUBDIR+=	quota
306.endif
307
308.if ${MK_RCMDS} != "no"
309SUBDIR+=	rlogin
310SUBDIR+=	rsh
311SUBDIR+=	ruptime
312SUBDIR+=	rwho
313.endif
314
315.if ${MK_SENDMAIL} != "no"
316SUBDIR+=	vacation
317.endif
318
319.if ${MK_TELNET} != "no"
320SUBDIR+=	telnet
321.endif
322
323.if ${MK_TEXTPROC} != "no"
324SUBDIR+=	checknr
325SUBDIR+=	colcrt
326SUBDIR+=	ul
327.endif
328
329.if ${MK_TOOLCHAIN} != "no"
330SUBDIR+=	ar
331SUBDIR+=	c89
332SUBDIR+=	c99
333SUBDIR+=	ctags
334SUBDIR+=	file2c
335SUBDIR+=	gprof
336SUBDIR+=	indent
337SUBDIR+=	lex
338SUBDIR+=	mkstr
339SUBDIR+=	rpcgen
340SUBDIR+=	unifdef
341SUBDIR+=	xlint
342SUBDIR+=	xstr
343SUBDIR+=	yacc
344.endif
345
346.if ${MK_USB} != "no"
347SUBDIR+=	usbhidaction
348SUBDIR+=	usbhidctl
349.endif
350
351.if ${MK_UTMPX} != "no"
352SUBDIR+=	last
353SUBDIR+=	users
354SUBDIR+=	who
355.endif
356
357.include <bsd.arch.inc.mk>
358
359SUBDIR:=	${SUBDIR:O}
360
361.include <bsd.subdir.mk>
362