1#	From: @(#)Makefile	8.3 (Berkeley) 1/7/94
2# $FreeBSD$
3
4.include <src.opts.mk>
5
6SUBDIR=	alias \
7	apply \
8	asa \
9	awk \
10	banner \
11	basename \
12	brandelf \
13	bsdcat \
14	bsdiff \
15	bzip2 \
16	bzip2recover \
17	cap_mkdb \
18	chat \
19	chpass \
20	cksum \
21	cmp \
22	col \
23	colrm \
24	column \
25	comm \
26	compress \
27	cpuset \
28	csplit \
29	ctlstat \
30	cut \
31	diff \
32	dirname \
33	du \
34	elfctl \
35	elfdump \
36	enigma \
37	env \
38	etdump \
39	expand \
40	false \
41	fetch \
42	find \
43	fmt \
44	fold \
45	fstat \
46	fsync \
47	gcore \
48	gencat \
49	getaddrinfo \
50	getconf \
51	getent \
52	getopt \
53	grep \
54	gzip \
55	head \
56	hexdump \
57	id \
58	ident \
59	ipcrm \
60	ipcs \
61	join \
62	jot \
63	keylogin \
64	keylogout \
65	killall \
66	ktrace \
67	ktrdump \
68	lam \
69	lastcomm \
70	ldd \
71	leave \
72	less \
73	lessecho \
74	lesskey \
75	limits \
76	locale \
77	localedef \
78	lock \
79	lockf \
80	logger \
81	login \
82	logins \
83	logname \
84	look \
85	lorder \
86	lsvfs \
87	lzmainfo \
88	m4 \
89	mandoc \
90	mesg \
91	minigzip \
92	ministat \
93	mkdep \
94	mkfifo \
95	mkimg \
96	mktemp \
97	mkuzip \
98	mt \
99	ncal \
100	netstat \
101	newgrp \
102	nfsstat \
103	nice \
104	nl \
105	nohup \
106	opieinfo \
107	opiekey \
108	opiepasswd \
109	pagesize \
110	passwd \
111	paste \
112	patch \
113	pathchk \
114	perror \
115	posixshmcontrol \
116	pr \
117	printenv \
118	printf \
119	proccontrol \
120	procstat \
121	protect \
122	rctl \
123	renice \
124	resizewin \
125	rev \
126	revoke \
127	rpcinfo \
128	rs \
129	rup \
130	ruptime \
131	rusers \
132	rwall \
133	rwho \
134	script \
135	sdiff \
136	sed \
137	seq \
138	shar \
139	showmount \
140	sockstat \
141	soelim \
142	sort \
143	split \
144	stat \
145	stdbuf \
146	strings \
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	zstd
191
192# NB: keep these sorted by MK_* knobs
193
194SUBDIR.${MK_AT}+=	at
195SUBDIR.${MK_ATM}+=	atm
196SUBDIR.${MK_BLUETOOTH}+=	bluetooth
197SUBDIR.${MK_BSD_CPIO}+=	cpio
198SUBDIR.${MK_CALENDAR}+=	calendar
199SUBDIR.${MK_CLANG}+=	clang
200SUBDIR.${MK_DIALOG}+=	dpv
201SUBDIR.${MK_EE}+=	ee
202SUBDIR.${MK_FILE}+=	file
203SUBDIR.${MK_FINGER}+=	finger
204SUBDIR.${MK_FTP}+=	ftp
205SUBDIR.${MK_GAMES}+=	caesar
206SUBDIR.${MK_GAMES}+=	factor
207SUBDIR.${MK_GAMES}+=	fortune
208SUBDIR.${MK_GAMES}+=	grdc
209SUBDIR.${MK_GAMES}+=	morse
210SUBDIR.${MK_GAMES}+=	number
211SUBDIR.${MK_GAMES}+=	pom
212SUBDIR.${MK_GAMES}+=	primes
213SUBDIR.${MK_GAMES}+=	random
214.if ${COMPILER_FEATURES:Mc++11}
215SUBDIR+=	dtc
216.endif
217.if ${MK_GH_BC} == "yes"
218SUBDIR+=		gh-bc
219.else
220SUBDIR.${MK_OPENSSL}+=	bc
221SUBDIR.${MK_OPENSSL}+=	dc
222.endif
223SUBDIR.${MK_HESIOD}+=	hesinfo
224SUBDIR.${MK_ICONV}+=	iconv
225SUBDIR.${MK_ICONV}+=	mkcsmapper
226SUBDIR.${MK_ICONV}+=	mkesdb
227SUBDIR.${MK_ISCSI}+=	iscsictl
228SUBDIR.${MK_KDUMP}+=	kdump
229SUBDIR.${MK_KDUMP}+=	truss
230SUBDIR.${MK_KERBEROS_SUPPORT}+=	compile_et
231SUBDIR.${MK_LDNS_UTILS}+=	drill
232SUBDIR.${MK_LDNS_UTILS}+=	host
233SUBDIR.${MK_LIB32}+=	ldd32
234SUBDIR.${MK_LOCATE}+=	locate
235# XXX msgs?
236SUBDIR.${MK_MAIL}+=	biff
237SUBDIR.${MK_MAIL}+=	from
238SUBDIR.${MK_MAIL}+=	mail
239SUBDIR.${MK_MAIL}+=	msgs
240SUBDIR.${MK_MAKE}+=	bmake
241SUBDIR.${MK_MAN_UTILS}+=	man
242SUBDIR.${MK_NETCAT}+=	nc
243SUBDIR.${MK_NIS}+=	ypcat
244SUBDIR.${MK_NIS}+=	ypmatch
245SUBDIR.${MK_NIS}+=	ypwhich
246SUBDIR.${MK_OPENSSH}+=	ssh-copy-id
247SUBDIR.${MK_OPENSSL}+=	chkey
248SUBDIR.${MK_OPENSSL}+=	newkey
249SUBDIR.${MK_QUOTAS}+=	quota
250SUBDIR.${MK_SENDMAIL}+=	vacation
251SUBDIR.${MK_TALK}+=	talk
252SUBDIR.${MK_TELNET}+=	telnet
253SUBDIR.${MK_TESTS_SUPPORT}.${MK_CXX}+=	kyua
254SUBDIR.${MK_TESTS}+=	tests
255SUBDIR.${MK_TEXTPROC}+=	ul
256SUBDIR.${MK_TFTP}+=	tftp
257SUBDIR.${MK_TOOLCHAIN}+=	addr2line
258SUBDIR.${MK_TOOLCHAIN}+=	ar
259SUBDIR.${MK_TOOLCHAIN}+=	c89
260SUBDIR.${MK_TOOLCHAIN}+=	c99
261SUBDIR.${MK_TOOLCHAIN}+=	ctags
262SUBDIR.${MK_TOOLCHAIN}+=	cxxfilt
263SUBDIR.${MK_TOOLCHAIN}+=	objcopy
264SUBDIR.${MK_TOOLCHAIN}+=	file2c
265# ARM64TODO gprof does not build
266# RISCVTODO gprof does not build
267.if ${MACHINE_ARCH} != "aarch64"
268SUBDIR.${MK_TOOLCHAIN}+=	gprof
269.endif
270SUBDIR.${MK_TOOLCHAIN}+=	indent
271SUBDIR.${MK_TOOLCHAIN}+=	lex
272SUBDIR.${MK_TOOLCHAIN}+=	mkstr
273SUBDIR.${MK_TOOLCHAIN}+=	nm
274SUBDIR.${MK_TOOLCHAIN}+=	readelf
275SUBDIR.${MK_TOOLCHAIN}+=	rpcgen
276SUBDIR.${MK_TOOLCHAIN}+=	unifdef
277SUBDIR.${MK_TOOLCHAIN}+=	size
278SUBDIR.${MK_TOOLCHAIN}+=	xstr
279SUBDIR.${MK_TOOLCHAIN}+=	yacc
280SUBDIR.${MK_VI}+=	vi
281SUBDIR.${MK_VT}+=	vtfontcvt
282SUBDIR.${MK_USB}+=	usbhidaction
283SUBDIR.${MK_USB}+=	usbhidctl
284SUBDIR.${MK_UTMPX}+=	last
285.if ${MK_CXX} != "no"
286SUBDIR.${MK_UTMPX}+=	users
287.endif
288SUBDIR.${MK_UTMPX}+=	who
289SUBDIR.${MK_SVN}+=	svn
290SUBDIR.${MK_SVNLITE}+=	svn
291SUBDIR.${MK_OFED}+=	ofed
292
293# These are normally only handled for build-tools.
294.if make(clean*)
295SUBDIR+=	mkcsmapper_static
296SUBDIR+=	mkesdb_static
297.endif
298
299.include <bsd.arch.inc.mk>
300
301SUBDIR_PARALLEL=
302
303.include <bsd.subdir.mk>
304