Makefile revision 255708
1#	From: @(#)Makefile	8.3 (Berkeley) 1/7/94
2# $FreeBSD: head/usr.bin/Makefile 255708 2013-09-19 18:53:42Z jhb $
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	protect \
136	rctl \
137	renice \
138	rev \
139	revoke \
140	rpcinfo \
141	rs \
142	rup \
143	rusers \
144	rwall \
145	script \
146	sed \
147	seq \
148	shar \
149	showmount \
150	sockstat \
151	sort \
152	split \
153	stat \
154	stdbuf \
155	su \
156	systat \
157	tabs \
158	tail \
159	talk \
160	tar \
161	tcopy \
162	tee \
163	tftp \
164	time \
165	tip \
166	top \
167	touch \
168	tput \
169	tr \
170	true \
171	truncate \
172	${_truss} \
173	tset \
174	tsort \
175	tty \
176	uname \
177	unexpand \
178	uniq \
179	unzip \
180	units \
181	unvis \
182	uudecode \
183	uuencode \
184	vi \
185	vis \
186	vmstat \
187	w \
188	wall \
189	wc \
190	what \
191	whereis \
192	which \
193	whois \
194	write \
195	xargs \
196	xinstall \
197	${_xlint} \
198	${_xstr} \
199	xz \
200	xzdec \
201	${_yacc} \
202	yes \
203	${_ypcat} \
204	${_ypmatch} \
205	${_ypwhich}
206
207# NB: keep these sorted by MK_* knobs
208
209.if ${MK_AT} != "no"
210SUBDIR+=	at
211.endif
212
213.if ${MK_ATF} != "no"
214_atf=		atf
215.endif
216
217.if ${MK_ATM} != "no"
218SUBDIR+=	atm
219.endif
220
221.if ${MK_BIND_UTILS} != "no"
222SUBDIR+=	dig
223SUBDIR+=	host
224SUBDIR+=	nslookup
225SUBDIR+=	nsupdate
226.endif
227
228.if ${MK_BLUETOOTH} != "no"
229SUBDIR+=	bluetooth
230.endif
231
232.if ${MK_BSD_CPIO} != "no"
233SUBDIR+=	cpio
234.endif
235
236.if ${MK_CALENDAR} != "no"
237SUBDIR+=	calendar
238.endif
239
240.if ${MK_CLANG} != "no"
241_clang=		clang
242.endif
243
244.if ${MK_GROFF} != "no"
245SUBDIR+=	vgrind
246.endif
247
248.if ${MK_HESIOD} != "no"
249SUBDIR+=	hesinfo
250.endif
251
252.if ${MK_ICONV} != "no"
253_iconv=		iconv
254_mkcsmapper=	mkcsmapper
255_mkesdb=	mkesdb
256.endif
257
258.if ${MK_KDUMP} != "no"
259SUBDIR+=        kdump
260SUBDIR+=        truss
261.endif
262
263.if ${MK_KERBEROS_SUPPORT} != "no"
264SUBDIR+=	compile_et
265.endif
266
267.if ${MK_LDNS_UTILS} != "no"
268SUBDIR+=	host
269.endif
270
271.if ${MK_LIBTHR} != "no"
272SUBDIR+=	csup
273.endif
274
275.if ${MK_LOCATE} != "no"
276SUBDIR+=	locate
277.endif
278
279# XXX msgs?
280.if ${MK_MAIL} != "no"
281SUBDIR+=	biff
282SUBDIR+=	from
283SUBDIR+=	mail
284SUBDIR+=	msgs
285.endif
286
287.if ${MK_MAKE} != "no"
288.if ${MK_BMAKE} != "no"
289SUBDIR+=	bmake
290.else
291SUBDIR+=	make
292.endif
293.endif
294
295.if ${MK_MAN_UTILS} != "no"
296SUBDIR+=	catman
297_makewhatis=	makewhatis
298_man=		man
299.endif
300
301.if ${MK_NETCAT} != "no"
302SUBDIR+=	nc
303.endif
304
305.if ${MK_NIS} != "no"
306SUBDIR+=	ypcat
307SUBDIR+=	ypmatch
308SUBDIR+=	ypwhich
309.endif
310
311.if ${MK_OPENSSH} != "no"
312SUBDIR+=	ssh-copy-id
313.endif
314
315.if ${MK_OPENSSL} != "no"
316SUBDIR+=	bc
317SUBDIR+=	chkey
318SUBDIR+=	dc
319SUBDIR+=	newkey
320.endif
321
322.if ${MK_QUOTAS} != "no"
323SUBDIR+=	quota
324.endif
325
326.if ${MK_RCMDS} != "no"
327SUBDIR+=	rlogin
328SUBDIR+=	rsh
329SUBDIR+=	ruptime
330SUBDIR+=	rwho
331.endif
332
333.if ${MK_SENDMAIL} != "no"
334SUBDIR+=	vacation
335.endif
336
337.if ${MK_TELNET} != "no"
338SUBDIR+=	telnet
339.endif
340
341.if ${MK_TEXTPROC} != "no"
342SUBDIR+=	checknr
343SUBDIR+=	colcrt
344SUBDIR+=	ul
345.endif
346
347.if ${MK_TOOLCHAIN} != "no"
348SUBDIR+=	ar
349SUBDIR+=	c89
350SUBDIR+=	c99
351SUBDIR+=	ctags
352SUBDIR+=	file2c
353SUBDIR+=	gprof
354SUBDIR+=	indent
355SUBDIR+=	lex
356SUBDIR+=	mkstr
357SUBDIR+=	rpcgen
358SUBDIR+=	unifdef
359SUBDIR+=	xlint
360SUBDIR+=	xstr
361SUBDIR+=	yacc
362.endif
363
364.if ${MK_USB} != "no"
365SUBDIR+=	usbhidaction
366SUBDIR+=	usbhidctl
367.endif
368
369.if ${MK_UTMPX} != "no"
370SUBDIR+=	last
371SUBDIR+=	users
372SUBDIR+=	who
373.endif
374
375.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "ia64" || \
376    ${MACHINE_ARCH} == "sparc64" || ${MACHINE_ARCH} == "i386" || \
377    (${MACHINE_ARCH} == "armv6" && ${COMPILER_TYPE} == "clang")
378.if ${MK_SVN} == "yes" || ${MK_SVNLITE} == "yes"
379SUBDIR+=	svn
380.endif
381.endif
382
383.include <bsd.arch.inc.mk>
384
385SUBDIR:=	${SUBDIR:O}
386
387.include <bsd.subdir.mk>
388