xref: /freebsd/usr.bin/Makefile (revision a6deeaa2fb3b28a61ae56a85f2275f67fcf23262)
1.include <src.opts.mk>
2
3SUBDIR=	apply \
4	asa \
5	awk \
6	backlight \
7	banner \
8	basename \
9	bintrans \
10	brandelf \
11	bsdcat \
12	bsddialog \
13	bsdiff \
14	bzip2 \
15	bzip2recover \
16	cap_mkdb \
17	chat \
18	chpass \
19	cksum \
20	cmp \
21	col \
22	colrm \
23	column \
24	comm \
25	command \
26	compress \
27	cpio \
28	csplit \
29	ctlstat \
30	cut \
31	diff \
32	diff3 \
33	dirname \
34	dtc \
35	du \
36	elfctl \
37	elfdump \
38	enigma \
39	env \
40	etdump \
41	expand \
42	false \
43	fetch \
44	find \
45	fmt \
46	fold \
47	fstat \
48	fsync \
49	gcore \
50	gencat \
51	getaddrinfo \
52	getconf \
53	getent \
54	getopt \
55	grep \
56	gzip \
57	head \
58	hexdump \
59	id \
60	ident \
61	ipcrm \
62	ipcs \
63	join \
64	jot \
65	killall \
66	ktrace \
67	ktrdump \
68	lam \
69	ldd \
70	leave \
71	less \
72	lessecho \
73	limits \
74	locale \
75	localedef \
76	lock \
77	lockf \
78	logger \
79	login \
80	logins \
81	logname \
82	look \
83	lsvfs \
84	lzmainfo \
85	m4 \
86	mandoc \
87	mdo \
88	mesg \
89	ministat \
90	mkdep \
91	mkfifo \
92	mkimg \
93	mktemp \
94	mkuzip \
95	mt \
96	ncal \
97	ncurses \
98	netstat \
99	newgrp \
100	nfsstat \
101	nice \
102	nl \
103	nohup \
104	pagesize \
105	passwd \
106	paste \
107	patch \
108	pathchk \
109	perror \
110	posixmqcontrol \
111	posixshmcontrol \
112	pr \
113	printenv \
114	printf \
115	proccontrol \
116	procstat \
117	protect \
118	rctl \
119	renice \
120	resizewin \
121	rev \
122	revoke \
123	rpcinfo \
124	rs \
125	runat \
126	rup \
127	ruptime \
128	rusers \
129	rwall \
130	rwho \
131	script \
132	sdiff \
133	sed \
134	seq \
135	showmount \
136	sockstat \
137	soelim \
138	sort \
139	split \
140	stat \
141	stdbuf \
142	strings \
143	su \
144	systat \
145	tail \
146	tar \
147	tcopy \
148	tee \
149	time \
150	tip \
151	top \
152	touch \
153	tr \
154	true \
155	truncate \
156	ts \
157	tsort \
158	tty \
159	uname \
160	unexpand \
161	uniq \
162	unzip \
163	units \
164	unvis \
165	vis \
166	vmstat \
167	w \
168	wall \
169	wc \
170	wg \
171	what \
172	whereis \
173	which \
174	whois \
175	write \
176	xargs \
177	xinstall \
178	xo \
179	xz \
180	xzdec \
181	yes \
182	zstd
183
184# NB: keep these sorted by MK_* knobs
185
186SUBDIR.${MK_ACCT}+=	lastcomm
187SUBDIR.${MK_AT}+=	at
188SUBDIR.${MK_BLUETOOTH}+=	bluetooth
189SUBDIR.${MK_CALENDAR}+=	calendar
190.if ${MK_CLANG} != "no" || ${MK_LLVM_BINUTILS} != "no" || \
191    ${MK_LLD} != "no" || ${MK_LLDB} != "no"
192SUBDIR+=	clang
193.endif
194SUBDIR.${MK_EE}+=	ee
195SUBDIR.${MK_FILE}+=	file
196SUBDIR.${MK_FINGER}+=	finger
197SUBDIR.${MK_FTP}+=	ftp
198SUBDIR.${MK_GAMES}+=	caesar
199SUBDIR.${MK_GAMES}+=	factor
200SUBDIR.${MK_GAMES}+=	fortune
201SUBDIR.${MK_GAMES}+=	grdc
202SUBDIR.${MK_GAMES}+=	morse
203SUBDIR.${MK_GAMES}+=	number
204SUBDIR.${MK_GAMES}+=	pom
205SUBDIR.${MK_GAMES}+=	primes
206SUBDIR.${MK_GAMES}+=	random
207SUBDIR+=		gh-bc
208SUBDIR.${MK_HESIOD}+=	hesinfo
209SUBDIR.${MK_ICONV}+=	iconv
210SUBDIR.${MK_ICONV}+=	mkcsmapper
211SUBDIR.${MK_ICONV}+=	mkesdb
212SUBDIR.${MK_ISCSI}+=	iscsictl
213SUBDIR.${MK_KDUMP}+=	kdump
214SUBDIR.${MK_KDUMP}+=	truss
215.if ${MK_MITKRB5} == "no"
216SUBDIR.${MK_KERBEROS}+=	compile_et
217.endif
218SUBDIR.${MK_LDNS_UTILS}+=	drill
219SUBDIR.${MK_LDNS_UTILS}+=	host
220SUBDIR.${MK_LIB32}+=	ldd32
221SUBDIR.${MK_LOCATE}+=	locate
222# XXX msgs?
223SUBDIR.${MK_MAIL}+=	biff
224SUBDIR.${MK_MAIL}+=	from
225SUBDIR.${MK_MAIL}+=	mail
226SUBDIR.${MK_MAIL}+=	msgs
227SUBDIR.${MK_MAKE}+=	bmake
228SUBDIR.${MK_MAN_UTILS}+=	man
229SUBDIR.${MK_NETCAT}+=	nc
230SUBDIR.${MK_NETLINK}+=	genl
231SUBDIR.${MK_NIS}+=	ypcat
232SUBDIR.${MK_NIS}+=	ypmatch
233SUBDIR.${MK_NIS}+=	ypwhich
234SUBDIR.${MK_OPENSSH}+=	ssh-copy-id
235SUBDIR.${MK_PKGCONF}+=	bomtool
236SUBDIR.${MK_PKGCONF}+=	pkgconf
237SUBDIR.${MK_PKGCONF}+=	spdxtool
238SUBDIR.${MK_QUOTAS}+=	quota
239SUBDIR.${MK_SENDMAIL}+=	vacation
240SUBDIR.${MK_SOUND}+=	beep
241SUBDIR.${MK_SOUND}+=	mididump
242SUBDIR.${MK_TALK}+=	talk
243SUBDIR.${MK_TELNET}+=	telnet
244SUBDIR.${MK_TESTS_SUPPORT}+=	kyua
245SUBDIR.${MK_TESTS}+=	tests
246SUBDIR.${MK_TEXTPROC}+=	ul
247SUBDIR.${MK_TFTP}+=	tftp
248.if ${MK_LLVM_BINUTILS} == "no"
249# Only build the elftoolchain tools if we aren't using the LLVM ones.
250SUBDIR.${MK_TOOLCHAIN}+=	addr2line
251SUBDIR.${MK_TOOLCHAIN}+=	ar
252SUBDIR.${MK_TOOLCHAIN}+=	cxxfilt
253SUBDIR.${MK_TOOLCHAIN}+=	nm
254SUBDIR.${MK_TOOLCHAIN}+=	readelf
255SUBDIR.${MK_TOOLCHAIN}+=	size
256.endif
257SUBDIR.${MK_TOOLCHAIN}+=	c89
258SUBDIR.${MK_TOOLCHAIN}+=	c99
259SUBDIR.${MK_TOOLCHAIN}+=	ctags
260# ELF Tool Chain elfcopy required for EFI objects (PR280771)
261SUBDIR.${MK_TOOLCHAIN}+=	elfcopy
262SUBDIR.${MK_TOOLCHAIN}+=	file2c
263SUBDIR.${MK_TOOLCHAIN}+=	gprof
264SUBDIR.${MK_TOOLCHAIN}+=	indent
265SUBDIR.${MK_TOOLCHAIN}+=	lex
266SUBDIR.${MK_TOOLCHAIN}+=	lorder
267SUBDIR.${MK_TOOLCHAIN}+=	mkstr
268SUBDIR.${MK_TOOLCHAIN}+=	rpcgen
269SUBDIR.${MK_TOOLCHAIN}+=	unifdef
270SUBDIR.${MK_TOOLCHAIN}+=	xstr
271SUBDIR.${MK_TOOLCHAIN}+=	yacc
272SUBDIR.${MK_VI}+=	vi
273SUBDIR.${MK_VT}+=	vtfontcvt
274SUBDIR.${MK_USB}+=	usbhidaction
275SUBDIR.${MK_USB}+=	usbhidctl
276SUBDIR.${MK_UTMPX}+=	last
277SUBDIR.${MK_UTMPX}+=	users
278SUBDIR.${MK_UTMPX}+=	who
279SUBDIR.${MK_OFED}+=	ofed
280
281.include <bsd.arch.inc.mk>
282
283SUBDIR_PARALLEL=
284
285.include <bsd.subdir.mk>
286