xref: /freebsd/usr.bin/Makefile (revision 193d9e768ba63fcfb187cfd17f461f7d41345048)
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	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	lastcomm \
73	ldd \
74	leave \
75	less \
76	lessecho \
77	lesskey \
78	limits \
79	locale \
80	localedef \
81	lock \
82	lockf \
83	logger \
84	login \
85	logins \
86	logname \
87	look \
88	lorder \
89	lsvfs \
90	lzmainfo \
91	m4 \
92	mandoc \
93	mesg \
94	minigzip \
95	ministat \
96	mkdep \
97	mkfifo \
98	mkimg \
99	mklocale \
100	mktemp \
101	mkuzip \
102	mt \
103	ncal \
104	netstat \
105	newgrp \
106	nfsstat \
107	nice \
108	nl \
109	numactl \
110	nohup \
111	opieinfo \
112	opiekey \
113	opiepasswd \
114	pagesize \
115	passwd \
116	paste \
117	patch \
118	pathchk \
119	perror \
120	pr \
121	printenv \
122	printf \
123	proccontrol \
124	procstat \
125	protect \
126	rctl \
127	renice \
128	resizewin \
129	rev \
130	revoke \
131	rpcinfo \
132	rs \
133	rup \
134	rusers \
135	rwall \
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	su \
150	systat \
151	tabs \
152	tail \
153	tar \
154	tcopy \
155	tee \
156	time \
157	timeout \
158	tip \
159	top \
160	touch \
161	tput \
162	tr \
163	true \
164	truncate \
165	tset \
166	tsort \
167	tty \
168	uname \
169	unexpand \
170	uniq \
171	unzip \
172	units \
173	unvis \
174	uudecode \
175	uuencode \
176	vis \
177	vmstat \
178	w \
179	wall \
180	wc \
181	what \
182	whereis \
183	which \
184	whois \
185	write \
186	xargs \
187	xinstall \
188	xo \
189	xz \
190	xzdec \
191	yes
192
193# NB: keep these sorted by MK_* knobs
194
195SUBDIR.${MK_AT}+=	at
196SUBDIR.${MK_ATM}+=	atm
197SUBDIR.${MK_BLUETOOTH}+=	bluetooth
198SUBDIR.${MK_BSD_CPIO}+=	cpio
199SUBDIR.${MK_CALENDAR}+=	calendar
200SUBDIR.${MK_CLANG}+=	clang
201SUBDIR.${MK_DIALOG}+=	dpv
202SUBDIR.${MK_EE}+=	ee
203SUBDIR.${MK_FILE}+=	file
204SUBDIR.${MK_FINGER}+=	finger
205SUBDIR.${MK_FTP}+=	ftp
206SUBDIR.${MK_GAMES}+=	caesar
207SUBDIR.${MK_GAMES}+=	factor
208SUBDIR.${MK_GAMES}+=	fortune
209SUBDIR.${MK_GAMES}+=	grdc
210SUBDIR.${MK_GAMES}+=	morse
211SUBDIR.${MK_GAMES}+=	number
212SUBDIR.${MK_GAMES}+=	pom
213SUBDIR.${MK_GAMES}+=	primes
214SUBDIR.${MK_GAMES}+=	random
215.if ${MK_GPL_DTC} != "yes"
216.if ${COMPILER_FEATURES:Mc++11}
217SUBDIR+=	dtc
218.endif
219.endif
220SUBDIR.${MK_GROFF}+=	vgrind
221SUBDIR.${MK_HESIOD}+=	hesinfo
222SUBDIR.${MK_ICONV}+=	iconv
223SUBDIR.${MK_ICONV}+=	mkcsmapper
224SUBDIR.${MK_ICONV}+=	mkesdb
225SUBDIR.${MK_ISCSI}+=	iscsictl
226SUBDIR.${MK_KDUMP}+=	kdump
227SUBDIR.${MK_KDUMP}+=	truss
228SUBDIR.${MK_KERBEROS_SUPPORT}+=	compile_et
229SUBDIR.${MK_LDNS_UTILS}+=	drill
230SUBDIR.${MK_LDNS_UTILS}+=	host
231SUBDIR.${MK_LOCATE}+=	locate
232# XXX msgs?
233SUBDIR.${MK_MAIL}+=	biff
234SUBDIR.${MK_MAIL}+=	from
235SUBDIR.${MK_MAIL}+=	mail
236SUBDIR.${MK_MAIL}+=	msgs
237SUBDIR.${MK_MAKE}+=	bmake
238SUBDIR.${MK_MAN_UTILS}+=	catman
239.if ${MK_MANDOCDB} == "no"	# AND
240SUBDIR.${MK_MAN_UTILS}+=	makewhatis
241.endif
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}+=	bc
249SUBDIR.${MK_OPENSSL}+=	chkey
250SUBDIR.${MK_OPENSSL}+=	dc
251SUBDIR.${MK_OPENSSL}+=	newkey
252SUBDIR.${MK_QUOTAS}+=	quota
253SUBDIR.${MK_RCMDS}+=	rlogin
254SUBDIR.${MK_RCMDS}+=	rsh
255SUBDIR.${MK_RCMDS}+=	ruptime
256SUBDIR.${MK_RCMDS}+=	rwho
257SUBDIR.${MK_SENDMAIL}+=	vacation
258SUBDIR.${MK_TALK}+=	talk
259SUBDIR.${MK_TELNET}+=	telnet
260SUBDIR.${MK_TESTS}+=	tests
261SUBDIR.${MK_TEXTPROC}+=	checknr
262SUBDIR.${MK_TEXTPROC}+=	colcrt
263SUBDIR.${MK_TEXTPROC}+=	ul
264SUBDIR.${MK_TFTP}+=	tftp
265SUBDIR.${MK_TOOLCHAIN}+=	addr2line
266SUBDIR.${MK_TOOLCHAIN}+=	ar
267SUBDIR.${MK_TOOLCHAIN}+=	c89
268SUBDIR.${MK_TOOLCHAIN}+=	c99
269SUBDIR.${MK_TOOLCHAIN}+=	ctags
270SUBDIR.${MK_TOOLCHAIN}+=	cxxfilt
271SUBDIR.${MK_TOOLCHAIN}+=	elfcopy
272SUBDIR.${MK_TOOLCHAIN}+=	file2c
273# ARM64TODO gprof does not build
274# RISCVTODO gprof does not build
275.if ${MACHINE_ARCH} != "aarch64" && ${MACHINE_CPUARCH} != "riscv"
276SUBDIR.${MK_TOOLCHAIN}+=	gprof
277.endif
278SUBDIR.${MK_TOOLCHAIN}+=	indent
279SUBDIR.${MK_TOOLCHAIN}+=	lex
280SUBDIR.${MK_TOOLCHAIN}+=	mkstr
281SUBDIR.${MK_TOOLCHAIN}+=	nm
282SUBDIR.${MK_TOOLCHAIN}+=	readelf
283SUBDIR.${MK_TOOLCHAIN}+=	rpcgen
284SUBDIR.${MK_TOOLCHAIN}+=	unifdef
285SUBDIR.${MK_TOOLCHAIN}+=	size
286SUBDIR.${MK_TOOLCHAIN}+=	strings
287.if ${MACHINE_ARCH} != "aarch64" # ARM64TODO xlint does not build
288SUBDIR.${MK_TOOLCHAIN}+=	xlint
289.endif
290SUBDIR.${MK_TOOLCHAIN}+=	xstr
291SUBDIR.${MK_TOOLCHAIN}+=	yacc
292SUBDIR.${MK_VI}+=	vi
293SUBDIR.${MK_VT}+=	vtfontcvt
294SUBDIR.${MK_USB}+=	usbhidaction
295SUBDIR.${MK_USB}+=	usbhidctl
296SUBDIR.${MK_UTMPX}+=	last
297.if ${MK_CXX} != "no"
298SUBDIR.${MK_UTMPX}+=	users
299.endif
300SUBDIR.${MK_UTMPX}+=	who
301SUBDIR.${MK_SVN}+=	svn
302SUBDIR.${MK_SVNLITE}+=	svn
303
304.include <bsd.arch.inc.mk>
305
306SUBDIR:=	${SUBDIR:O:u}
307
308SUBDIR_PARALLEL=
309
310.include <bsd.subdir.mk>
311