xref: /freebsd-13.1/usr.bin/Makefile (revision a5186406)
1#	From: @(#)Makefile	8.3 (Berkeley) 1/7/94
2# $FreeBSD$
3
4.include <src.opts.mk>
5
6SUBDIR=	alias \
7	apply \
8	asa \
9	awk \
10	backlight \
11	banner \
12	basename \
13	beep \
14	brandelf \
15	bsdcat \
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	cpuset \
30	csplit \
31	ctlstat \
32	cut \
33	diff \
34	dirname \
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	minigzip \
93	ministat \
94	mkdep \
95	mkfifo \
96	mkimg \
97	mktemp \
98	mkuzip \
99	mt \
100	ncal \
101	netstat \
102	newgrp \
103	nfsstat \
104	nice \
105	nl \
106	nohup \
107	opieinfo \
108	opiekey \
109	opiepasswd \
110	pagesize \
111	passwd \
112	paste \
113	patch \
114	pathchk \
115	perror \
116	posixshmcontrol \
117	pr \
118	printenv \
119	printf \
120	proccontrol \
121	procstat \
122	protect \
123	rctl \
124	renice \
125	resizewin \
126	rev \
127	revoke \
128	rpcinfo \
129	rs \
130	rup \
131	ruptime \
132	rusers \
133	rwall \
134	rwho \
135	script \
136	sdiff \
137	sed \
138	seq \
139	shar \
140	showmount \
141	sockstat \
142	soelim \
143	sort \
144	split \
145	stat \
146	stdbuf \
147	strings \
148	su \
149	systat \
150	tabs \
151	tail \
152	tar \
153	tcopy \
154	tee \
155	time \
156	timeout \
157	tip \
158	top \
159	touch \
160	tput \
161	tr \
162	true \
163	truncate \
164	tset \
165	tsort \
166	tty \
167	uname \
168	unexpand \
169	uniq \
170	unzip \
171	units \
172	unvis \
173	uudecode \
174	uuencode \
175	vis \
176	vmstat \
177	w \
178	wall \
179	wc \
180	what \
181	whereis \
182	which \
183	whois \
184	write \
185	xargs \
186	xinstall \
187	xo \
188	xz \
189	xzdec \
190	yes \
191	zstd
192
193# NB: keep these sorted by MK_* knobs
194
195SUBDIR.${MK_ACCT}+=	lastcomm
196SUBDIR.${MK_AT}+=	at
197SUBDIR.${MK_ATM}+=	atm
198SUBDIR.${MK_BLUETOOTH}+=	bluetooth
199SUBDIR.${MK_BSD_CPIO}+=	cpio
200SUBDIR.${MK_CALENDAR}+=	calendar
201.if ${MK_CLANG} != "no" || ${MK_LLVM_BINUTILS} != "no" || \
202    ${MK_LLD} != "no" || ${MK_LLDB} != "no"
203SUBDIR+=	clang
204.endif
205SUBDIR.${MK_DIALOG}+=	dpv
206SUBDIR.${MK_EE}+=	ee
207SUBDIR.${MK_FILE}+=	file
208SUBDIR.${MK_FINGER}+=	finger
209SUBDIR.${MK_FTP}+=	ftp
210SUBDIR.${MK_GAMES}+=	caesar
211SUBDIR.${MK_GAMES}+=	factor
212SUBDIR.${MK_GAMES}+=	fortune
213SUBDIR.${MK_GAMES}+=	grdc
214SUBDIR.${MK_GAMES}+=	morse
215SUBDIR.${MK_GAMES}+=	number
216SUBDIR.${MK_GAMES}+=	pom
217SUBDIR.${MK_GAMES}+=	primes
218SUBDIR.${MK_GAMES}+=	random
219SUBDIR.${MK_CXX}+=	dtc
220.if ${MK_GH_BC} == "yes"
221SUBDIR+=		gh-bc
222.else
223SUBDIR.${MK_OPENSSL}+=	bc
224SUBDIR.${MK_OPENSSL}+=	dc
225.endif
226SUBDIR.${MK_HESIOD}+=	hesinfo
227SUBDIR.${MK_ICONV}+=	iconv
228SUBDIR.${MK_ICONV}+=	mkcsmapper
229SUBDIR.${MK_ICONV}+=	mkesdb
230SUBDIR.${MK_ISCSI}+=	iscsictl
231SUBDIR.${MK_KDUMP}+=	kdump
232SUBDIR.${MK_KDUMP}+=	truss
233SUBDIR.${MK_KERBEROS_SUPPORT}+=	compile_et
234SUBDIR.${MK_LDNS_UTILS}+=	drill
235SUBDIR.${MK_LDNS_UTILS}+=	host
236SUBDIR.${MK_LIB32}+=	ldd32
237SUBDIR.${MK_LOCATE}+=	locate
238# XXX msgs?
239SUBDIR.${MK_MAIL}+=	biff
240SUBDIR.${MK_MAIL}+=	from
241SUBDIR.${MK_MAIL}+=	mail
242SUBDIR.${MK_MAIL}+=	msgs
243SUBDIR.${MK_MAKE}+=	bmake
244SUBDIR.${MK_MAN_UTILS}+=	man
245SUBDIR.${MK_NETCAT}+=	nc
246SUBDIR.${MK_NIS}+=	ypcat
247SUBDIR.${MK_NIS}+=	ypmatch
248SUBDIR.${MK_NIS}+=	ypwhich
249SUBDIR.${MK_OPENSSH}+=	ssh-copy-id
250SUBDIR.${MK_OPENSSL}+=	chkey
251SUBDIR.${MK_OPENSSL}+=	newkey
252SUBDIR.${MK_QUOTAS}+=	quota
253SUBDIR.${MK_SENDMAIL}+=	vacation
254SUBDIR.${MK_TALK}+=	talk
255SUBDIR.${MK_TELNET}+=	telnet
256SUBDIR.${MK_TESTS_SUPPORT}.${MK_CXX}+=	kyua
257SUBDIR.${MK_TESTS}+=	tests
258SUBDIR.${MK_TEXTPROC}+=	ul
259SUBDIR.${MK_TFTP}+=	tftp
260.if ${MK_LLVM_BINUTILS} == "no"
261# Only build the elftoolchain tools if we aren't using the LLVM ones.
262SUBDIR.${MK_TOOLCHAIN}+=	addr2line
263SUBDIR.${MK_TOOLCHAIN}+=	ar
264SUBDIR.${MK_TOOLCHAIN}+=	nm
265SUBDIR.${MK_TOOLCHAIN}+=	objcopy
266SUBDIR.${MK_TOOLCHAIN}+=	readelf
267SUBDIR.${MK_TOOLCHAIN}+=	size
268.endif
269SUBDIR.${MK_TOOLCHAIN}+=	c89
270SUBDIR.${MK_TOOLCHAIN}+=	c99
271SUBDIR.${MK_TOOLCHAIN}+=	ctags
272.if ${MK_LLVM_CXXFILT} == "no"
273SUBDIR.${MK_TOOLCHAIN}+=	cxxfilt
274.endif
275SUBDIR.${MK_TOOLCHAIN}+=	file2c
276SUBDIR.${MK_TOOLCHAIN}+=	gprof
277SUBDIR.${MK_TOOLCHAIN}+=	indent
278SUBDIR.${MK_TOOLCHAIN}+=	lex
279SUBDIR.${MK_TOOLCHAIN}+=	mkstr
280SUBDIR.${MK_TOOLCHAIN}+=	rpcgen
281SUBDIR.${MK_TOOLCHAIN}+=	unifdef
282SUBDIR.${MK_TOOLCHAIN}+=	xstr
283SUBDIR.${MK_TOOLCHAIN}+=	yacc
284SUBDIR.${MK_VI}+=	vi
285SUBDIR.${MK_VT}+=	vtfontcvt
286SUBDIR.${MK_USB}+=	usbhidaction
287SUBDIR.${MK_USB}+=	usbhidctl
288SUBDIR.${MK_UTMPX}+=	last
289.if ${MK_CXX} != "no"
290SUBDIR.${MK_UTMPX}+=	users
291.endif
292SUBDIR.${MK_UTMPX}+=	who
293SUBDIR.${MK_SVN}+=	svn
294SUBDIR.${MK_SVNLITE}+=	svn
295SUBDIR.${MK_OFED}+=	ofed
296
297.include <bsd.arch.inc.mk>
298
299SUBDIR_PARALLEL=
300
301.include <bsd.subdir.mk>
302