xref: /freebsd/usr.bin/Makefile (revision 3fc36ee018bb836bd1796067cf4ef8683f166ebc)
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	bsdcat \
20	bsdiff \
21	bzip2 \
22	bzip2recover \
23	cap_mkdb \
24	chat \
25	chpass \
26	cksum \
27	cmp \
28	col \
29	colldef \
30	colrm \
31	column \
32	comm \
33	compress \
34	cpuset \
35	csplit \
36	ctlstat \
37	cut \
38	dirname \
39	dpv \
40	du \
41	elf2aout \
42	elfdump \
43	enigma \
44	env \
45	expand \
46	false \
47	fetch \
48	find \
49	fmt \
50	fold \
51	fstat \
52	fsync \
53	gcore \
54	gencat \
55	getconf \
56	getent \
57	getopt \
58	grep \
59	gzip \
60	head \
61	hexdump \
62	id \
63	ident \
64	ipcrm \
65	ipcs \
66	join \
67	jot \
68	keylogin \
69	keylogout \
70	killall \
71	ktrace \
72	ktrdump \
73	lam \
74	lastcomm \
75	ldd \
76	leave \
77	less \
78	lessecho \
79	lesskey \
80	limits \
81	locale \
82	localedef \
83	lock \
84	lockf \
85	logger \
86	login \
87	logins \
88	logname \
89	look \
90	lorder \
91	lsvfs \
92	lzmainfo \
93	m4 \
94	mandoc \
95	mesg \
96	minigzip \
97	ministat \
98	mkdep \
99	mkfifo \
100	mkimg \
101	mklocale \
102	mktemp \
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	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
194# NB: keep these sorted by MK_* knobs
195
196SUBDIR.${MK_AT}+=	at
197SUBDIR.${MK_ATM}+=	atm
198SUBDIR.${MK_BLUETOOTH}+=	bluetooth
199SUBDIR.${MK_BSD_CPIO}+=	cpio
200SUBDIR.${MK_CALENDAR}+=	calendar
201SUBDIR.${MK_CLANG}+=	clang
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