xref: /freebsd-14.2/usr.bin/Makefile (revision 4cd4841a)
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	bsddialog \
17	bsdiff \
18	bzip2 \
19	bzip2recover \
20	cap_mkdb \
21	chat \
22	chpass \
23	cksum \
24	cmp \
25	col \
26	colrm \
27	column \
28	comm \
29	compress \
30	cpuset \
31	csplit \
32	ctlstat \
33	cut \
34	diff \
35	dirname \
36	du \
37	elfctl \
38	elfdump \
39	enigma \
40	env \
41	etdump \
42	expand \
43	false \
44	fetch \
45	find \
46	fmt \
47	fold \
48	fstat \
49	fsync \
50	gcore \
51	gencat \
52	getaddrinfo \
53	getconf \
54	getent \
55	getopt \
56	grep \
57	gzip \
58	head \
59	hexdump \
60	id \
61	ident \
62	ipcrm \
63	ipcs \
64	join \
65	jot \
66	keylogin \
67	keylogout \
68	killall \
69	ktrace \
70	ktrdump \
71	lam \
72	ldd \
73	leave \
74	less \
75	lessecho \
76	lesskey \
77	limits \
78	locale \
79	localedef \
80	lock \
81	lockf \
82	logger \
83	login \
84	logins \
85	logname \
86	look \
87	lorder \
88	lsvfs \
89	lzmainfo \
90	m4 \
91	mandoc \
92	mesg \
93	minigzip \
94	ministat \
95	mkdep \
96	mkfifo \
97	mkimg \
98	mktemp \
99	mkuzip \
100	mt \
101	ncal \
102	ncurses \
103	netstat \
104	newgrp \
105	nfsstat \
106	nice \
107	nl \
108	nohup \
109	opieinfo \
110	opiekey \
111	opiepasswd \
112	pagesize \
113	passwd \
114	paste \
115	patch \
116	pathchk \
117	perror \
118	posixshmcontrol \
119	pr \
120	printenv \
121	printf \
122	proccontrol \
123	procstat \
124	protect \
125	rctl \
126	renice \
127	resizewin \
128	rev \
129	revoke \
130	rpcinfo \
131	rs \
132	rup \
133	ruptime \
134	rusers \
135	rwall \
136	rwho \
137	script \
138	sdiff \
139	sed \
140	seq \
141	shar \
142	showmount \
143	sockstat \
144	soelim \
145	sort \
146	split \
147	stat \
148	stdbuf \
149	strings \
150	su \
151	systat \
152	tail \
153	tar \
154	tcopy \
155	tee \
156	time \
157	timeout \
158	tip \
159	top \
160	touch \
161	tr \
162	true \
163	truncate \
164	tsort \
165	tty \
166	uname \
167	unexpand \
168	uniq \
169	unzip \
170	units \
171	unvis \
172	uuencode \
173	vis \
174	vmstat \
175	w \
176	wall \
177	wc \
178	what \
179	whereis \
180	which \
181	whois \
182	write \
183	xargs \
184	xinstall \
185	xo \
186	xz \
187	xzdec \
188	yes \
189	zstd
190
191# NB: keep these sorted by MK_* knobs
192
193SUBDIR.${MK_ACCT}+=	lastcomm
194SUBDIR.${MK_AT}+=	at
195SUBDIR.${MK_ATM}+=	atm
196SUBDIR.${MK_BLUETOOTH}+=	bluetooth
197SUBDIR.${MK_BSD_CPIO}+=	cpio
198SUBDIR.${MK_CALENDAR}+=	calendar
199.if ${MK_CLANG} != "no" || ${MK_LLVM_BINUTILS} != "no" || \
200    ${MK_LLD} != "no" || ${MK_LLDB} != "no"
201SUBDIR+=	clang
202.endif
203SUBDIR.${MK_DIALOG}+=	dpv
204SUBDIR.${MK_EE}+=	ee
205SUBDIR.${MK_FILE}+=	file
206SUBDIR.${MK_FINGER}+=	finger
207SUBDIR.${MK_FTP}+=	ftp
208SUBDIR.${MK_GAMES}+=	caesar
209SUBDIR.${MK_GAMES}+=	factor
210SUBDIR.${MK_GAMES}+=	fortune
211SUBDIR.${MK_GAMES}+=	grdc
212SUBDIR.${MK_GAMES}+=	morse
213SUBDIR.${MK_GAMES}+=	number
214SUBDIR.${MK_GAMES}+=	pom
215SUBDIR.${MK_GAMES}+=	primes
216SUBDIR.${MK_GAMES}+=	random
217SUBDIR.${MK_CXX}+=	dtc
218.if ${MK_GH_BC} == "yes"
219SUBDIR+=		gh-bc
220.else
221SUBDIR.${MK_OPENSSL}+=	bc
222SUBDIR.${MK_OPENSSL}+=	dc
223.endif
224SUBDIR.${MK_HESIOD}+=	hesinfo
225SUBDIR.${MK_ICONV}+=	iconv
226SUBDIR.${MK_ICONV}+=	mkcsmapper
227SUBDIR.${MK_ICONV}+=	mkesdb
228SUBDIR.${MK_ISCSI}+=	iscsictl
229SUBDIR.${MK_KDUMP}+=	kdump
230SUBDIR.${MK_KDUMP}+=	truss
231SUBDIR.${MK_KERBEROS_SUPPORT}+=	compile_et
232SUBDIR.${MK_LDNS_UTILS}+=	drill
233SUBDIR.${MK_LDNS_UTILS}+=	host
234SUBDIR.${MK_LIB32}+=	ldd32
235SUBDIR.${MK_LOCATE}+=	locate
236# XXX msgs?
237SUBDIR.${MK_MAIL}+=	biff
238SUBDIR.${MK_MAIL}+=	from
239SUBDIR.${MK_MAIL}+=	mail
240SUBDIR.${MK_MAIL}+=	msgs
241SUBDIR.${MK_MAKE}+=	bmake
242SUBDIR.${MK_MAN_UTILS}+=	man
243SUBDIR.${MK_NETCAT}+=	nc
244SUBDIR.${MK_NIS}+=	ypcat
245SUBDIR.${MK_NIS}+=	ypmatch
246SUBDIR.${MK_NIS}+=	ypwhich
247SUBDIR.${MK_OPENSSH}+=	ssh-copy-id
248SUBDIR.${MK_OPENSSL}+=	chkey
249SUBDIR.${MK_OPENSSL}+=	newkey
250SUBDIR.${MK_QUOTAS}+=	quota
251SUBDIR.${MK_SENDMAIL}+=	vacation
252SUBDIR.${MK_TALK}+=	talk
253SUBDIR.${MK_TELNET}+=	telnet
254SUBDIR.${MK_TESTS_SUPPORT}.${MK_CXX}+=	kyua
255SUBDIR.${MK_TESTS}+=	tests
256SUBDIR.${MK_TEXTPROC}+=	ul
257SUBDIR.${MK_TFTP}+=	tftp
258.if ${MK_LLVM_BINUTILS} == "no"
259# Only build the elftoolchain tools if we aren't using the LLVM ones.
260SUBDIR.${MK_TOOLCHAIN}+=	addr2line
261SUBDIR.${MK_TOOLCHAIN}+=	ar
262SUBDIR.${MK_TOOLCHAIN}+=	nm
263SUBDIR.${MK_TOOLCHAIN}+=	objcopy
264SUBDIR.${MK_TOOLCHAIN}+=	readelf
265SUBDIR.${MK_TOOLCHAIN}+=	size
266.endif
267SUBDIR.${MK_TOOLCHAIN}+=	c89
268SUBDIR.${MK_TOOLCHAIN}+=	c99
269SUBDIR.${MK_TOOLCHAIN}+=	ctags
270.if ${MK_LLVM_CXXFILT} == "no"
271SUBDIR.${MK_TOOLCHAIN}+=	cxxfilt
272.endif
273SUBDIR.${MK_TOOLCHAIN}+=	file2c
274SUBDIR.${MK_TOOLCHAIN}+=	gprof
275SUBDIR.${MK_TOOLCHAIN}+=	indent
276SUBDIR.${MK_TOOLCHAIN}+=	lex
277SUBDIR.${MK_TOOLCHAIN}+=	mkstr
278SUBDIR.${MK_TOOLCHAIN}+=	rpcgen
279SUBDIR.${MK_TOOLCHAIN}+=	unifdef
280SUBDIR.${MK_TOOLCHAIN}+=	xstr
281SUBDIR.${MK_TOOLCHAIN}+=	yacc
282SUBDIR.${MK_VI}+=	vi
283SUBDIR.${MK_VT}+=	vtfontcvt
284SUBDIR.${MK_USB}+=	usbhidaction
285SUBDIR.${MK_USB}+=	usbhidctl
286SUBDIR.${MK_UTMPX}+=	last
287.if ${MK_CXX} != "no"
288SUBDIR.${MK_UTMPX}+=	users
289.endif
290SUBDIR.${MK_UTMPX}+=	who
291SUBDIR.${MK_OFED}+=	ofed
292
293.include <bsd.arch.inc.mk>
294
295SUBDIR_PARALLEL=
296
297.include <bsd.subdir.mk>
298