xref: /freebsd/usr.bin/Makefile (revision 9dcb984251b35ab1959bcaafcb3f129c8ae2f25b)
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	su \
144	systat \
145	tail \
146	tar \
147	tcopy \
148	tee \
149	time \
150	tip \
151	top \
152	touch \
153	tr \
154	true \
155	truncate \
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
219SUBDIR.${MK_KERBEROS_SUPPORT}+=	compile_et
220SUBDIR.${MK_LDNS_UTILS}+=	drill
221SUBDIR.${MK_LDNS_UTILS}+=	host
222SUBDIR.${MK_LIB32}+=	ldd32
223SUBDIR.${MK_LOCATE}+=	locate
224# XXX msgs?
225SUBDIR.${MK_MAIL}+=	biff
226SUBDIR.${MK_MAIL}+=	from
227SUBDIR.${MK_MAIL}+=	mail
228SUBDIR.${MK_MAIL}+=	msgs
229SUBDIR.${MK_MAKE}+=	bmake
230SUBDIR.${MK_MAN_UTILS}+=	man
231SUBDIR.${MK_NETCAT}+=	nc
232SUBDIR.${MK_NETLINK}+=	genl
233SUBDIR.${MK_NIS}+=	ypcat
234SUBDIR.${MK_NIS}+=	ypmatch
235SUBDIR.${MK_NIS}+=	ypwhich
236SUBDIR.${MK_OPENSSH}+=	ssh-copy-id
237SUBDIR.${MK_QUOTAS}+=	quota
238SUBDIR.${MK_SENDMAIL}+=	vacation
239SUBDIR.${MK_TALK}+=	talk
240SUBDIR.${MK_TELNET}+=	telnet
241SUBDIR.${MK_TESTS_SUPPORT}+=	kyua
242SUBDIR.${MK_TESTS}+=	tests
243SUBDIR.${MK_TEXTPROC}+=	ul
244SUBDIR.${MK_TFTP}+=	tftp
245.if ${MK_LLVM_BINUTILS} == "no"
246# Only build the elftoolchain tools if we aren't using the LLVM ones.
247SUBDIR.${MK_TOOLCHAIN}+=	addr2line
248SUBDIR.${MK_TOOLCHAIN}+=	ar
249SUBDIR.${MK_TOOLCHAIN}+=	nm
250SUBDIR.${MK_TOOLCHAIN}+=	objcopy
251SUBDIR.${MK_TOOLCHAIN}+=	readelf
252SUBDIR.${MK_TOOLCHAIN}+=	size
253SUBDIR+=			strings
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
261SUBDIR.${MK_TOOLCHAIN}+=	file2c
262SUBDIR.${MK_TOOLCHAIN}+=	gprof
263SUBDIR.${MK_TOOLCHAIN}+=	indent
264SUBDIR.${MK_TOOLCHAIN}+=	lex
265SUBDIR.${MK_TOOLCHAIN}+=	lorder
266SUBDIR.${MK_TOOLCHAIN}+=	mkstr
267SUBDIR.${MK_TOOLCHAIN}+=	rpcgen
268SUBDIR.${MK_TOOLCHAIN}+=	unifdef
269SUBDIR.${MK_TOOLCHAIN}+=	xstr
270SUBDIR.${MK_TOOLCHAIN}+=	yacc
271SUBDIR.${MK_VI}+=	vi
272SUBDIR.${MK_VT}+=	vtfontcvt
273SUBDIR.${MK_USB}+=	usbhidaction
274SUBDIR.${MK_USB}+=	usbhidctl
275SUBDIR.${MK_UTMPX}+=	last
276SUBDIR.${MK_UTMPX}+=	users
277SUBDIR.${MK_UTMPX}+=	who
278SUBDIR.${MK_OFED}+=	ofed
279
280.include <bsd.arch.inc.mk>
281
282SUBDIR_PARALLEL=
283
284.include <bsd.subdir.mk>
285