xref: /freebsd/usr.bin/Makefile (revision 06c3fb2749bda94cb5201f81ffdb8fa6c3161b2e)
1
2.include <src.opts.mk>
3
4SUBDIR=	alias \
5	apply \
6	asa \
7	awk \
8	backlight \
9	banner \
10	basename \
11	beep \
12	bintrans \
13	brandelf \
14	bsdcat \
15	bsddialog \
16	bsdiff \
17	bzip2 \
18	bzip2recover \
19	cap_mkdb \
20	chat \
21	chpass \
22	cksum \
23	cmp \
24	col \
25	colrm \
26	column \
27	comm \
28	compress \
29	csplit \
30	ctlstat \
31	cut \
32	diff \
33	dirname \
34	dtc \
35	du \
36	elfctl \
37	elfdump \
38	enigma \
39	env \
40	etdump \
41	expand \
42	false \
43	fetch \
44	find \
45	fmt \
46	fold \
47	fstat \
48	fsync \
49	gcore \
50	gencat \
51	getaddrinfo \
52	getconf \
53	getent \
54	getopt \
55	grep \
56	gzip \
57	head \
58	hexdump \
59	id \
60	ident \
61	ipcrm \
62	ipcs \
63	join \
64	jot \
65	keylogin \
66	keylogout \
67	killall \
68	ktrace \
69	ktrdump \
70	lam \
71	ldd \
72	leave \
73	less \
74	lessecho \
75	lesskey \
76	limits \
77	locale \
78	localedef \
79	lock \
80	lockf \
81	logger \
82	login \
83	logins \
84	logname \
85	look \
86	lorder \
87	lsvfs \
88	lzmainfo \
89	m4 \
90	mandoc \
91	mesg \
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	posixshmcontrol \
114	pr \
115	printenv \
116	printf \
117	proccontrol \
118	procstat \
119	protect \
120	rctl \
121	renice \
122	resizewin \
123	rev \
124	revoke \
125	rpcinfo \
126	rs \
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	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
209.if ${MK_GH_BC} == "yes"
210SUBDIR+=		gh-bc
211.else
212SUBDIR.${MK_OPENSSL}+=	bc
213SUBDIR.${MK_OPENSSL}+=	dc
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
222SUBDIR.${MK_KERBEROS_SUPPORT}+=	compile_et
223SUBDIR.${MK_LDNS_UTILS}+=	drill
224SUBDIR.${MK_LDNS_UTILS}+=	host
225SUBDIR.${MK_LIB32}+=	ldd32
226SUBDIR.${MK_LOCATE}+=	locate
227# XXX msgs?
228SUBDIR.${MK_MAIL}+=	biff
229SUBDIR.${MK_MAIL}+=	from
230SUBDIR.${MK_MAIL}+=	mail
231SUBDIR.${MK_MAIL}+=	msgs
232SUBDIR.${MK_MAKE}+=	bmake
233SUBDIR.${MK_MAN_UTILS}+=	man
234SUBDIR.${MK_NETCAT}+=	nc
235SUBDIR.${MK_NETLINK}+=	genl
236SUBDIR.${MK_NIS}+=	ypcat
237SUBDIR.${MK_NIS}+=	ypmatch
238SUBDIR.${MK_NIS}+=	ypwhich
239SUBDIR.${MK_OPENSSH}+=	ssh-copy-id
240SUBDIR.${MK_OPENSSL}+=	chkey
241SUBDIR.${MK_OPENSSL}+=	newkey
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}+=	objcopy
256SUBDIR.${MK_TOOLCHAIN}+=	readelf
257SUBDIR.${MK_TOOLCHAIN}+=	size
258SUBDIR+=			strings
259.endif
260SUBDIR.${MK_TOOLCHAIN}+=	c89
261SUBDIR.${MK_TOOLCHAIN}+=	c99
262SUBDIR.${MK_TOOLCHAIN}+=	ctags
263.if ${MK_LLVM_CXXFILT} == "no"
264SUBDIR.${MK_TOOLCHAIN}+=	cxxfilt
265.endif
266SUBDIR.${MK_TOOLCHAIN}+=	file2c
267SUBDIR.${MK_TOOLCHAIN}+=	gprof
268SUBDIR.${MK_TOOLCHAIN}+=	indent
269SUBDIR.${MK_TOOLCHAIN}+=	lex
270SUBDIR.${MK_TOOLCHAIN}+=	mkstr
271SUBDIR.${MK_TOOLCHAIN}+=	rpcgen
272SUBDIR.${MK_TOOLCHAIN}+=	unifdef
273SUBDIR.${MK_TOOLCHAIN}+=	xstr
274SUBDIR.${MK_TOOLCHAIN}+=	yacc
275SUBDIR.${MK_VI}+=	vi
276SUBDIR.${MK_VT}+=	vtfontcvt
277SUBDIR.${MK_USB}+=	usbhidaction
278SUBDIR.${MK_USB}+=	usbhidctl
279SUBDIR.${MK_UTMPX}+=	last
280SUBDIR.${MK_UTMPX}+=	users
281SUBDIR.${MK_UTMPX}+=	who
282SUBDIR.${MK_OFED}+=	ofed
283
284.include <bsd.arch.inc.mk>
285
286SUBDIR_PARALLEL=
287
288.include <bsd.subdir.mk>
289