xref: /freebsd/usr.bin/Makefile (revision 8ea6c115409450ff58a8c6b5e818319d181c6bff)
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
210SUBDIR+=		gh-bc
211.if ${MK_GNU_DIFF} == "no"
212SUBDIR+=		diff3
213.endif
214SUBDIR.${MK_HESIOD}+=	hesinfo
215SUBDIR.${MK_ICONV}+=	iconv
216SUBDIR.${MK_ICONV}+=	mkcsmapper
217SUBDIR.${MK_ICONV}+=	mkesdb
218SUBDIR.${MK_ISCSI}+=	iscsictl
219SUBDIR.${MK_KDUMP}+=	kdump
220SUBDIR.${MK_KDUMP}+=	truss
221SUBDIR.${MK_KERBEROS_SUPPORT}+=	compile_et
222SUBDIR.${MK_LDNS_UTILS}+=	drill
223SUBDIR.${MK_LDNS_UTILS}+=	host
224SUBDIR.${MK_LIB32}+=	ldd32
225SUBDIR.${MK_LOCATE}+=	locate
226# XXX msgs?
227SUBDIR.${MK_MAIL}+=	biff
228SUBDIR.${MK_MAIL}+=	from
229SUBDIR.${MK_MAIL}+=	mail
230SUBDIR.${MK_MAIL}+=	msgs
231SUBDIR.${MK_MAKE}+=	bmake
232SUBDIR.${MK_MAN_UTILS}+=	man
233SUBDIR.${MK_NETCAT}+=	nc
234SUBDIR.${MK_NETLINK}+=	genl
235SUBDIR.${MK_NIS}+=	ypcat
236SUBDIR.${MK_NIS}+=	ypmatch
237SUBDIR.${MK_NIS}+=	ypwhich
238SUBDIR.${MK_OPENSSH}+=	ssh-copy-id
239SUBDIR.${MK_OPENSSL}+=	chkey
240SUBDIR.${MK_OPENSSL}+=	newkey
241SUBDIR.${MK_QUOTAS}+=	quota
242SUBDIR.${MK_SENDMAIL}+=	vacation
243SUBDIR.${MK_TALK}+=	talk
244SUBDIR.${MK_TELNET}+=	telnet
245SUBDIR.${MK_TESTS_SUPPORT}+=	kyua
246SUBDIR.${MK_TESTS}+=	tests
247SUBDIR.${MK_TEXTPROC}+=	ul
248SUBDIR.${MK_TFTP}+=	tftp
249.if ${MK_LLVM_BINUTILS} == "no"
250# Only build the elftoolchain tools if we aren't using the LLVM ones.
251SUBDIR.${MK_TOOLCHAIN}+=	addr2line
252SUBDIR.${MK_TOOLCHAIN}+=	ar
253SUBDIR.${MK_TOOLCHAIN}+=	nm
254SUBDIR.${MK_TOOLCHAIN}+=	objcopy
255SUBDIR.${MK_TOOLCHAIN}+=	readelf
256SUBDIR.${MK_TOOLCHAIN}+=	size
257SUBDIR+=			strings
258.endif
259SUBDIR.${MK_TOOLCHAIN}+=	c89
260SUBDIR.${MK_TOOLCHAIN}+=	c99
261SUBDIR.${MK_TOOLCHAIN}+=	ctags
262.if ${MK_LLVM_CXXFILT} == "no"
263SUBDIR.${MK_TOOLCHAIN}+=	cxxfilt
264.endif
265SUBDIR.${MK_TOOLCHAIN}+=	file2c
266SUBDIR.${MK_TOOLCHAIN}+=	gprof
267SUBDIR.${MK_TOOLCHAIN}+=	indent
268SUBDIR.${MK_TOOLCHAIN}+=	lex
269SUBDIR.${MK_TOOLCHAIN}+=	lorder
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