xref: /freebsd/usr.bin/Makefile (revision efedac28c7ce4bef9d9b09b7901f1cb35babc2c4)
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	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
221SUBDIR.${MK_KERBEROS_SUPPORT}+=	compile_et
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_TALK}+=	talk
242SUBDIR.${MK_TELNET}+=	telnet
243SUBDIR.${MK_TESTS_SUPPORT}+=	kyua
244SUBDIR.${MK_TESTS}+=	tests
245SUBDIR.${MK_TEXTPROC}+=	ul
246SUBDIR.${MK_TFTP}+=	tftp
247.if ${MK_LLVM_BINUTILS} == "no"
248# Only build the elftoolchain tools if we aren't using the LLVM ones.
249SUBDIR.${MK_TOOLCHAIN}+=	addr2line
250SUBDIR.${MK_TOOLCHAIN}+=	ar
251SUBDIR.${MK_TOOLCHAIN}+=	nm
252SUBDIR.${MK_TOOLCHAIN}+=	readelf
253SUBDIR.${MK_TOOLCHAIN}+=	size
254.endif
255SUBDIR.${MK_TOOLCHAIN}+=	c89
256SUBDIR.${MK_TOOLCHAIN}+=	c99
257SUBDIR.${MK_TOOLCHAIN}+=	ctags
258.if ${MK_LLVM_CXXFILT} == "no"
259SUBDIR.${MK_TOOLCHAIN}+=	cxxfilt
260.endif
261# ELF Tool Chain elfcopy required for EFI objects (PR280771)
262SUBDIR.${MK_TOOLCHAIN}+=	elfcopy
263SUBDIR.${MK_TOOLCHAIN}+=	file2c
264SUBDIR.${MK_TOOLCHAIN}+=	gprof
265SUBDIR.${MK_TOOLCHAIN}+=	indent
266SUBDIR.${MK_TOOLCHAIN}+=	lex
267SUBDIR.${MK_TOOLCHAIN}+=	lorder
268SUBDIR.${MK_TOOLCHAIN}+=	mkstr
269SUBDIR.${MK_TOOLCHAIN}+=	rpcgen
270SUBDIR.${MK_TOOLCHAIN}+=	unifdef
271SUBDIR.${MK_TOOLCHAIN}+=	xstr
272SUBDIR.${MK_TOOLCHAIN}+=	yacc
273SUBDIR.${MK_VI}+=	vi
274SUBDIR.${MK_VT}+=	vtfontcvt
275SUBDIR.${MK_USB}+=	usbhidaction
276SUBDIR.${MK_USB}+=	usbhidctl
277SUBDIR.${MK_UTMPX}+=	last
278SUBDIR.${MK_UTMPX}+=	users
279SUBDIR.${MK_UTMPX}+=	who
280SUBDIR.${MK_OFED}+=	ofed
281
282.include <bsd.arch.inc.mk>
283
284SUBDIR_PARALLEL=
285
286.include <bsd.subdir.mk>
287