xref: /freebsd/usr.bin/Makefile (revision 5036d9652a5701d00e9e40ea942c278e9f77d33d)
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	keylogin \
65	keylogout \
66	killall \
67	ktrace \
68	ktrdump \
69	lam \
70	ldd \
71	leave \
72	less \
73	lessecho \
74	lesskey \
75	limits \
76	locale \
77	localedef \
78	lock \
79	lockf \
80	logger \
81	login \
82	logins \
83	logname \
84	look \
85	lsvfs \
86	lzmainfo \
87	m4 \
88	mandoc \
89	mdo \
90	mesg \
91	mididump \
92	ministat \
93	mkdep \
94	mkfifo \
95	mkimg \
96	mktemp \
97	mkuzip \
98	mt \
99	ncal \
100	ncurses \
101	netstat \
102	newgrp \
103	nfsstat \
104	nice \
105	nl \
106	nohup \
107	pagesize \
108	passwd \
109	paste \
110	patch \
111	pathchk \
112	perror \
113	posixmqcontrol \
114	posixshmcontrol \
115	pr \
116	printenv \
117	printf \
118	proccontrol \
119	procstat \
120	protect \
121	rctl \
122	renice \
123	resizewin \
124	rev \
125	revoke \
126	rpcinfo \
127	rs \
128	rup \
129	ruptime \
130	rusers \
131	rwall \
132	rwho \
133	script \
134	sdiff \
135	sed \
136	seq \
137	shar \
138	showmount \
139	sockstat \
140	soelim \
141	sort \
142	split \
143	stat \
144	stdbuf \
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
210.if ${MK_GH_BC} == "yes"
211SUBDIR+=		gh-bc
212.else
213SUBDIR.${MK_OPENSSL}+=	bc
214SUBDIR.${MK_OPENSSL}+=	dc
215.endif
216.if ${MK_GNU_DIFF} == "no"
217SUBDIR+=		diff3
218.endif
219SUBDIR.${MK_HESIOD}+=	hesinfo
220SUBDIR.${MK_ICONV}+=	iconv
221SUBDIR.${MK_ICONV}+=	mkcsmapper
222SUBDIR.${MK_ICONV}+=	mkesdb
223SUBDIR.${MK_ISCSI}+=	iscsictl
224SUBDIR.${MK_KDUMP}+=	kdump
225SUBDIR.${MK_KDUMP}+=	truss
226SUBDIR.${MK_KERBEROS_SUPPORT}+=	compile_et
227SUBDIR.${MK_LDNS_UTILS}+=	drill
228SUBDIR.${MK_LDNS_UTILS}+=	host
229SUBDIR.${MK_LIB32}+=	ldd32
230SUBDIR.${MK_LOCATE}+=	locate
231# XXX msgs?
232SUBDIR.${MK_MAIL}+=	biff
233SUBDIR.${MK_MAIL}+=	from
234SUBDIR.${MK_MAIL}+=	mail
235SUBDIR.${MK_MAIL}+=	msgs
236SUBDIR.${MK_MAKE}+=	bmake
237SUBDIR.${MK_MAN_UTILS}+=	man
238SUBDIR.${MK_NETCAT}+=	nc
239SUBDIR.${MK_NETLINK}+=	genl
240SUBDIR.${MK_NIS}+=	ypcat
241SUBDIR.${MK_NIS}+=	ypmatch
242SUBDIR.${MK_NIS}+=	ypwhich
243SUBDIR.${MK_OPENSSH}+=	ssh-copy-id
244SUBDIR.${MK_OPENSSL}+=	chkey
245SUBDIR.${MK_OPENSSL}+=	newkey
246SUBDIR.${MK_QUOTAS}+=	quota
247SUBDIR.${MK_SENDMAIL}+=	vacation
248SUBDIR.${MK_TALK}+=	talk
249SUBDIR.${MK_TELNET}+=	telnet
250SUBDIR.${MK_TESTS_SUPPORT}+=	kyua
251SUBDIR.${MK_TESTS}+=	tests
252SUBDIR.${MK_TEXTPROC}+=	ul
253SUBDIR.${MK_TFTP}+=	tftp
254.if ${MK_LLVM_BINUTILS} == "no"
255# Only build the elftoolchain tools if we aren't using the LLVM ones.
256SUBDIR.${MK_TOOLCHAIN}+=	addr2line
257SUBDIR.${MK_TOOLCHAIN}+=	ar
258SUBDIR.${MK_TOOLCHAIN}+=	nm
259SUBDIR.${MK_TOOLCHAIN}+=	objcopy
260SUBDIR.${MK_TOOLCHAIN}+=	readelf
261SUBDIR.${MK_TOOLCHAIN}+=	size
262SUBDIR+=			strings
263.endif
264SUBDIR.${MK_TOOLCHAIN}+=	c89
265SUBDIR.${MK_TOOLCHAIN}+=	c99
266SUBDIR.${MK_TOOLCHAIN}+=	ctags
267.if ${MK_LLVM_CXXFILT} == "no"
268SUBDIR.${MK_TOOLCHAIN}+=	cxxfilt
269.endif
270SUBDIR.${MK_TOOLCHAIN}+=	file2c
271SUBDIR.${MK_TOOLCHAIN}+=	gprof
272SUBDIR.${MK_TOOLCHAIN}+=	indent
273SUBDIR.${MK_TOOLCHAIN}+=	lex
274SUBDIR.${MK_TOOLCHAIN}+=	lorder
275SUBDIR.${MK_TOOLCHAIN}+=	mkstr
276SUBDIR.${MK_TOOLCHAIN}+=	rpcgen
277SUBDIR.${MK_TOOLCHAIN}+=	unifdef
278SUBDIR.${MK_TOOLCHAIN}+=	xstr
279SUBDIR.${MK_TOOLCHAIN}+=	yacc
280SUBDIR.${MK_VI}+=	vi
281SUBDIR.${MK_VT}+=	vtfontcvt
282SUBDIR.${MK_USB}+=	usbhidaction
283SUBDIR.${MK_USB}+=	usbhidctl
284SUBDIR.${MK_UTMPX}+=	last
285SUBDIR.${MK_UTMPX}+=	users
286SUBDIR.${MK_UTMPX}+=	who
287SUBDIR.${MK_OFED}+=	ofed
288
289.include <bsd.arch.inc.mk>
290
291SUBDIR_PARALLEL=
292
293.include <bsd.subdir.mk>
294