xref: /freebsd/usr.bin/Makefile (revision 3110d4ebd6c0848cf5e25890d01791bb407e2a9b)
1#	From: @(#)Makefile	8.3 (Berkeley) 1/7/94
2# $FreeBSD$
3
4.include <src.opts.mk>
5
6SUBDIR=	alias \
7	apply \
8	asa \
9	awk \
10	backlight \
11	banner \
12	basename \
13	brandelf \
14	bsdcat \
15	bsdiff \
16	bzip2 \
17	bzip2recover \
18	cap_mkdb \
19	chat \
20	chpass \
21	cksum \
22	cmp \
23	col \
24	colrm \
25	column \
26	comm \
27	compress \
28	cpuset \
29	csplit \
30	ctlstat \
31	cut \
32	diff \
33	dirname \
34	du \
35	elfctl \
36	elfdump \
37	enigma \
38	env \
39	etdump \
40	expand \
41	false \
42	fetch \
43	find \
44	fmt \
45	fold \
46	fstat \
47	fsync \
48	gcore \
49	gencat \
50	getaddrinfo \
51	getconf \
52	getent \
53	getopt \
54	grep \
55	gzip \
56	head \
57	hexdump \
58	id \
59	ident \
60	ipcrm \
61	ipcs \
62	join \
63	jot \
64	keylogin \
65	keylogout \
66	killall \
67	ktrace \
68	ktrdump \
69	lam \
70	lastcomm \
71	ldd \
72	leave \
73	less \
74	lessecho \
75	lesskey \
76	limits \
77	locale \
78	localedef \
79	lock \
80	lockf \
81	logger \
82	login \
83	logins \
84	logname \
85	look \
86	lorder \
87	lsvfs \
88	lzmainfo \
89	m4 \
90	mandoc \
91	mesg \
92	minigzip \
93	ministat \
94	mkdep \
95	mkfifo \
96	mkimg \
97	mktemp \
98	mkuzip \
99	mt \
100	ncal \
101	netstat \
102	newgrp \
103	nfsstat \
104	nice \
105	nl \
106	nohup \
107	opieinfo \
108	opiekey \
109	opiepasswd \
110	pagesize \
111	passwd \
112	paste \
113	patch \
114	pathchk \
115	perror \
116	posixshmcontrol \
117	pr \
118	printenv \
119	printf \
120	proccontrol \
121	procstat \
122	protect \
123	rctl \
124	renice \
125	resizewin \
126	rev \
127	revoke \
128	rpcinfo \
129	rs \
130	rup \
131	ruptime \
132	rusers \
133	rwall \
134	rwho \
135	script \
136	sdiff \
137	sed \
138	seq \
139	shar \
140	showmount \
141	sockstat \
142	soelim \
143	sort \
144	split \
145	stat \
146	stdbuf \
147	strings \
148	su \
149	systat \
150	tabs \
151	tail \
152	tar \
153	tcopy \
154	tee \
155	time \
156	timeout \
157	tip \
158	top \
159	touch \
160	tput \
161	tr \
162	true \
163	truncate \
164	tset \
165	tsort \
166	tty \
167	uname \
168	unexpand \
169	uniq \
170	unzip \
171	units \
172	unvis \
173	uudecode \
174	uuencode \
175	vis \
176	vmstat \
177	w \
178	wall \
179	wc \
180	what \
181	whereis \
182	which \
183	whois \
184	write \
185	xargs \
186	xinstall \
187	xo \
188	xz \
189	xzdec \
190	yes \
191	zstd
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
215SUBDIR.${MK_CXX}+=	dtc
216.if ${MK_GH_BC} == "yes"
217SUBDIR+=		gh-bc
218.else
219SUBDIR.${MK_OPENSSL}+=	bc
220SUBDIR.${MK_OPENSSL}+=	dc
221.endif
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_LIB32}+=	ldd32
233SUBDIR.${MK_LOCATE}+=	locate
234# XXX msgs?
235SUBDIR.${MK_MAIL}+=	biff
236SUBDIR.${MK_MAIL}+=	from
237SUBDIR.${MK_MAIL}+=	mail
238SUBDIR.${MK_MAIL}+=	msgs
239SUBDIR.${MK_MAKE}+=	bmake
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}+=	chkey
247SUBDIR.${MK_OPENSSL}+=	newkey
248SUBDIR.${MK_QUOTAS}+=	quota
249SUBDIR.${MK_SENDMAIL}+=	vacation
250SUBDIR.${MK_TALK}+=	talk
251SUBDIR.${MK_TELNET}+=	telnet
252SUBDIR.${MK_TESTS_SUPPORT}.${MK_CXX}+=	kyua
253SUBDIR.${MK_TESTS}+=	tests
254SUBDIR.${MK_TEXTPROC}+=	ul
255SUBDIR.${MK_TFTP}+=	tftp
256SUBDIR.${MK_TOOLCHAIN}+=	addr2line
257SUBDIR.${MK_TOOLCHAIN}+=	ar
258SUBDIR.${MK_TOOLCHAIN}+=	c89
259SUBDIR.${MK_TOOLCHAIN}+=	c99
260SUBDIR.${MK_TOOLCHAIN}+=	ctags
261.if ${MK_LLVM_CXXFILT} == "no"
262SUBDIR.${MK_TOOLCHAIN}+=	cxxfilt
263.endif
264SUBDIR.${MK_TOOLCHAIN}+=	objcopy
265SUBDIR.${MK_TOOLCHAIN}+=	file2c
266SUBDIR.${MK_TOOLCHAIN}+=	gprof
267SUBDIR.${MK_TOOLCHAIN}+=	indent
268SUBDIR.${MK_TOOLCHAIN}+=	lex
269SUBDIR.${MK_TOOLCHAIN}+=	mkstr
270SUBDIR.${MK_TOOLCHAIN}+=	nm
271SUBDIR.${MK_TOOLCHAIN}+=	readelf
272SUBDIR.${MK_TOOLCHAIN}+=	rpcgen
273SUBDIR.${MK_TOOLCHAIN}+=	unifdef
274SUBDIR.${MK_TOOLCHAIN}+=	size
275SUBDIR.${MK_TOOLCHAIN}+=	xstr
276SUBDIR.${MK_TOOLCHAIN}+=	yacc
277SUBDIR.${MK_VI}+=	vi
278SUBDIR.${MK_VT}+=	vtfontcvt
279SUBDIR.${MK_USB}+=	usbhidaction
280SUBDIR.${MK_USB}+=	usbhidctl
281SUBDIR.${MK_UTMPX}+=	last
282.if ${MK_CXX} != "no"
283SUBDIR.${MK_UTMPX}+=	users
284.endif
285SUBDIR.${MK_UTMPX}+=	who
286SUBDIR.${MK_SVN}+=	svn
287SUBDIR.${MK_SVNLITE}+=	svn
288SUBDIR.${MK_OFED}+=	ofed
289
290# These are normally only handled for build-tools.
291.if make(clean*)
292SUBDIR+=	mkcsmapper_static
293SUBDIR+=	mkesdb_static
294.endif
295
296.include <bsd.arch.inc.mk>
297
298SUBDIR_PARALLEL=
299
300.include <bsd.subdir.mk>
301