xref: /freebsd/usr.bin/Makefile (revision 3fde39073c722ba5b1d3aa330ec4dc5e0ecd8495)
1.include <src.opts.mk>
2
3SUBDIR=	alias \
4	apply \
5	asa \
6	awk \
7	backlight \
8	banner \
9	basename \
10	beep \
11	bintrans \
12	brandelf \
13	bsdcat \
14	bsddialog \
15	bsdiff \
16	bzip2 \
17	bzip2recover \
18	cap_mkdb \
19	chat \
20	chpass \
21	cksum \
22	cmp \
23	col \
24	colrm \
25	column \
26	comm \
27	compress \
28	csplit \
29	ctlstat \
30	cut \
31	diff \
32	dirname \
33	dtc \
34	du \
35	elfctl \
36	elfdump \
37	enigma \
38	env \
39	etdump \
40	expand \
41	false \
42	fetch \
43	find \
44	fmt \
45	fold \
46	fstat \
47	fsync \
48	gcore \
49	gencat \
50	getaddrinfo \
51	getconf \
52	getent \
53	getopt \
54	grep \
55	gzip \
56	head \
57	hexdump \
58	id \
59	ident \
60	ipcrm \
61	ipcs \
62	join \
63	jot \
64	killall \
65	ktrace \
66	ktrdump \
67	lam \
68	ldd \
69	leave \
70	less \
71	lessecho \
72	lesskey \
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	mididump \
90	ministat \
91	mkdep \
92	mkfifo \
93	mkimg \
94	mktemp \
95	mkuzip \
96	mt \
97	ncal \
98	ncurses \
99	netstat \
100	newgrp \
101	nfsstat \
102	nice \
103	nl \
104	nohup \
105	pagesize \
106	passwd \
107	paste \
108	patch \
109	pathchk \
110	perror \
111	posixmqcontrol \
112	posixshmcontrol \
113	pr \
114	printenv \
115	printf \
116	proccontrol \
117	procstat \
118	protect \
119	rctl \
120	renice \
121	resizewin \
122	rev \
123	revoke \
124	rpcinfo \
125	rs \
126	runat \
127	rup \
128	ruptime \
129	rusers \
130	rwall \
131	rwho \
132	script \
133	sdiff \
134	sed \
135	seq \
136	showmount \
137	sockstat \
138	soelim \
139	sort \
140	split \
141	stat \
142	stdbuf \
143	strings \
144	su \
145	systat \
146	tail \
147	tar \
148	tcopy \
149	tee \
150	time \
151	tip \
152	top \
153	touch \
154	tr \
155	true \
156	truncate \
157	ts \
158	tsort \
159	tty \
160	uname \
161	unexpand \
162	uniq \
163	unzip \
164	units \
165	unvis \
166	vis \
167	vmstat \
168	w \
169	wall \
170	wc \
171	wg \
172	what \
173	whereis \
174	which \
175	whois \
176	write \
177	xargs \
178	xinstall \
179	xo \
180	xz \
181	xzdec \
182	yes \
183	zstd
184
185# NB: keep these sorted by MK_* knobs
186
187SUBDIR.${MK_ACCT}+=	lastcomm
188SUBDIR.${MK_AT}+=	at
189SUBDIR.${MK_BLUETOOTH}+=	bluetooth
190SUBDIR.${MK_BSD_CPIO}+=	cpio
191SUBDIR.${MK_CALENDAR}+=	calendar
192.if ${MK_CLANG} != "no" || ${MK_LLVM_BINUTILS} != "no" || \
193    ${MK_LLD} != "no" || ${MK_LLDB} != "no"
194SUBDIR+=	clang
195.endif
196SUBDIR.${MK_DIALOG}+=	dpv
197SUBDIR.${MK_EE}+=	ee
198SUBDIR.${MK_FILE}+=	file
199SUBDIR.${MK_FINGER}+=	finger
200SUBDIR.${MK_FTP}+=	ftp
201SUBDIR.${MK_GAMES}+=	caesar
202SUBDIR.${MK_GAMES}+=	factor
203SUBDIR.${MK_GAMES}+=	fortune
204SUBDIR.${MK_GAMES}+=	grdc
205SUBDIR.${MK_GAMES}+=	morse
206SUBDIR.${MK_GAMES}+=	number
207SUBDIR.${MK_GAMES}+=	pom
208SUBDIR.${MK_GAMES}+=	primes
209SUBDIR.${MK_GAMES}+=	random
210SUBDIR+=		gh-bc
211.if ${MK_GNU_DIFF} == "no"
212SUBDIR+=		diff3
213.endif
214SUBDIR.${MK_HESIOD}+=	hesinfo
215SUBDIR.${MK_ICONV}+=	iconv
216SUBDIR.${MK_ICONV}+=	mkcsmapper
217SUBDIR.${MK_ICONV}+=	mkesdb
218SUBDIR.${MK_ISCSI}+=	iscsictl
219SUBDIR.${MK_KDUMP}+=	kdump
220SUBDIR.${MK_KDUMP}+=	truss
221.if ${MK_MITKRB5} == "no"
222SUBDIR.${MK_KERBEROS_SUPPORT}+=	compile_et
223.endif
224SUBDIR.${MK_LDNS_UTILS}+=	drill
225SUBDIR.${MK_LDNS_UTILS}+=	host
226SUBDIR.${MK_LIB32}+=	ldd32
227SUBDIR.${MK_LOCATE}+=	locate
228# XXX msgs?
229SUBDIR.${MK_MAIL}+=	biff
230SUBDIR.${MK_MAIL}+=	from
231SUBDIR.${MK_MAIL}+=	mail
232SUBDIR.${MK_MAIL}+=	msgs
233SUBDIR.${MK_MAKE}+=	bmake
234SUBDIR.${MK_MAN_UTILS}+=	man
235SUBDIR.${MK_NETCAT}+=	nc
236SUBDIR.${MK_NETLINK}+=	genl
237SUBDIR.${MK_NIS}+=	ypcat
238SUBDIR.${MK_NIS}+=	ypmatch
239SUBDIR.${MK_NIS}+=	ypwhich
240SUBDIR.${MK_OPENSSH}+=	ssh-copy-id
241SUBDIR.${MK_QUOTAS}+=	quota
242SUBDIR.${MK_SENDMAIL}+=	vacation
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