xref: /freebsd/usr.bin/Makefile (revision acc1a9ef8333c798c210fa94be6af4d5fe2dd794)
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	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	procstat \
125	protect \
126	rctl \
127	renice \
128	rev \
129	revoke \
130	rpcinfo \
131	rs \
132	rup \
133	rusers \
134	rwall \
135	script \
136	sed \
137	send-pr \
138	seq \
139	shar \
140	showmount \
141	sockstat \
142	soelim \
143	sort \
144	split \
145	stat \
146	stdbuf \
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
191# NB: keep these sorted by MK_* knobs
192
193SUBDIR.${MK_AT}+=	at
194SUBDIR.${MK_ATM}+=	atm
195SUBDIR.${MK_BLUETOOTH}+=	bluetooth
196SUBDIR.${MK_BSD_CPIO}+=	cpio
197SUBDIR.${MK_CALENDAR}+=	calendar
198SUBDIR.${MK_CLANG}+=	clang
199SUBDIR.${MK_EE}+=	ee
200SUBDIR.${MK_FILE}+=	file
201SUBDIR.${MK_FINGER}+=	finger
202SUBDIR.${MK_FTP}+=	ftp
203SUBDIR.${MK_GAMES}+=	caesar
204SUBDIR.${MK_GAMES}+=	factor
205SUBDIR.${MK_GAMES}+=	fortune
206SUBDIR.${MK_GAMES}+=	grdc
207SUBDIR.${MK_GAMES}+=	morse
208SUBDIR.${MK_GAMES}+=	number
209SUBDIR.${MK_GAMES}+=	pom
210SUBDIR.${MK_GAMES}+=	primes
211SUBDIR.${MK_GAMES}+=	random
212.if ${MK_GPL_DTC} != "yes"
213.if ${COMPILER_FEATURES:Mc++11}
214SUBDIR+=	dtc
215.endif
216.endif
217SUBDIR.${MK_GROFF}+=	vgrind
218SUBDIR.${MK_HESIOD}+=	hesinfo
219SUBDIR.${MK_ICONV}+=	iconv
220SUBDIR.${MK_ICONV}+=	mkcsmapper
221SUBDIR.${MK_ICONV}+=	mkesdb
222SUBDIR.${MK_ISCSI}+=	iscsictl
223SUBDIR.${MK_KDUMP}+=	kdump
224SUBDIR.${MK_KDUMP}+=	truss
225SUBDIR.${MK_KERBEROS_SUPPORT}+=	compile_et
226SUBDIR.${MK_LDNS_UTILS}+=	drill
227SUBDIR.${MK_LDNS_UTILS}+=	host
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}+=	catman
236.if ${MK_MANDOCDB} == "no"	# AND
237SUBDIR.${MK_MAN_UTILS}+=	makewhatis
238.endif
239SUBDIR.${MK_MAN_UTILS}+=	man
240SUBDIR.${MK_NETCAT}+=	nc
241SUBDIR.${MK_NIS}+=	ypcat
242SUBDIR.${MK_NIS}+=	ypmatch
243SUBDIR.${MK_NIS}+=	ypwhich
244SUBDIR.${MK_OPENSSH}+=	ssh-copy-id
245SUBDIR.${MK_OPENSSL}+=	bc
246SUBDIR.${MK_OPENSSL}+=	chkey
247SUBDIR.${MK_OPENSSL}+=	dc
248SUBDIR.${MK_OPENSSL}+=	newkey
249SUBDIR.${MK_QUOTAS}+=	quota
250SUBDIR.${MK_RCMDS}+=	rlogin
251SUBDIR.${MK_RCMDS}+=	rsh
252SUBDIR.${MK_RCMDS}+=	ruptime
253SUBDIR.${MK_RCMDS}+=	rwho
254SUBDIR.${MK_SENDMAIL}+=	vacation
255SUBDIR.${MK_TALK}+=	talk
256SUBDIR.${MK_TELNET}+=	telnet
257SUBDIR.${MK_TESTS}+=	tests
258SUBDIR.${MK_TEXTPROC}+=	checknr
259SUBDIR.${MK_TEXTPROC}+=	colcrt
260SUBDIR.${MK_TEXTPROC}+=	ul
261SUBDIR.${MK_TFTP}+=	tftp
262SUBDIR.${MK_TOOLCHAIN}+=	addr2line
263SUBDIR.${MK_TOOLCHAIN}+=	ar
264SUBDIR.${MK_TOOLCHAIN}+=	c89
265SUBDIR.${MK_TOOLCHAIN}+=	c99
266SUBDIR.${MK_TOOLCHAIN}+=	ctags
267SUBDIR.${MK_TOOLCHAIN}+=	cxxfilt
268SUBDIR.${MK_TOOLCHAIN}+=	elfcopy
269SUBDIR.${MK_TOOLCHAIN}+=	file2c
270.if ${MACHINE_ARCH} != "aarch64" && \ # ARM64TODO gprof does not build
271    ${MACHINE_CPUARCH} != "riscv" # RISCVTODO gprof does not build
272SUBDIR.${MK_TOOLCHAIN}+=	gprof
273.endif
274SUBDIR.${MK_TOOLCHAIN}+=	indent
275SUBDIR.${MK_TOOLCHAIN}+=	lex
276SUBDIR.${MK_TOOLCHAIN}+=	mkstr
277SUBDIR.${MK_TOOLCHAIN}+=	nm
278SUBDIR.${MK_TOOLCHAIN}+=	readelf
279SUBDIR.${MK_TOOLCHAIN}+=	rpcgen
280SUBDIR.${MK_TOOLCHAIN}+=	unifdef
281SUBDIR.${MK_TOOLCHAIN}+=	size
282SUBDIR.${MK_TOOLCHAIN}+=	strings
283.if ${MACHINE_ARCH} != "aarch64" # ARM64TODO xlint does not build
284SUBDIR.${MK_TOOLCHAIN}+=	xlint
285.endif
286SUBDIR.${MK_TOOLCHAIN}+=	xstr
287SUBDIR.${MK_TOOLCHAIN}+=	yacc
288SUBDIR.${MK_VI}+=	vi
289SUBDIR.${MK_VT}+=	vtfontcvt
290SUBDIR.${MK_USB}+=	usbhidaction
291SUBDIR.${MK_USB}+=	usbhidctl
292SUBDIR.${MK_UTMPX}+=	last
293.if ${MACHINE_CPUARCH} != "riscv" # RISCVTODO users does not build
294SUBDIR.${MK_UTMPX}+=	users
295.endif
296SUBDIR.${MK_UTMPX}+=	who
297SUBDIR.${MK_SVN}+=	svn
298SUBDIR.${MK_SVNLITE}+=	svn
299
300.include <bsd.arch.inc.mk>
301
302SUBDIR:=	${SUBDIR:O:u}
303
304SUBDIR_PARALLEL=
305
306.include <bsd.subdir.mk>
307