xref: /freebsd/usr.bin/Makefile (revision bec6dc30e1a6ec4e96d8b29510d345e3f2a8ea40)
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	banner \
11	basename \
12	brandelf \
13	bsdcat \
14	bsdiff \
15	bzip2 \
16	bzip2recover \
17	cap_mkdb \
18	chat \
19	chpass \
20	cksum \
21	cmp \
22	col \
23	colldef \
24	colrm \
25	column \
26	comm \
27	compress \
28	cpuset \
29	csplit \
30	ctlstat \
31	cut \
32	diff \
33	dirname \
34	du \
35	elf2aout \
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	lastcomm \
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	mklocale \
98	mktemp \
99	mkuzip \
100	mt \
101	ncal \
102	netstat \
103	newgrp \
104	nfsstat \
105	nice \
106	nl \
107	numactl \
108	nohup \
109	opieinfo \
110	opiekey \
111	opiepasswd \
112	pagesize \
113	passwd \
114	paste \
115	patch \
116	pathchk \
117	perror \
118	pr \
119	printenv \
120	printf \
121	proccontrol \
122	procstat \
123	protect \
124	rctl \
125	renice \
126	resizewin \
127	rev \
128	revoke \
129	rpcinfo \
130	rs \
131	rup \
132	ruptime \
133	rusers \
134	rwall \
135	rwho \
136	script \
137	sdiff \
138	sed \
139	send-pr \
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	tabs \
153	tail \
154	tar \
155	tcopy \
156	tee \
157	time \
158	timeout \
159	tip \
160	top \
161	touch \
162	tput \
163	tr \
164	true \
165	truncate \
166	tset \
167	tsort \
168	tty \
169	uname \
170	unexpand \
171	uniq \
172	unzip \
173	units \
174	unvis \
175	uudecode \
176	uuencode \
177	vis \
178	vmstat \
179	w \
180	wall \
181	wc \
182	what \
183	whereis \
184	which \
185	whois \
186	write \
187	xargs \
188	xinstall \
189	xo \
190	xz \
191	xzdec \
192	yes \
193	zstd
194
195# NB: keep these sorted by MK_* knobs
196
197SUBDIR.${MK_AT}+=	at
198SUBDIR.${MK_ATM}+=	atm
199SUBDIR.${MK_BLUETOOTH}+=	bluetooth
200SUBDIR.${MK_BSD_CPIO}+=	cpio
201SUBDIR.${MK_CALENDAR}+=	calendar
202SUBDIR.${MK_CLANG}+=	clang
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
217.if ${MK_GPL_DTC} != "yes"
218.if ${COMPILER_FEATURES:Mc++11}
219SUBDIR+=	dtc
220.endif
221.endif
222SUBDIR.${MK_HESIOD}+=	hesinfo
223SUBDIR.${MK_ICONV}+=	iconv
224SUBDIR.${MK_ICONV}+=	mkcsmapper
225SUBDIR.${MK_ICONV}+=	mkesdb
226SUBDIR.${MK_ISCSI}+=	iscsictl
227SUBDIR.${MK_KDUMP}+=	kdump
228SUBDIR.${MK_KDUMP}+=	truss
229SUBDIR.${MK_KERBEROS_SUPPORT}+=	compile_et
230SUBDIR.${MK_LDNS_UTILS}+=	drill
231SUBDIR.${MK_LDNS_UTILS}+=	host
232SUBDIR.${MK_LOCATE}+=	locate
233# XXX msgs?
234SUBDIR.${MK_MAIL}+=	biff
235SUBDIR.${MK_MAIL}+=	from
236SUBDIR.${MK_MAIL}+=	mail
237SUBDIR.${MK_MAIL}+=	msgs
238SUBDIR.${MK_MAKE}+=	bmake
239SUBDIR.${MK_MAN_UTILS}+=	man
240SUBDIR.${MK_NETCAT}+=	nc
241SUBDIR.${MK_NIS}+=	ypcat
242SUBDIR.${MK_NIS}+=	ypmatch
243SUBDIR.${MK_NIS}+=	ypwhich
244SUBDIR.${MK_OPENSSH}+=	ssh-copy-id
245SUBDIR.${MK_OPENSSL}+=	bc
246SUBDIR.${MK_OPENSSL}+=	chkey
247SUBDIR.${MK_OPENSSL}+=	dc
248SUBDIR.${MK_OPENSSL}+=	newkey
249SUBDIR.${MK_QUOTAS}+=	quota
250SUBDIR.${MK_SENDMAIL}+=	vacation
251SUBDIR.${MK_TALK}+=	talk
252SUBDIR.${MK_TELNET}+=	telnet
253SUBDIR.${MK_TESTS}+=	tests
254SUBDIR.${MK_TEXTPROC}+=	ul
255SUBDIR.${MK_TFTP}+=	tftp
256SUBDIR.${MK_TOOLCHAIN}+=	addr2line
257SUBDIR.${MK_TOOLCHAIN}+=	ar
258SUBDIR.${MK_TOOLCHAIN}+=	c89
259SUBDIR.${MK_TOOLCHAIN}+=	c99
260SUBDIR.${MK_TOOLCHAIN}+=	ctags
261SUBDIR.${MK_TOOLCHAIN}+=	cxxfilt
262SUBDIR.${MK_TOOLCHAIN}+=	objcopy
263SUBDIR.${MK_TOOLCHAIN}+=	file2c
264# ARM64TODO gprof does not build
265# RISCVTODO gprof does not build
266.if ${MACHINE_ARCH} != "aarch64" && ${MACHINE_CPUARCH} != "riscv"
267SUBDIR.${MK_TOOLCHAIN}+=	gprof
268.endif
269SUBDIR.${MK_TOOLCHAIN}+=	indent
270SUBDIR.${MK_TOOLCHAIN}+=	lex
271SUBDIR.${MK_TOOLCHAIN}+=	mkstr
272SUBDIR.${MK_TOOLCHAIN}+=	nm
273SUBDIR.${MK_TOOLCHAIN}+=	readelf
274SUBDIR.${MK_TOOLCHAIN}+=	rpcgen
275SUBDIR.${MK_TOOLCHAIN}+=	unifdef
276SUBDIR.${MK_TOOLCHAIN}+=	size
277SUBDIR.${MK_TOOLCHAIN}+=	xstr
278SUBDIR.${MK_TOOLCHAIN}+=	yacc
279SUBDIR.${MK_VI}+=	vi
280SUBDIR.${MK_VT}+=	vtfontcvt
281SUBDIR.${MK_USB}+=	usbhidaction
282SUBDIR.${MK_USB}+=	usbhidctl
283SUBDIR.${MK_UTMPX}+=	last
284.if ${MK_CXX} != "no"
285SUBDIR.${MK_UTMPX}+=	users
286.endif
287SUBDIR.${MK_UTMPX}+=	who
288SUBDIR.${MK_SVN}+=	svn
289SUBDIR.${MK_SVNLITE}+=	svn
290SUBDIR.${MK_OFED}+=	ofed
291
292# These are normally only handled for build-tools.
293.if make(clean*)
294SUBDIR+=	mkcsmapper_static
295SUBDIR+=	mkesdb_static
296.endif
297
298.include <bsd.arch.inc.mk>
299
300SUBDIR_PARALLEL=
301
302.include <bsd.subdir.mk>
303