xref: /freebsd/usr.bin/Makefile (revision 4657548d18877f64bd02be888406aa5b02bf9b06)
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	getconf \
54	getent \
55	getopt \
56	grep \
57	gzip \
58	head \
59	hexdump \
60	id \
61	ident \
62	ipcrm \
63	ipcs \
64	join \
65	jot \
66	keylogin \
67	keylogout \
68	killall \
69	ktrace \
70	ktrdump \
71	lam \
72	lastcomm \
73	ldd \
74	leave \
75	less \
76	lessecho \
77	lesskey \
78	limits \
79	locale \
80	localedef \
81	lock \
82	lockf \
83	logger \
84	login \
85	logins \
86	logname \
87	look \
88	lorder \
89	lsvfs \
90	lzmainfo \
91	m4 \
92	mandoc \
93	mesg \
94	minigzip \
95	ministat \
96	mkdep \
97	mkfifo \
98	mkimg \
99	mklocale \
100	mktemp \
101	mkuzip \
102	mt \
103	ncal \
104	netstat \
105	newgrp \
106	nfsstat \
107	nice \
108	nl \
109	numactl \
110	nohup \
111	opieinfo \
112	opiekey \
113	opiepasswd \
114	pagesize \
115	passwd \
116	paste \
117	patch \
118	pathchk \
119	perror \
120	pr \
121	printenv \
122	printf \
123	proccontrol \
124	procstat \
125	protect \
126	rctl \
127	renice \
128	resizewin \
129	rev \
130	revoke \
131	rpcinfo \
132	rs \
133	rup \
134	rusers \
135	rwall \
136	script \
137	sdiff \
138	sed \
139	send-pr \
140	seq \
141	shar \
142	showmount \
143	sockstat \
144	soelim \
145	sort \
146	split \
147	stat \
148	stdbuf \
149	su \
150	systat \
151	tabs \
152	tail \
153	tar \
154	tcopy \
155	tee \
156	time \
157	timeout \
158	tip \
159	top \
160	touch \
161	tput \
162	tr \
163	true \
164	truncate \
165	tset \
166	tsort \
167	tty \
168	uname \
169	unexpand \
170	uniq \
171	unzip \
172	units \
173	unvis \
174	uudecode \
175	uuencode \
176	vis \
177	vmstat \
178	w \
179	wall \
180	wc \
181	what \
182	whereis \
183	which \
184	whois \
185	write \
186	xargs \
187	xinstall \
188	xo \
189	xz \
190	xzdec \
191	yes
192
193# NB: keep these sorted by MK_* knobs
194
195SUBDIR.${MK_AT}+=	at
196SUBDIR.${MK_ATM}+=	atm
197SUBDIR.${MK_BLUETOOTH}+=	bluetooth
198SUBDIR.${MK_BSD_CPIO}+=	cpio
199SUBDIR.${MK_CALENDAR}+=	calendar
200SUBDIR.${MK_CLANG}+=	clang
201SUBDIR.${MK_DIALOG}+=	dpv
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
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# ARM64TODO gprof does not build
271# RISCVTODO gprof does not build
272.if ${MACHINE_ARCH} != "aarch64" && ${MACHINE_CPUARCH} != "riscv"
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 ${MK_CXX} != "no"
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