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