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