xref: /freebsd/usr.bin/Makefile (revision 1bbb96495d7c501aeeb4c2626ff0f4468053ccf4)
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	shar \
137	showmount \
138	sockstat \
139	soelim \
140	sort \
141	split \
142	stat \
143	stdbuf \
144	strings \
145	su \
146	systat \
147	tail \
148	tar \
149	tcopy \
150	tee \
151	time \
152	tip \
153	top \
154	touch \
155	tr \
156	true \
157	truncate \
158	ts \
159	tsort \
160	tty \
161	uname \
162	unexpand \
163	uniq \
164	unzip \
165	units \
166	unvis \
167	vis \
168	vmstat \
169	w \
170	wall \
171	wc \
172	wg \
173	what \
174	whereis \
175	which \
176	whois \
177	write \
178	xargs \
179	xinstall \
180	xo \
181	xz \
182	xzdec \
183	yes \
184	zstd
185
186# NB: keep these sorted by MK_* knobs
187
188SUBDIR.${MK_ACCT}+=	lastcomm
189SUBDIR.${MK_AT}+=	at
190SUBDIR.${MK_BLUETOOTH}+=	bluetooth
191SUBDIR.${MK_BSD_CPIO}+=	cpio
192SUBDIR.${MK_CALENDAR}+=	calendar
193.if ${MK_CLANG} != "no" || ${MK_LLVM_BINUTILS} != "no" || \
194    ${MK_LLD} != "no" || ${MK_LLDB} != "no"
195SUBDIR+=	clang
196.endif
197SUBDIR.${MK_DIALOG}+=	dpv
198SUBDIR.${MK_EE}+=	ee
199SUBDIR.${MK_FILE}+=	file
200SUBDIR.${MK_FINGER}+=	finger
201SUBDIR.${MK_FTP}+=	ftp
202SUBDIR.${MK_GAMES}+=	caesar
203SUBDIR.${MK_GAMES}+=	factor
204SUBDIR.${MK_GAMES}+=	fortune
205SUBDIR.${MK_GAMES}+=	grdc
206SUBDIR.${MK_GAMES}+=	morse
207SUBDIR.${MK_GAMES}+=	number
208SUBDIR.${MK_GAMES}+=	pom
209SUBDIR.${MK_GAMES}+=	primes
210SUBDIR.${MK_GAMES}+=	random
211SUBDIR+=		gh-bc
212.if ${MK_GNU_DIFF} == "no"
213SUBDIR+=		diff3
214.endif
215SUBDIR.${MK_HESIOD}+=	hesinfo
216SUBDIR.${MK_ICONV}+=	iconv
217SUBDIR.${MK_ICONV}+=	mkcsmapper
218SUBDIR.${MK_ICONV}+=	mkesdb
219SUBDIR.${MK_ISCSI}+=	iscsictl
220SUBDIR.${MK_KDUMP}+=	kdump
221SUBDIR.${MK_KDUMP}+=	truss
222.if ${MK_MITKRB5} == "no"
223SUBDIR.${MK_KERBEROS_SUPPORT}+=	compile_et
224.endif
225SUBDIR.${MK_LDNS_UTILS}+=	drill
226SUBDIR.${MK_LDNS_UTILS}+=	host
227SUBDIR.${MK_LIB32}+=	ldd32
228SUBDIR.${MK_LOCATE}+=	locate
229# XXX msgs?
230SUBDIR.${MK_MAIL}+=	biff
231SUBDIR.${MK_MAIL}+=	from
232SUBDIR.${MK_MAIL}+=	mail
233SUBDIR.${MK_MAIL}+=	msgs
234SUBDIR.${MK_MAKE}+=	bmake
235SUBDIR.${MK_MAN_UTILS}+=	man
236SUBDIR.${MK_NETCAT}+=	nc
237SUBDIR.${MK_NETLINK}+=	genl
238SUBDIR.${MK_NIS}+=	ypcat
239SUBDIR.${MK_NIS}+=	ypmatch
240SUBDIR.${MK_NIS}+=	ypwhich
241SUBDIR.${MK_OPENSSH}+=	ssh-copy-id
242SUBDIR.${MK_QUOTAS}+=	quota
243SUBDIR.${MK_SENDMAIL}+=	vacation
244SUBDIR.${MK_TALK}+=	talk
245SUBDIR.${MK_TELNET}+=	telnet
246SUBDIR.${MK_TESTS_SUPPORT}+=	kyua
247SUBDIR.${MK_TESTS}+=	tests
248SUBDIR.${MK_TEXTPROC}+=	ul
249SUBDIR.${MK_TFTP}+=	tftp
250.if ${MK_LLVM_BINUTILS} == "no"
251# Only build the elftoolchain tools if we aren't using the LLVM ones.
252SUBDIR.${MK_TOOLCHAIN}+=	addr2line
253SUBDIR.${MK_TOOLCHAIN}+=	ar
254SUBDIR.${MK_TOOLCHAIN}+=	nm
255SUBDIR.${MK_TOOLCHAIN}+=	readelf
256SUBDIR.${MK_TOOLCHAIN}+=	size
257.endif
258SUBDIR.${MK_TOOLCHAIN}+=	c89
259SUBDIR.${MK_TOOLCHAIN}+=	c99
260SUBDIR.${MK_TOOLCHAIN}+=	ctags
261.if ${MK_LLVM_CXXFILT} == "no"
262SUBDIR.${MK_TOOLCHAIN}+=	cxxfilt
263.endif
264# ELF Tool Chain elfcopy required for EFI objects (PR280771)
265SUBDIR.${MK_TOOLCHAIN}+=	elfcopy
266SUBDIR.${MK_TOOLCHAIN}+=	file2c
267SUBDIR.${MK_TOOLCHAIN}+=	gprof
268SUBDIR.${MK_TOOLCHAIN}+=	indent
269SUBDIR.${MK_TOOLCHAIN}+=	lex
270SUBDIR.${MK_TOOLCHAIN}+=	lorder
271SUBDIR.${MK_TOOLCHAIN}+=	mkstr
272SUBDIR.${MK_TOOLCHAIN}+=	rpcgen
273SUBDIR.${MK_TOOLCHAIN}+=	unifdef
274SUBDIR.${MK_TOOLCHAIN}+=	xstr
275SUBDIR.${MK_TOOLCHAIN}+=	yacc
276SUBDIR.${MK_VI}+=	vi
277SUBDIR.${MK_VT}+=	vtfontcvt
278SUBDIR.${MK_USB}+=	usbhidaction
279SUBDIR.${MK_USB}+=	usbhidctl
280SUBDIR.${MK_UTMPX}+=	last
281SUBDIR.${MK_UTMPX}+=	users
282SUBDIR.${MK_UTMPX}+=	who
283SUBDIR.${MK_OFED}+=	ofed
284
285.include <bsd.arch.inc.mk>
286
287SUBDIR_PARALLEL=
288
289.include <bsd.subdir.mk>
290