Makefile revision 288270
1#	From: @(#)Makefile	8.3 (Berkeley) 1/7/94
2# $FreeBSD: head/usr.bin/Makefile 288270 2015-09-26 14:28:04Z bdrewery $
3
4.include <src.opts.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	cmp \
27	col \
28	colldef \
29	colrm \
30	column \
31	comm \
32	compress \
33	cpuset \
34	csplit \
35	ctlstat \
36	cut \
37	dirname \
38	dpv \
39	du \
40	elf2aout \
41	elfdump \
42	enigma \
43	env \
44	expand \
45	false \
46	fetch \
47	find \
48	fmt \
49	fold \
50	fstat \
51	fsync \
52	gcore \
53	gencat \
54	getconf \
55	getent \
56	getopt \
57	grep \
58	gzip \
59	head \
60	hexdump \
61	id \
62	ident \
63	ipcrm \
64	ipcs \
65	join \
66	jot \
67	keylogin \
68	keylogout \
69	killall \
70	ktrace \
71	ktrdump \
72	lam \
73	lastcomm \
74	ldd \
75	leave \
76	less \
77	lessecho \
78	lesskey \
79	limits \
80	locale \
81	lock \
82	lockf \
83	logger \
84	login \
85	logins \
86	logname \
87	look \
88	lorder \
89	lsvfs \
90	lzmainfo \
91	m4 \
92	mandoc \
93	mesg \
94	minigzip \
95	ministat \
96	mkdep \
97	mkfifo \
98	mkimg \
99	mklocale \
100	mktemp \
101	mkulzma \
102	mkuzip \
103	mt \
104	ncal \
105	netstat \
106	newgrp \
107	nfsstat \
108	nice \
109	nl \
110	numactl \
111	nohup \
112	opieinfo \
113	opiekey \
114	opiepasswd \
115	pagesize \
116	passwd \
117	paste \
118	patch \
119	pathchk \
120	perror \
121	pr \
122	printenv \
123	printf \
124	procstat \
125	protect \
126	rctl \
127	renice \
128	rev \
129	revoke \
130	rpcinfo \
131	rs \
132	rup \
133	rusers \
134	rwall \
135	script \
136	sed \
137	send-pr \
138	seq \
139	shar \
140	showmount \
141	sockstat \
142	soelim \
143	sort \
144	split \
145	stat \
146	stdbuf \
147	su \
148	systat \
149	tabs \
150	tail \
151	tar \
152	tcopy \
153	tee \
154	time \
155	timeout \
156	tip \
157	top \
158	touch \
159	tput \
160	tr \
161	true \
162	truncate \
163	tset \
164	tsort \
165	tty \
166	uname \
167	unexpand \
168	uniq \
169	unzip \
170	units \
171	unvis \
172	uudecode \
173	uuencode \
174	vis \
175	vmstat \
176	w \
177	wall \
178	wc \
179	what \
180	whereis \
181	which \
182	whois \
183	write \
184	xargs \
185	xinstall \
186	xo \
187	xz \
188	xzdec \
189	yes
190
191# NB: keep these sorted by MK_* knobs
192
193.if ${MK_AT} != "no"
194SUBDIR+=	at
195.endif
196
197.if ${MK_ATM} != "no"
198SUBDIR+=	atm
199.endif
200
201.if ${MK_BLUETOOTH} != "no"
202SUBDIR+=	bluetooth
203.endif
204
205.if ${MK_BSD_CPIO} != "no"
206SUBDIR+=	cpio
207.endif
208
209.if ${MK_CALENDAR} != "no"
210SUBDIR+=	calendar
211.endif
212
213.if ${MK_CLANG} != "no"
214SUBDIR+=	clang
215.endif
216
217.if ${MK_EE} != "no"
218SUBDIR+=	ee
219.endif
220
221.if ${MK_FILE} != "no"
222SUBDIR+=	file
223.endif
224
225.if ${MK_FINGER} != "no"
226SUBDIR+=	finger
227.endif
228
229.if ${MK_FTP} != "no"
230SUBDIR+=	ftp
231.endif
232
233.if ${MK_GPL_DTC} != "yes"
234SUBDIR+=	dtc
235.endif
236
237.if ${MK_GROFF} != "no"
238SUBDIR+=	vgrind
239.endif
240
241.if ${MK_HESIOD} != "no"
242SUBDIR+=	hesinfo
243.endif
244
245.if ${MK_ICONV} != "no"
246SUBDIR+=	iconv
247SUBDIR+=	mkcsmapper
248SUBDIR+=	mkesdb
249.endif
250
251.if ${MK_ISCSI} != "no"
252SUBDIR+=	iscsictl
253.endif
254
255.if ${MK_KDUMP} != "no"
256SUBDIR+=        kdump
257.if ${MACHINE_ARCH} != "aarch64" # ARM64TODO truss does not build
258SUBDIR+=        truss
259.endif
260.endif
261
262.if ${MK_KERBEROS_SUPPORT} != "no"
263SUBDIR+=	compile_et
264.endif
265
266.if ${MK_LDNS_UTILS} != "no"
267SUBDIR+=	drill
268SUBDIR+=	host
269.endif
270
271.if ${MK_LOCATE} != "no"
272SUBDIR+=	locate
273.endif
274
275# XXX msgs?
276.if ${MK_MAIL} != "no"
277SUBDIR+=	biff
278SUBDIR+=	from
279SUBDIR+=	mail
280SUBDIR+=	msgs
281.endif
282
283.if ${MK_MAKE} != "no"
284SUBDIR+=	bmake
285.endif
286
287.if ${MK_MAN_UTILS} != "no"
288SUBDIR+=	catman
289.if ${MK_MANDOCDB} == "no"
290SUBDIR+=	makewhatis
291.endif
292SUBDIR+=	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_TALK} != "no"
332SUBDIR+=	talk
333.endif
334
335.if ${MK_TELNET} != "no"
336SUBDIR+=	telnet
337.endif
338
339.if ${MK_TESTS} != "no"
340SUBDIR+=	tests
341.endif
342
343.if ${MK_TEXTPROC} != "no"
344SUBDIR+=	checknr
345SUBDIR+=	colcrt
346SUBDIR+=	ul
347.endif
348
349.if ${MK_TFTP} != "no"
350SUBDIR+=	tftp
351.endif
352
353.if ${MK_TOOLCHAIN} != "no"
354SUBDIR+=	addr2line
355SUBDIR+=	ar
356SUBDIR+=	c89
357SUBDIR+=	c99
358SUBDIR+=	ctags
359SUBDIR+=	cxxfilt
360SUBDIR+=	elfcopy
361SUBDIR+=	file2c
362.if ${MACHINE_ARCH} != "aarch64" # ARM64TODO gprof does not build
363SUBDIR+=	gprof
364.endif
365SUBDIR+=	indent
366SUBDIR+=	lex
367SUBDIR+=	mkstr
368SUBDIR+=	nm
369SUBDIR+=	readelf
370SUBDIR+=	rpcgen
371SUBDIR+=	unifdef
372SUBDIR+=	size
373SUBDIR+=	strings
374.if ${MACHINE_ARCH} != "aarch64" # ARM64TODO xlint does not build
375SUBDIR+=	xlint
376.endif
377SUBDIR+=	xstr
378SUBDIR+=	yacc
379.endif
380
381.if ${MK_VI} != "no"
382SUBDIR+=	vi
383.endif
384
385.if ${MK_VT} != "no"
386SUBDIR+=	vtfontcvt
387.endif
388
389.if ${MK_USB} != "no"
390SUBDIR+=	usbhidaction
391SUBDIR+=	usbhidctl
392.endif
393
394.if ${MK_UTMPX} != "no"
395SUBDIR+=	last
396SUBDIR+=	users
397SUBDIR+=	who
398.endif
399
400.if ${MK_SVN} == "yes" || ${MK_SVNLITE} == "yes"
401SUBDIR+=	svn
402.endif
403
404# These are normally only handled for build-tools.  Connect them for
405# all but installing to keep them reasonably connected.
406.if !make(install)
407SUBDIR+=	mkcsmapper_static
408SUBDIR+=	mkesdb_static
409.endif
410
411.include <bsd.arch.inc.mk>
412
413SUBDIR:=	${SUBDIR:O}
414
415SUBDIR_PARALLEL=
416
417.include <bsd.subdir.mk>
418