xref: /freebsd/usr.bin/Makefile (revision e9ac41698b2f322d55ccf9da50a3596edb2c1800)
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	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