xref: /freebsd/usr.bin/Makefile (revision b1bebaaba9b9c0ddfe503c43ca8e9e3917ee2c57)
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	csplit \
28	ctlstat \
29	cut \
30	diff \
31	dirname \
32	dtc \
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	killall \
64	ktrace \
65	ktrdump \
66	lam \
67	ldd \
68	leave \
69	less \
70	lessecho \
71	lesskey \
72	limits \
73	locale \
74	localedef \
75	lock \
76	lockf \
77	logger \
78	login \
79	logins \
80	logname \
81	look \
82	lsvfs \
83	lzmainfo \
84	m4 \
85	mandoc \
86	mdo \
87	mesg \
88	ministat \
89	mkdep \
90	mkfifo \
91	mkimg \
92	mktemp \
93	mkuzip \
94	mt \
95	ncal \
96	ncurses \
97	netstat \
98	newgrp \
99	nfsstat \
100	nice \
101	nl \
102	nohup \
103	pagesize \
104	passwd \
105	paste \
106	patch \
107	pathchk \
108	perror \
109	posixmqcontrol \
110	posixshmcontrol \
111	pr \
112	printenv \
113	printf \
114	proccontrol \
115	procstat \
116	protect \
117	rctl \
118	renice \
119	resizewin \
120	rev \
121	revoke \
122	rpcinfo \
123	rs \
124	runat \
125	rup \
126	ruptime \
127	rusers \
128	rwall \
129	rwho \
130	script \
131	sdiff \
132	sed \
133	seq \
134	showmount \
135	sockstat \
136	soelim \
137	sort \
138	split \
139	stat \
140	stdbuf \
141	strings \
142	su \
143	systat \
144	tail \
145	tar \
146	tcopy \
147	tee \
148	time \
149	tip \
150	top \
151	touch \
152	tr \
153	true \
154	truncate \
155	ts \
156	tsort \
157	tty \
158	uname \
159	unexpand \
160	uniq \
161	unzip \
162	units \
163	unvis \
164	vis \
165	vmstat \
166	w \
167	wall \
168	wc \
169	wg \
170	what \
171	whereis \
172	which \
173	whois \
174	write \
175	xargs \
176	xinstall \
177	xo \
178	xz \
179	xzdec \
180	yes \
181	zstd
182
183# NB: keep these sorted by MK_* knobs
184
185SUBDIR.${MK_ACCT}+=	lastcomm
186SUBDIR.${MK_AT}+=	at
187SUBDIR.${MK_BLUETOOTH}+=	bluetooth
188SUBDIR.${MK_BSD_CPIO}+=	cpio
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_DIALOG}+=	dpv
195SUBDIR.${MK_EE}+=	ee
196SUBDIR.${MK_FILE}+=	file
197SUBDIR.${MK_FINGER}+=	finger
198SUBDIR.${MK_FTP}+=	ftp
199SUBDIR.${MK_GAMES}+=	caesar
200SUBDIR.${MK_GAMES}+=	factor
201SUBDIR.${MK_GAMES}+=	fortune
202SUBDIR.${MK_GAMES}+=	grdc
203SUBDIR.${MK_GAMES}+=	morse
204SUBDIR.${MK_GAMES}+=	number
205SUBDIR.${MK_GAMES}+=	pom
206SUBDIR.${MK_GAMES}+=	primes
207SUBDIR.${MK_GAMES}+=	random
208SUBDIR+=		gh-bc
209.if ${MK_GNU_DIFF} == "no"
210SUBDIR+=		diff3
211.endif
212SUBDIR.${MK_HESIOD}+=	hesinfo
213SUBDIR.${MK_ICONV}+=	iconv
214SUBDIR.${MK_ICONV}+=	mkcsmapper
215SUBDIR.${MK_ICONV}+=	mkesdb
216SUBDIR.${MK_ISCSI}+=	iscsictl
217SUBDIR.${MK_KDUMP}+=	kdump
218SUBDIR.${MK_KDUMP}+=	truss
219.if ${MK_MITKRB5} == "no"
220SUBDIR.${MK_KERBEROS}+=	compile_et
221.endif
222SUBDIR.${MK_LDNS_UTILS}+=	drill
223SUBDIR.${MK_LDNS_UTILS}+=	host
224SUBDIR.${MK_LIB32}+=	ldd32
225SUBDIR.${MK_LOCATE}+=	locate
226# XXX msgs?
227SUBDIR.${MK_MAIL}+=	biff
228SUBDIR.${MK_MAIL}+=	from
229SUBDIR.${MK_MAIL}+=	mail
230SUBDIR.${MK_MAIL}+=	msgs
231SUBDIR.${MK_MAKE}+=	bmake
232SUBDIR.${MK_MAN_UTILS}+=	man
233SUBDIR.${MK_NETCAT}+=	nc
234SUBDIR.${MK_NETLINK}+=	genl
235SUBDIR.${MK_NIS}+=	ypcat
236SUBDIR.${MK_NIS}+=	ypmatch
237SUBDIR.${MK_NIS}+=	ypwhich
238SUBDIR.${MK_OPENSSH}+=	ssh-copy-id
239SUBDIR.${MK_QUOTAS}+=	quota
240SUBDIR.${MK_SENDMAIL}+=	vacation
241SUBDIR.${MK_SOUND}+=	beep
242SUBDIR.${MK_SOUND}+=	mididump
243SUBDIR.${MK_TALK}+=	talk
244SUBDIR.${MK_TELNET}+=	telnet
245SUBDIR.${MK_TESTS_SUPPORT}+=	kyua
246SUBDIR.${MK_TESTS}+=	tests
247SUBDIR.${MK_TEXTPROC}+=	ul
248SUBDIR.${MK_TFTP}+=	tftp
249.if ${MK_LLVM_BINUTILS} == "no"
250# Only build the elftoolchain tools if we aren't using the LLVM ones.
251SUBDIR.${MK_TOOLCHAIN}+=	addr2line
252SUBDIR.${MK_TOOLCHAIN}+=	ar
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.if ${MK_LLVM_CXXFILT} == "no"
261SUBDIR.${MK_TOOLCHAIN}+=	cxxfilt
262.endif
263# ELF Tool Chain elfcopy required for EFI objects (PR280771)
264SUBDIR.${MK_TOOLCHAIN}+=	elfcopy
265SUBDIR.${MK_TOOLCHAIN}+=	file2c
266SUBDIR.${MK_TOOLCHAIN}+=	gprof
267SUBDIR.${MK_TOOLCHAIN}+=	indent
268SUBDIR.${MK_TOOLCHAIN}+=	lex
269SUBDIR.${MK_TOOLCHAIN}+=	lorder
270SUBDIR.${MK_TOOLCHAIN}+=	mkstr
271SUBDIR.${MK_TOOLCHAIN}+=	rpcgen
272SUBDIR.${MK_TOOLCHAIN}+=	unifdef
273SUBDIR.${MK_TOOLCHAIN}+=	xstr
274SUBDIR.${MK_TOOLCHAIN}+=	yacc
275SUBDIR.${MK_VI}+=	vi
276SUBDIR.${MK_VT}+=	vtfontcvt
277SUBDIR.${MK_USB}+=	usbhidaction
278SUBDIR.${MK_USB}+=	usbhidctl
279SUBDIR.${MK_UTMPX}+=	last
280SUBDIR.${MK_UTMPX}+=	users
281SUBDIR.${MK_UTMPX}+=	who
282SUBDIR.${MK_OFED}+=	ofed
283
284.include <bsd.arch.inc.mk>
285
286SUBDIR_PARALLEL=
287
288.include <bsd.subdir.mk>
289