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