xref: /freebsd/usr.bin/Makefile (revision 5944f899a2519c6321bac3c17cc076418643a088)
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	getaddrinfo \
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
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# ARM64TODO gprof does not build
272# RISCVTODO gprof does not build
273.if ${MACHINE_ARCH} != "aarch64" && ${MACHINE_CPUARCH} != "riscv"
274SUBDIR.${MK_TOOLCHAIN}+=	gprof
275.endif
276SUBDIR.${MK_TOOLCHAIN}+=	indent
277SUBDIR.${MK_TOOLCHAIN}+=	lex
278SUBDIR.${MK_TOOLCHAIN}+=	mkstr
279SUBDIR.${MK_TOOLCHAIN}+=	nm
280SUBDIR.${MK_TOOLCHAIN}+=	readelf
281SUBDIR.${MK_TOOLCHAIN}+=	rpcgen
282SUBDIR.${MK_TOOLCHAIN}+=	unifdef
283SUBDIR.${MK_TOOLCHAIN}+=	size
284SUBDIR.${MK_TOOLCHAIN}+=	strings
285.if ${MACHINE_ARCH} != "aarch64" # ARM64TODO xlint does not build
286SUBDIR.${MK_TOOLCHAIN}+=	xlint
287.endif
288SUBDIR.${MK_TOOLCHAIN}+=	xstr
289SUBDIR.${MK_TOOLCHAIN}+=	yacc
290SUBDIR.${MK_VI}+=	vi
291SUBDIR.${MK_VT}+=	vtfontcvt
292SUBDIR.${MK_USB}+=	usbhidaction
293SUBDIR.${MK_USB}+=	usbhidctl
294SUBDIR.${MK_UTMPX}+=	last
295.if ${MK_CXX} != "no"
296SUBDIR.${MK_UTMPX}+=	users
297.endif
298SUBDIR.${MK_UTMPX}+=	who
299SUBDIR.${MK_SVN}+=	svn
300SUBDIR.${MK_SVNLITE}+=	svn
301
302.include <bsd.arch.inc.mk>
303
304SUBDIR:=	${SUBDIR:O:u}
305
306SUBDIR_PARALLEL=
307
308.include <bsd.subdir.mk>
309