xref: /freebsd/usr.bin/Makefile (revision 1f4bcc459a76b7aa664f3fd557684cd0ba6da352)
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# Moved to secure: bdes
10#
11
12SUBDIR=	alias \
13	apply \
14	asa \
15	awk \
16	banner \
17	basename \
18	brandelf \
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	dpv \
39	du \
40	elf2aout \
41	elfdump \
42	enigma \
43	env \
44	expand \
45	false \
46	fetch \
47	find \
48	fmt \
49	fold \
50	fstat \
51	fsync \
52	gcore \
53	gencat \
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	mkulzma \
103	mkuzip \
104	mt \
105	ncal \
106	netstat \
107	newgrp \
108	nfsstat \
109	nice \
110	nl \
111	numactl \
112	nohup \
113	opieinfo \
114	opiekey \
115	opiepasswd \
116	pagesize \
117	passwd \
118	paste \
119	patch \
120	pathchk \
121	perror \
122	pr \
123	printenv \
124	printf \
125	procstat \
126	protect \
127	rctl \
128	renice \
129	rev \
130	revoke \
131	rpcinfo \
132	rs \
133	rup \
134	rusers \
135	rwall \
136	script \
137	sed \
138	send-pr \
139	seq \
140	shar \
141	showmount \
142	sockstat \
143	soelim \
144	sort \
145	split \
146	stat \
147	stdbuf \
148	su \
149	systat \
150	tabs \
151	tail \
152	tar \
153	tcopy \
154	tee \
155	time \
156	timeout \
157	tip \
158	top \
159	touch \
160	tput \
161	tr \
162	true \
163	truncate \
164	tset \
165	tsort \
166	tty \
167	uname \
168	unexpand \
169	uniq \
170	unzip \
171	units \
172	unvis \
173	uudecode \
174	uuencode \
175	vis \
176	vmstat \
177	w \
178	wall \
179	wc \
180	what \
181	whereis \
182	which \
183	whois \
184	write \
185	xargs \
186	xinstall \
187	xo \
188	xz \
189	xzdec \
190	yes
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_EE}+=	ee
201SUBDIR.${MK_FILE}+=	file
202SUBDIR.${MK_FINGER}+=	finger
203SUBDIR.${MK_FTP}+=	ftp
204SUBDIR.${MK_GAMES}+=	caesar
205SUBDIR.${MK_GAMES}+=	factor
206SUBDIR.${MK_GAMES}+=	fortune
207SUBDIR.${MK_GAMES}+=	grdc
208SUBDIR.${MK_GAMES}+=	morse
209SUBDIR.${MK_GAMES}+=	number
210SUBDIR.${MK_GAMES}+=	pom
211SUBDIR.${MK_GAMES}+=	primes
212SUBDIR.${MK_GAMES}+=	random
213.if ${MK_GPL_DTC} != "yes"
214.if ${COMPILER_FEATURES:Mc++11}
215SUBDIR+=	dtc
216.endif
217.endif
218SUBDIR.${MK_GROFF}+=	vgrind
219SUBDIR.${MK_HESIOD}+=	hesinfo
220SUBDIR.${MK_ICONV}+=	iconv
221SUBDIR.${MK_ICONV}+=	mkcsmapper
222SUBDIR.${MK_ICONV}+=	mkesdb
223SUBDIR.${MK_ISCSI}+=	iscsictl
224SUBDIR.${MK_KDUMP}+=	kdump
225SUBDIR.${MK_KDUMP}+=	truss
226SUBDIR.${MK_KERBEROS_SUPPORT}+=	compile_et
227SUBDIR.${MK_LDNS_UTILS}+=	drill
228SUBDIR.${MK_LDNS_UTILS}+=	host
229SUBDIR.${MK_LOCATE}+=	locate
230# XXX msgs?
231SUBDIR.${MK_MAIL}+=	biff
232SUBDIR.${MK_MAIL}+=	from
233SUBDIR.${MK_MAIL}+=	mail
234SUBDIR.${MK_MAIL}+=	msgs
235SUBDIR.${MK_MAKE}+=	bmake
236SUBDIR.${MK_MAN_UTILS}+=	catman
237.if ${MK_MANDOCDB} == "no"	# AND
238SUBDIR.${MK_MAN_UTILS}+=	makewhatis
239.endif
240SUBDIR.${MK_MAN_UTILS}+=	man
241SUBDIR.${MK_NETCAT}+=	nc
242SUBDIR.${MK_NIS}+=	ypcat
243SUBDIR.${MK_NIS}+=	ypmatch
244SUBDIR.${MK_NIS}+=	ypwhich
245SUBDIR.${MK_OPENSSH}+=	ssh-copy-id
246SUBDIR.${MK_OPENSSL}+=	bc
247SUBDIR.${MK_OPENSSL}+=	chkey
248SUBDIR.${MK_OPENSSL}+=	dc
249SUBDIR.${MK_OPENSSL}+=	newkey
250SUBDIR.${MK_QUOTAS}+=	quota
251SUBDIR.${MK_RCMDS}+=	rlogin
252SUBDIR.${MK_RCMDS}+=	rsh
253SUBDIR.${MK_RCMDS}+=	ruptime
254SUBDIR.${MK_RCMDS}+=	rwho
255SUBDIR.${MK_SENDMAIL}+=	vacation
256SUBDIR.${MK_TALK}+=	talk
257SUBDIR.${MK_TELNET}+=	telnet
258SUBDIR.${MK_TESTS}+=	tests
259SUBDIR.${MK_TEXTPROC}+=	checknr
260SUBDIR.${MK_TEXTPROC}+=	colcrt
261SUBDIR.${MK_TEXTPROC}+=	ul
262SUBDIR.${MK_TFTP}+=	tftp
263SUBDIR.${MK_TOOLCHAIN}+=	addr2line
264SUBDIR.${MK_TOOLCHAIN}+=	ar
265SUBDIR.${MK_TOOLCHAIN}+=	c89
266SUBDIR.${MK_TOOLCHAIN}+=	c99
267SUBDIR.${MK_TOOLCHAIN}+=	ctags
268SUBDIR.${MK_TOOLCHAIN}+=	cxxfilt
269SUBDIR.${MK_TOOLCHAIN}+=	elfcopy
270SUBDIR.${MK_TOOLCHAIN}+=	file2c
271.if ${MACHINE_ARCH} != "aarch64" && \ # ARM64TODO gprof does not build
272    ${MACHINE_CPUARCH} != "riscv" # RISCVTODO gprof does not build
273SUBDIR.${MK_TOOLCHAIN}+=	gprof
274.endif
275SUBDIR.${MK_TOOLCHAIN}+=	indent
276SUBDIR.${MK_TOOLCHAIN}+=	lex
277SUBDIR.${MK_TOOLCHAIN}+=	mkstr
278SUBDIR.${MK_TOOLCHAIN}+=	nm
279SUBDIR.${MK_TOOLCHAIN}+=	readelf
280SUBDIR.${MK_TOOLCHAIN}+=	rpcgen
281SUBDIR.${MK_TOOLCHAIN}+=	unifdef
282SUBDIR.${MK_TOOLCHAIN}+=	size
283SUBDIR.${MK_TOOLCHAIN}+=	strings
284.if ${MACHINE_ARCH} != "aarch64" # ARM64TODO xlint does not build
285SUBDIR.${MK_TOOLCHAIN}+=	xlint
286.endif
287SUBDIR.${MK_TOOLCHAIN}+=	xstr
288SUBDIR.${MK_TOOLCHAIN}+=	yacc
289SUBDIR.${MK_VI}+=	vi
290SUBDIR.${MK_VT}+=	vtfontcvt
291SUBDIR.${MK_USB}+=	usbhidaction
292SUBDIR.${MK_USB}+=	usbhidctl
293SUBDIR.${MK_UTMPX}+=	last
294.if ${MACHINE_CPUARCH} != "riscv" # RISCVTODO users does not build
295SUBDIR.${MK_UTMPX}+=	users
296.endif
297SUBDIR.${MK_UTMPX}+=	who
298SUBDIR.${MK_SVN}+=	svn
299SUBDIR.${MK_SVNLITE}+=	svn
300
301.include <bsd.arch.inc.mk>
302
303SUBDIR:=	${SUBDIR:O:u}
304
305SUBDIR_PARALLEL=
306
307.include <bsd.subdir.mk>
308