Makefile revision 255570
1#	From: @(#)Makefile	8.3 (Berkeley) 1/7/94
2# $FreeBSD: head/usr.bin/Makefile 255570 2013-09-14 15:29:06Z 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	${_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	iscsictl \
72	join \
73	jot \
74	${_kdump} \
75	keylogin \
76	keylogout \
77	killall \
78	ktrace \
79	ktrdump \
80	lam \
81	lastcomm \
82	ldd \
83	leave \
84	less \
85	lessecho \
86	lesskey \
87	limits \
88	locale \
89	lock \
90	lockf \
91	logger \
92	login \
93	logins \
94	logname \
95	look \
96	lorder \
97	lsvfs \
98	lzmainfo \
99	m4 \
100	${_makewhatis} \
101	${_man} \
102	mandoc \
103	mesg \
104	minigzip \
105	ministat \
106	${_mkcsmapper} \
107	mkdep \
108	${_mkesdb} \
109	mkfifo \
110	mklocale \
111	mktemp \
112	mkulzma \
113	mkuzip \
114	mt \
115	ncal \
116	netstat \
117	newgrp \
118	nfsstat \
119	nice \
120	nl \
121	nohup \
122	opieinfo \
123	opiekey \
124	opiepasswd \
125	pagesize \
126	passwd \
127	paste \
128	patch \
129	pathchk \
130	perror \
131	pr \
132	printenv \
133	printf \
134	procstat \
135	rctl \
136	renice \
137	rev \
138	revoke \
139	rpcinfo \
140	rs \
141	rup \
142	rusers \
143	rwall \
144	script \
145	sed \
146	seq \
147	shar \
148	showmount \
149	sockstat \
150	sort \
151	split \
152	stat \
153	stdbuf \
154	su \
155	systat \
156	tabs \
157	tail \
158	talk \
159	tar \
160	tcopy \
161	tee \
162	tftp \
163	time \
164	tip \
165	top \
166	touch \
167	tput \
168	tr \
169	true \
170	truncate \
171	${_truss} \
172	tset \
173	tsort \
174	tty \
175	uname \
176	unexpand \
177	uniq \
178	unzip \
179	units \
180	unvis \
181	uudecode \
182	uuencode \
183	vi \
184	vis \
185	vmstat \
186	w \
187	wall \
188	wc \
189	what \
190	whereis \
191	which \
192	whois \
193	write \
194	xargs \
195	xinstall \
196	${_xlint} \
197	${_xstr} \
198	xz \
199	xzdec \
200	${_yacc} \
201	yes \
202	${_ypcat} \
203	${_ypmatch} \
204	${_ypwhich}
205
206# NB: keep these sorted by MK_* knobs
207
208.if ${MK_AT} != "no"
209SUBDIR+=	at
210.endif
211
212.if ${MK_ATF} != "no"
213_atf=		atf
214.endif
215
216.if ${MK_ATM} != "no"
217SUBDIR+=	atm
218.endif
219
220.if ${MK_BIND_UTILS} != "no"
221SUBDIR+=	dig
222SUBDIR+=	host
223SUBDIR+=	nslookup
224SUBDIR+=	nsupdate
225.endif
226
227.if ${MK_BLUETOOTH} != "no"
228SUBDIR+=	bluetooth
229.endif
230
231.if ${MK_BSD_CPIO} != "no"
232SUBDIR+=	cpio
233.endif
234
235.if ${MK_CALENDAR} != "no"
236SUBDIR+=	calendar
237.endif
238
239.if ${MK_CLANG} != "no"
240_clang=		clang
241.endif
242
243.if ${MK_GROFF} != "no"
244SUBDIR+=	vgrind
245.endif
246
247.if ${MK_HESIOD} != "no"
248SUBDIR+=	hesinfo
249.endif
250
251.if ${MK_ICONV} != "no"
252_iconv=		iconv
253_mkcsmapper=	mkcsmapper
254_mkesdb=	mkesdb
255.endif
256
257.if ${MK_KDUMP} != "no"
258SUBDIR+=        kdump
259SUBDIR+=        truss
260.endif
261
262.if ${MK_KERBEROS_SUPPORT} != "no"
263SUBDIR+=	compile_et
264.endif
265
266.if ${MK_LDNS_UTILS} != "no"
267SUBDIR+=	host
268.endif
269
270.if ${MK_LIBTHR} != "no"
271SUBDIR+=	csup
272.endif
273
274.if ${MK_LOCATE} != "no"
275SUBDIR+=	locate
276.endif
277
278# XXX msgs?
279.if ${MK_MAIL} != "no"
280SUBDIR+=	biff
281SUBDIR+=	from
282SUBDIR+=	mail
283SUBDIR+=	msgs
284.endif
285
286.if ${MK_MAKE} != "no"
287.if ${MK_BMAKE} != "no"
288SUBDIR+=	bmake
289.else
290SUBDIR+=	make
291.endif
292.endif
293
294.if ${MK_MAN_UTILS} != "no"
295SUBDIR+=	catman
296_makewhatis=	makewhatis
297_man=		man
298.endif
299
300.if ${MK_NETCAT} != "no"
301SUBDIR+=	nc
302.endif
303
304.if ${MK_NIS} != "no"
305SUBDIR+=	ypcat
306SUBDIR+=	ypmatch
307SUBDIR+=	ypwhich
308.endif
309
310.if ${MK_OPENSSH} != "no"
311SUBDIR+=	ssh-copy-id
312.endif
313
314.if ${MK_OPENSSL} != "no"
315SUBDIR+=	bc
316SUBDIR+=	chkey
317SUBDIR+=	dc
318SUBDIR+=	newkey
319.endif
320
321.if ${MK_QUOTAS} != "no"
322SUBDIR+=	quota
323.endif
324
325.if ${MK_RCMDS} != "no"
326SUBDIR+=	rlogin
327SUBDIR+=	rsh
328SUBDIR+=	ruptime
329SUBDIR+=	rwho
330.endif
331
332.if ${MK_SENDMAIL} != "no"
333SUBDIR+=	vacation
334.endif
335
336.if ${MK_TELNET} != "no"
337SUBDIR+=	telnet
338.endif
339
340.if ${MK_TEXTPROC} != "no"
341SUBDIR+=	checknr
342SUBDIR+=	colcrt
343SUBDIR+=	ul
344.endif
345
346.if ${MK_TOOLCHAIN} != "no"
347SUBDIR+=	ar
348SUBDIR+=	c89
349SUBDIR+=	c99
350SUBDIR+=	ctags
351SUBDIR+=	file2c
352SUBDIR+=	gprof
353SUBDIR+=	indent
354SUBDIR+=	lex
355SUBDIR+=	mkstr
356SUBDIR+=	rpcgen
357SUBDIR+=	unifdef
358SUBDIR+=	xlint
359SUBDIR+=	xstr
360SUBDIR+=	yacc
361.endif
362
363.if ${MK_USB} != "no"
364SUBDIR+=	usbhidaction
365SUBDIR+=	usbhidctl
366.endif
367
368.if ${MK_UTMPX} != "no"
369SUBDIR+=	last
370SUBDIR+=	users
371SUBDIR+=	who
372.endif
373
374.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "ia64" || \
375    ${MACHINE_ARCH} == "sparc64" || ${MACHINE_ARCH} == "i386" || \
376    (${MACHINE_ARCH} == "armv6" && ${COMPILER_TYPE} == "clang")
377.if ${MK_SVN} == "yes" || ${MK_SVNLITE} == "yes"
378SUBDIR+=	svn
379.endif
380.endif
381
382.include <bsd.arch.inc.mk>
383
384SUBDIR:=	${SUBDIR:O}
385
386.include <bsd.subdir.mk>
387