xref: /freebsd-head/usr.bin/Makefile (revision fbd7087b0be2f327f806a85b92789a719138df8c)
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	rup \
127	ruptime \
128	rusers \
129	rwall \
130	rwho \
131	script \
132	sdiff \
133	sed \
134	seq \
135	shar \
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	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_BSD_CPIO}+=	cpio
190SUBDIR.${MK_CALENDAR}+=	calendar
191.if ${MK_CLANG} != "no" || ${MK_LLVM_BINUTILS} != "no" || \
192    ${MK_LLD} != "no" || ${MK_LLDB} != "no"
193SUBDIR+=	clang
194.endif
195SUBDIR.${MK_DIALOG}+=	dpv
196SUBDIR.${MK_EE}+=	ee
197SUBDIR.${MK_FILE}+=	file
198SUBDIR.${MK_FINGER}+=	finger
199SUBDIR.${MK_FTP}+=	ftp
200SUBDIR.${MK_GAMES}+=	caesar
201SUBDIR.${MK_GAMES}+=	factor
202SUBDIR.${MK_GAMES}+=	fortune
203SUBDIR.${MK_GAMES}+=	grdc
204SUBDIR.${MK_GAMES}+=	morse
205SUBDIR.${MK_GAMES}+=	number
206SUBDIR.${MK_GAMES}+=	pom
207SUBDIR.${MK_GAMES}+=	primes
208SUBDIR.${MK_GAMES}+=	random
209SUBDIR+=		gh-bc
210.if ${MK_GNU_DIFF} == "no"
211SUBDIR+=		diff3
212.endif
213SUBDIR.${MK_HESIOD}+=	hesinfo
214SUBDIR.${MK_ICONV}+=	iconv
215SUBDIR.${MK_ICONV}+=	mkcsmapper
216SUBDIR.${MK_ICONV}+=	mkesdb
217SUBDIR.${MK_ISCSI}+=	iscsictl
218SUBDIR.${MK_KDUMP}+=	kdump
219SUBDIR.${MK_KDUMP}+=	truss
220SUBDIR.${MK_KERBEROS_SUPPORT}+=	compile_et
221SUBDIR.${MK_LDNS_UTILS}+=	drill
222SUBDIR.${MK_LDNS_UTILS}+=	host
223SUBDIR.${MK_LIB32}+=	ldd32
224SUBDIR.${MK_LOCATE}+=	locate
225# XXX msgs?
226SUBDIR.${MK_MAIL}+=	biff
227SUBDIR.${MK_MAIL}+=	from
228SUBDIR.${MK_MAIL}+=	mail
229SUBDIR.${MK_MAIL}+=	msgs
230SUBDIR.${MK_MAKE}+=	bmake
231SUBDIR.${MK_MAN_UTILS}+=	man
232SUBDIR.${MK_NETCAT}+=	nc
233SUBDIR.${MK_NETLINK}+=	genl
234SUBDIR.${MK_NIS}+=	ypcat
235SUBDIR.${MK_NIS}+=	ypmatch
236SUBDIR.${MK_NIS}+=	ypwhich
237SUBDIR.${MK_OPENSSH}+=	ssh-copy-id
238SUBDIR.${MK_QUOTAS}+=	quota
239SUBDIR.${MK_SENDMAIL}+=	vacation
240SUBDIR.${MK_TALK}+=	talk
241SUBDIR.${MK_TELNET}+=	telnet
242SUBDIR.${MK_TESTS_SUPPORT}+=	kyua
243SUBDIR.${MK_TESTS}+=	tests
244SUBDIR.${MK_TEXTPROC}+=	ul
245SUBDIR.${MK_TFTP}+=	tftp
246.if ${MK_LLVM_BINUTILS} == "no"
247# Only build the elftoolchain tools if we aren't using the LLVM ones.
248SUBDIR.${MK_TOOLCHAIN}+=	addr2line
249SUBDIR.${MK_TOOLCHAIN}+=	ar
250SUBDIR.${MK_TOOLCHAIN}+=	nm
251SUBDIR.${MK_TOOLCHAIN}+=	readelf
252SUBDIR.${MK_TOOLCHAIN}+=	size
253.endif
254SUBDIR.${MK_TOOLCHAIN}+=	c89
255SUBDIR.${MK_TOOLCHAIN}+=	c99
256SUBDIR.${MK_TOOLCHAIN}+=	ctags
257.if ${MK_LLVM_CXXFILT} == "no"
258SUBDIR.${MK_TOOLCHAIN}+=	cxxfilt
259.endif
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