xref: /freebsd/usr.bin/Makefile (revision 773e27aeee7d59ff38be751ea59493f716f06185)
1#	From: @(#)Makefile	8.3 (Berkeley) 1/7/94
2# $FreeBSD$
3
4.include <src.opts.mk>
5
6# XXX MISSING:		deroff diction graph learn plot
7#			spell spline struct xsend
8# XXX Use GNU versions: diff ld patch
9#
10
11SUBDIR=	alias \
12	apply \
13	asa \
14	awk \
15	banner \
16	basename \
17	brandelf \
18	bsdcat \
19	bsdiff \
20	bzip2 \
21	bzip2recover \
22	cap_mkdb \
23	chat \
24	chpass \
25	cksum \
26	cmp \
27	col \
28	colldef \
29	colrm \
30	column \
31	comm \
32	compress \
33	cpuset \
34	csplit \
35	ctlstat \
36	cut \
37	dirname \
38	du \
39	elf2aout \
40	elfdump \
41	enigma \
42	env \
43	expand \
44	false \
45	fetch \
46	find \
47	fmt \
48	fold \
49	fstat \
50	fsync \
51	gcore \
52	gencat \
53	getaddrinfo \
54	getconf \
55	getent \
56	getopt \
57	grep \
58	gzip \
59	head \
60	hexdump \
61	id \
62	ident \
63	ipcrm \
64	ipcs \
65	join \
66	jot \
67	keylogin \
68	keylogout \
69	killall \
70	ktrace \
71	ktrdump \
72	lam \
73	lastcomm \
74	ldd \
75	leave \
76	less \
77	lessecho \
78	lesskey \
79	limits \
80	locale \
81	localedef \
82	lock \
83	lockf \
84	logger \
85	login \
86	logins \
87	logname \
88	look \
89	lorder \
90	lsvfs \
91	lzmainfo \
92	m4 \
93	mandoc \
94	mesg \
95	minigzip \
96	ministat \
97	mkdep \
98	mkfifo \
99	mkimg \
100	mklocale \
101	mktemp \
102	mkuzip \
103	mt \
104	ncal \
105	netstat \
106	newgrp \
107	nfsstat \
108	nice \
109	nl \
110	numactl \
111	nohup \
112	opieinfo \
113	opiekey \
114	opiepasswd \
115	pagesize \
116	passwd \
117	paste \
118	patch \
119	pathchk \
120	perror \
121	pr \
122	printenv \
123	printf \
124	proccontrol \
125	procstat \
126	protect \
127	rctl \
128	renice \
129	resizewin \
130	rev \
131	revoke \
132	rpcinfo \
133	rs \
134	rup \
135	rusers \
136	rwall \
137	script \
138	sdiff \
139	sed \
140	send-pr \
141	seq \
142	shar \
143	showmount \
144	sockstat \
145	soelim \
146	sort \
147	split \
148	stat \
149	stdbuf \
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_GROFF}+=	vgrind
223SUBDIR.${MK_HESIOD}+=	hesinfo
224SUBDIR.${MK_ICONV}+=	iconv
225SUBDIR.${MK_ICONV}+=	mkcsmapper
226SUBDIR.${MK_ICONV}+=	mkesdb
227SUBDIR.${MK_ISCSI}+=	iscsictl
228SUBDIR.${MK_KDUMP}+=	kdump
229SUBDIR.${MK_KDUMP}+=	truss
230SUBDIR.${MK_KERBEROS_SUPPORT}+=	compile_et
231SUBDIR.${MK_LDNS_UTILS}+=	drill
232SUBDIR.${MK_LDNS_UTILS}+=	host
233SUBDIR.${MK_LOCATE}+=	locate
234# XXX msgs?
235SUBDIR.${MK_MAIL}+=	biff
236SUBDIR.${MK_MAIL}+=	from
237SUBDIR.${MK_MAIL}+=	mail
238SUBDIR.${MK_MAIL}+=	msgs
239SUBDIR.${MK_MAKE}+=	bmake
240SUBDIR.${MK_MAN_UTILS}+=	catman
241SUBDIR.${MK_MAN_UTILS}+=	man
242SUBDIR.${MK_NETCAT}+=	nc
243SUBDIR.${MK_NIS}+=	ypcat
244SUBDIR.${MK_NIS}+=	ypmatch
245SUBDIR.${MK_NIS}+=	ypwhich
246SUBDIR.${MK_OPENSSH}+=	ssh-copy-id
247SUBDIR.${MK_OPENSSL}+=	bc
248SUBDIR.${MK_OPENSSL}+=	chkey
249SUBDIR.${MK_OPENSSL}+=	dc
250SUBDIR.${MK_OPENSSL}+=	newkey
251SUBDIR.${MK_QUOTAS}+=	quota
252SUBDIR.${MK_RCMDS}+=	rlogin
253SUBDIR.${MK_RCMDS}+=	rsh
254SUBDIR.${MK_RCMDS}+=	ruptime
255SUBDIR.${MK_RCMDS}+=	rwho
256SUBDIR.${MK_SENDMAIL}+=	vacation
257SUBDIR.${MK_TALK}+=	talk
258SUBDIR.${MK_TELNET}+=	telnet
259SUBDIR.${MK_TESTS}+=	tests
260SUBDIR.${MK_TEXTPROC}+=	checknr
261SUBDIR.${MK_TEXTPROC}+=	colcrt
262SUBDIR.${MK_TEXTPROC}+=	ul
263SUBDIR.${MK_TFTP}+=	tftp
264SUBDIR.${MK_TOOLCHAIN}+=	addr2line
265SUBDIR.${MK_TOOLCHAIN}+=	ar
266SUBDIR.${MK_TOOLCHAIN}+=	c89
267SUBDIR.${MK_TOOLCHAIN}+=	c99
268SUBDIR.${MK_TOOLCHAIN}+=	ctags
269SUBDIR.${MK_TOOLCHAIN}+=	cxxfilt
270SUBDIR.${MK_TOOLCHAIN}+=	elfcopy
271SUBDIR.${MK_TOOLCHAIN}+=	file2c
272# ARM64TODO gprof does not build
273# RISCVTODO gprof does not build
274.if ${MACHINE_ARCH} != "aarch64" && ${MACHINE_CPUARCH} != "riscv"
275SUBDIR.${MK_TOOLCHAIN}+=	gprof
276.endif
277SUBDIR.${MK_TOOLCHAIN}+=	indent
278SUBDIR.${MK_TOOLCHAIN}+=	lex
279SUBDIR.${MK_TOOLCHAIN}+=	mkstr
280SUBDIR.${MK_TOOLCHAIN}+=	nm
281SUBDIR.${MK_TOOLCHAIN}+=	readelf
282SUBDIR.${MK_TOOLCHAIN}+=	rpcgen
283SUBDIR.${MK_TOOLCHAIN}+=	unifdef
284SUBDIR.${MK_TOOLCHAIN}+=	size
285SUBDIR.${MK_TOOLCHAIN}+=	strings
286.if ${MACHINE_ARCH} != "aarch64" # ARM64TODO xlint does not build
287SUBDIR.${MK_TOOLCHAIN}+=	xlint
288.endif
289SUBDIR.${MK_TOOLCHAIN}+=	xstr
290SUBDIR.${MK_TOOLCHAIN}+=	yacc
291SUBDIR.${MK_VI}+=	vi
292SUBDIR.${MK_VT}+=	vtfontcvt
293SUBDIR.${MK_USB}+=	usbhidaction
294SUBDIR.${MK_USB}+=	usbhidctl
295SUBDIR.${MK_UTMPX}+=	last
296.if ${MK_CXX} != "no"
297SUBDIR.${MK_UTMPX}+=	users
298.endif
299SUBDIR.${MK_UTMPX}+=	who
300SUBDIR.${MK_SVN}+=	svn
301SUBDIR.${MK_SVNLITE}+=	svn
302
303.include <bsd.arch.inc.mk>
304
305SUBDIR:=	${SUBDIR:O:u}
306
307SUBDIR_PARALLEL=
308
309.include <bsd.subdir.mk>
310