xref: /freebsd/usr.bin/Makefile (revision 8aac90f18aef7c9eea906c3ff9a001ca7b94f375)
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	lsvfs \
87	lzmainfo \
88	m4 \
89	mandoc \
90	mdo \
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	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
216SUBDIR.${MK_HESIOD}+=	hesinfo
217SUBDIR.${MK_ICONV}+=	iconv
218SUBDIR.${MK_ICONV}+=	mkcsmapper
219SUBDIR.${MK_ICONV}+=	mkesdb
220SUBDIR.${MK_ISCSI}+=	iscsictl
221SUBDIR.${MK_KDUMP}+=	kdump
222SUBDIR.${MK_KDUMP}+=	truss
223SUBDIR.${MK_KERBEROS_SUPPORT}+=	compile_et
224SUBDIR.${MK_LDNS_UTILS}+=	drill
225SUBDIR.${MK_LDNS_UTILS}+=	host
226SUBDIR.${MK_LIB32}+=	ldd32
227SUBDIR.${MK_LOCATE}+=	locate
228# XXX msgs?
229SUBDIR.${MK_MAIL}+=	biff
230SUBDIR.${MK_MAIL}+=	from
231SUBDIR.${MK_MAIL}+=	mail
232SUBDIR.${MK_MAIL}+=	msgs
233SUBDIR.${MK_MAKE}+=	bmake
234SUBDIR.${MK_MAN_UTILS}+=	man
235SUBDIR.${MK_NETCAT}+=	nc
236SUBDIR.${MK_NETLINK}+=	genl
237SUBDIR.${MK_NIS}+=	ypcat
238SUBDIR.${MK_NIS}+=	ypmatch
239SUBDIR.${MK_NIS}+=	ypwhich
240SUBDIR.${MK_OPENSSH}+=	ssh-copy-id
241SUBDIR.${MK_OPENSSL}+=	chkey
242SUBDIR.${MK_OPENSSL}+=	newkey
243SUBDIR.${MK_QUOTAS}+=	quota
244SUBDIR.${MK_SENDMAIL}+=	vacation
245SUBDIR.${MK_TALK}+=	talk
246SUBDIR.${MK_TELNET}+=	telnet
247SUBDIR.${MK_TESTS_SUPPORT}+=	kyua
248SUBDIR.${MK_TESTS}+=	tests
249SUBDIR.${MK_TEXTPROC}+=	ul
250SUBDIR.${MK_TFTP}+=	tftp
251.if ${MK_LLVM_BINUTILS} == "no"
252# Only build the elftoolchain tools if we aren't using the LLVM ones.
253SUBDIR.${MK_TOOLCHAIN}+=	addr2line
254SUBDIR.${MK_TOOLCHAIN}+=	ar
255SUBDIR.${MK_TOOLCHAIN}+=	nm
256SUBDIR.${MK_TOOLCHAIN}+=	objcopy
257SUBDIR.${MK_TOOLCHAIN}+=	readelf
258SUBDIR.${MK_TOOLCHAIN}+=	size
259SUBDIR+=			strings
260.endif
261SUBDIR.${MK_TOOLCHAIN}+=	c89
262SUBDIR.${MK_TOOLCHAIN}+=	c99
263SUBDIR.${MK_TOOLCHAIN}+=	ctags
264.if ${MK_LLVM_CXXFILT} == "no"
265SUBDIR.${MK_TOOLCHAIN}+=	cxxfilt
266.endif
267SUBDIR.${MK_TOOLCHAIN}+=	file2c
268SUBDIR.${MK_TOOLCHAIN}+=	gprof
269SUBDIR.${MK_TOOLCHAIN}+=	indent
270SUBDIR.${MK_TOOLCHAIN}+=	lex
271SUBDIR.${MK_TOOLCHAIN}+=	lorder
272SUBDIR.${MK_TOOLCHAIN}+=	mkstr
273SUBDIR.${MK_TOOLCHAIN}+=	rpcgen
274SUBDIR.${MK_TOOLCHAIN}+=	unifdef
275SUBDIR.${MK_TOOLCHAIN}+=	xstr
276SUBDIR.${MK_TOOLCHAIN}+=	yacc
277SUBDIR.${MK_VI}+=	vi
278SUBDIR.${MK_VT}+=	vtfontcvt
279SUBDIR.${MK_USB}+=	usbhidaction
280SUBDIR.${MK_USB}+=	usbhidctl
281SUBDIR.${MK_UTMPX}+=	last
282SUBDIR.${MK_UTMPX}+=	users
283SUBDIR.${MK_UTMPX}+=	who
284SUBDIR.${MK_OFED}+=	ofed
285
286.include <bsd.arch.inc.mk>
287
288SUBDIR_PARALLEL=
289
290.include <bsd.subdir.mk>
291