xref: /freebsd/usr.bin/Makefile (revision 6580f5c38dd5b01aeeaed16b370f1a12423437f0)
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	mesg \
91	ministat \
92	mkdep \
93	mkfifo \
94	mkimg \
95	mktemp \
96	mkuzip \
97	mt \
98	ncal \
99	ncurses \
100	netstat \
101	newgrp \
102	nfsstat \
103	nice \
104	nl \
105	nohup \
106	pagesize \
107	passwd \
108	paste \
109	patch \
110	pathchk \
111	perror \
112	posixmqcontrol \
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}+=	lorder
271SUBDIR.${MK_TOOLCHAIN}+=	mkstr
272SUBDIR.${MK_TOOLCHAIN}+=	rpcgen
273SUBDIR.${MK_TOOLCHAIN}+=	unifdef
274SUBDIR.${MK_TOOLCHAIN}+=	xstr
275SUBDIR.${MK_TOOLCHAIN}+=	yacc
276SUBDIR.${MK_VI}+=	vi
277SUBDIR.${MK_VT}+=	vtfontcvt
278SUBDIR.${MK_USB}+=	usbhidaction
279SUBDIR.${MK_USB}+=	usbhidctl
280SUBDIR.${MK_UTMPX}+=	last
281SUBDIR.${MK_UTMPX}+=	users
282SUBDIR.${MK_UTMPX}+=	who
283SUBDIR.${MK_OFED}+=	ofed
284
285.include <bsd.arch.inc.mk>
286
287SUBDIR_PARALLEL=
288
289.include <bsd.subdir.mk>
290