xref: /freebsd/usr.bin/Makefile (revision 5dae51da3da0cc94d17bd67b308fad304ebec7e0)
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	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	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
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_DIALOG}+=	dpv
203SUBDIR.${MK_EE}+=	ee
204SUBDIR.${MK_FILE}+=	file
205SUBDIR.${MK_FINGER}+=	finger
206SUBDIR.${MK_FTP}+=	ftp
207SUBDIR.${MK_GAMES}+=	caesar
208SUBDIR.${MK_GAMES}+=	factor
209SUBDIR.${MK_GAMES}+=	fortune
210SUBDIR.${MK_GAMES}+=	grdc
211SUBDIR.${MK_GAMES}+=	morse
212SUBDIR.${MK_GAMES}+=	number
213SUBDIR.${MK_GAMES}+=	pom
214SUBDIR.${MK_GAMES}+=	primes
215SUBDIR.${MK_GAMES}+=	random
216.if ${MK_GPL_DTC} != "yes"
217.if ${COMPILER_FEATURES:Mc++11}
218SUBDIR+=	dtc
219.endif
220.endif
221SUBDIR.${MK_GROFF}+=	vgrind
222SUBDIR.${MK_HESIOD}+=	hesinfo
223SUBDIR.${MK_ICONV}+=	iconv
224SUBDIR.${MK_ICONV}+=	mkcsmapper
225SUBDIR.${MK_ICONV}+=	mkesdb
226SUBDIR.${MK_ISCSI}+=	iscsictl
227SUBDIR.${MK_KDUMP}+=	kdump
228SUBDIR.${MK_KDUMP}+=	truss
229SUBDIR.${MK_KERBEROS_SUPPORT}+=	compile_et
230SUBDIR.${MK_LDNS_UTILS}+=	drill
231SUBDIR.${MK_LDNS_UTILS}+=	host
232SUBDIR.${MK_LOCATE}+=	locate
233# XXX msgs?
234SUBDIR.${MK_MAIL}+=	biff
235SUBDIR.${MK_MAIL}+=	from
236SUBDIR.${MK_MAIL}+=	mail
237SUBDIR.${MK_MAIL}+=	msgs
238SUBDIR.${MK_MAKE}+=	bmake
239SUBDIR.${MK_MAN_UTILS}+=	catman
240.if ${MK_MANDOCDB} == "no"	# AND
241SUBDIR.${MK_MAN_UTILS}+=	makewhatis
242.endif
243SUBDIR.${MK_MAN_UTILS}+=	man
244SUBDIR.${MK_NETCAT}+=	nc
245SUBDIR.${MK_NIS}+=	ypcat
246SUBDIR.${MK_NIS}+=	ypmatch
247SUBDIR.${MK_NIS}+=	ypwhich
248SUBDIR.${MK_OPENSSH}+=	ssh-copy-id
249SUBDIR.${MK_OPENSSL}+=	bc
250SUBDIR.${MK_OPENSSL}+=	chkey
251SUBDIR.${MK_OPENSSL}+=	dc
252SUBDIR.${MK_OPENSSL}+=	newkey
253SUBDIR.${MK_QUOTAS}+=	quota
254SUBDIR.${MK_RCMDS}+=	rlogin
255SUBDIR.${MK_RCMDS}+=	rsh
256SUBDIR.${MK_RCMDS}+=	ruptime
257SUBDIR.${MK_RCMDS}+=	rwho
258SUBDIR.${MK_SENDMAIL}+=	vacation
259SUBDIR.${MK_TALK}+=	talk
260SUBDIR.${MK_TELNET}+=	telnet
261SUBDIR.${MK_TESTS}+=	tests
262SUBDIR.${MK_TEXTPROC}+=	checknr
263SUBDIR.${MK_TEXTPROC}+=	colcrt
264SUBDIR.${MK_TEXTPROC}+=	ul
265SUBDIR.${MK_TFTP}+=	tftp
266SUBDIR.${MK_TOOLCHAIN}+=	addr2line
267SUBDIR.${MK_TOOLCHAIN}+=	ar
268SUBDIR.${MK_TOOLCHAIN}+=	c89
269SUBDIR.${MK_TOOLCHAIN}+=	c99
270SUBDIR.${MK_TOOLCHAIN}+=	ctags
271SUBDIR.${MK_TOOLCHAIN}+=	cxxfilt
272SUBDIR.${MK_TOOLCHAIN}+=	elfcopy
273SUBDIR.${MK_TOOLCHAIN}+=	file2c
274# ARM64TODO gprof does not build
275# RISCVTODO gprof does not build
276.if ${MACHINE_ARCH} != "aarch64" && ${MACHINE_CPUARCH} != "riscv"
277SUBDIR.${MK_TOOLCHAIN}+=	gprof
278.endif
279SUBDIR.${MK_TOOLCHAIN}+=	indent
280SUBDIR.${MK_TOOLCHAIN}+=	lex
281SUBDIR.${MK_TOOLCHAIN}+=	mkstr
282SUBDIR.${MK_TOOLCHAIN}+=	nm
283SUBDIR.${MK_TOOLCHAIN}+=	readelf
284SUBDIR.${MK_TOOLCHAIN}+=	rpcgen
285SUBDIR.${MK_TOOLCHAIN}+=	unifdef
286SUBDIR.${MK_TOOLCHAIN}+=	size
287SUBDIR.${MK_TOOLCHAIN}+=	strings
288.if ${MACHINE_ARCH} != "aarch64" # ARM64TODO xlint does not build
289SUBDIR.${MK_TOOLCHAIN}+=	xlint
290.endif
291SUBDIR.${MK_TOOLCHAIN}+=	xstr
292SUBDIR.${MK_TOOLCHAIN}+=	yacc
293SUBDIR.${MK_VI}+=	vi
294SUBDIR.${MK_VT}+=	vtfontcvt
295SUBDIR.${MK_USB}+=	usbhidaction
296SUBDIR.${MK_USB}+=	usbhidctl
297SUBDIR.${MK_UTMPX}+=	last
298.if ${MK_CXX} != "no"
299SUBDIR.${MK_UTMPX}+=	users
300.endif
301SUBDIR.${MK_UTMPX}+=	who
302SUBDIR.${MK_SVN}+=	svn
303SUBDIR.${MK_SVNLITE}+=	svn
304
305.include <bsd.arch.inc.mk>
306
307SUBDIR:=	${SUBDIR:O:u}
308
309SUBDIR_PARALLEL=
310
311.include <bsd.subdir.mk>
312