xref: /freebsd/usr.bin/Makefile (revision 3c4ba5f55438f7afd4f4b0b56f88f2bb505fd6a6)
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	beep \
14	bintrans \
15	brandelf \
16	bsdcat \
17	bsddialog \
18	bsdiff \
19	bzip2 \
20	bzip2recover \
21	cap_mkdb \
22	chat \
23	chpass \
24	cksum \
25	cmp \
26	col \
27	colrm \
28	column \
29	comm \
30	compress \
31	cpuset \
32	csplit \
33	ctlstat \
34	cut \
35	diff \
36	dirname \
37	dtc \
38	du \
39	elfctl \
40	elfdump \
41	enigma \
42	env \
43	etdump \
44	expand \
45	false \
46	fetch \
47	find \
48	fmt \
49	fold \
50	fstat \
51	fsync \
52	gcore \
53	gencat \
54	getaddrinfo \
55	getconf \
56	getent \
57	getopt \
58	grep \
59	gzip \
60	head \
61	hexdump \
62	id \
63	ident \
64	ipcrm \
65	ipcs \
66	join \
67	jot \
68	keylogin \
69	keylogout \
70	killall \
71	ktrace \
72	ktrdump \
73	lam \
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	ministat \
96	mkdep \
97	mkfifo \
98	mkimg \
99	mktemp \
100	mkuzip \
101	mt \
102	ncal \
103	ncurses \
104	netstat \
105	newgrp \
106	nfsstat \
107	nice \
108	nl \
109	nohup \
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	su \
148	systat \
149	tail \
150	tar \
151	tcopy \
152	tee \
153	time \
154	tip \
155	top \
156	touch \
157	tr \
158	true \
159	truncate \
160	tsort \
161	tty \
162	uname \
163	unexpand \
164	uniq \
165	unzip \
166	units \
167	unvis \
168	vis \
169	vmstat \
170	w \
171	wall \
172	wc \
173	wg \
174	what \
175	whereis \
176	which \
177	whois \
178	write \
179	xargs \
180	xinstall \
181	xo \
182	xz \
183	xzdec \
184	yes \
185	zstd
186
187# NB: keep these sorted by MK_* knobs
188
189SUBDIR.${MK_ACCT}+=	lastcomm
190SUBDIR.${MK_AT}+=	at
191SUBDIR.${MK_BLUETOOTH}+=	bluetooth
192SUBDIR.${MK_BSD_CPIO}+=	cpio
193SUBDIR.${MK_CALENDAR}+=	calendar
194.if ${MK_CLANG} != "no" || ${MK_LLVM_BINUTILS} != "no" || \
195    ${MK_LLD} != "no" || ${MK_LLDB} != "no"
196SUBDIR+=	clang
197.endif
198SUBDIR.${MK_DIALOG}+=	dpv
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
212.if ${MK_GH_BC} == "yes"
213SUBDIR+=		gh-bc
214.else
215SUBDIR.${MK_OPENSSL}+=	bc
216SUBDIR.${MK_OPENSSL}+=	dc
217.endif
218SUBDIR.${MK_HESIOD}+=	hesinfo
219SUBDIR.${MK_ICONV}+=	iconv
220SUBDIR.${MK_ICONV}+=	mkcsmapper
221SUBDIR.${MK_ICONV}+=	mkesdb
222SUBDIR.${MK_ISCSI}+=	iscsictl
223SUBDIR.${MK_KDUMP}+=	kdump
224SUBDIR.${MK_KDUMP}+=	truss
225SUBDIR.${MK_KERBEROS_SUPPORT}+=	compile_et
226SUBDIR.${MK_LDNS_UTILS}+=	drill
227SUBDIR.${MK_LDNS_UTILS}+=	host
228SUBDIR.${MK_LIB32}+=	ldd32
229SUBDIR.${MK_LOCATE}+=	locate
230# XXX msgs?
231SUBDIR.${MK_MAIL}+=	biff
232SUBDIR.${MK_MAIL}+=	from
233SUBDIR.${MK_MAIL}+=	mail
234SUBDIR.${MK_MAIL}+=	msgs
235SUBDIR.${MK_MAKE}+=	bmake
236SUBDIR.${MK_MAN_UTILS}+=	man
237SUBDIR.${MK_NETCAT}+=	nc
238SUBDIR.${MK_NIS}+=	ypcat
239SUBDIR.${MK_NIS}+=	ypmatch
240SUBDIR.${MK_NIS}+=	ypwhich
241SUBDIR.${MK_OPENSSH}+=	ssh-copy-id
242SUBDIR.${MK_OPENSSL}+=	chkey
243SUBDIR.${MK_OPENSSL}+=	newkey
244SUBDIR.${MK_QUOTAS}+=	quota
245SUBDIR.${MK_SENDMAIL}+=	vacation
246SUBDIR.${MK_TALK}+=	talk
247SUBDIR.${MK_TELNET}+=	telnet
248SUBDIR.${MK_TESTS_SUPPORT}+=	kyua
249SUBDIR.${MK_TESTS}+=	tests
250SUBDIR.${MK_TEXTPROC}+=	ul
251SUBDIR.${MK_TFTP}+=	tftp
252.if ${MK_LLVM_BINUTILS} == "no"
253# Only build the elftoolchain tools if we aren't using the LLVM ones.
254SUBDIR.${MK_TOOLCHAIN}+=	addr2line
255SUBDIR.${MK_TOOLCHAIN}+=	ar
256SUBDIR.${MK_TOOLCHAIN}+=	nm
257SUBDIR.${MK_TOOLCHAIN}+=	objcopy
258SUBDIR.${MK_TOOLCHAIN}+=	readelf
259SUBDIR.${MK_TOOLCHAIN}+=	size
260SUBDIR+=			strings
261.endif
262SUBDIR.${MK_TOOLCHAIN}+=	c89
263SUBDIR.${MK_TOOLCHAIN}+=	c99
264SUBDIR.${MK_TOOLCHAIN}+=	ctags
265.if ${MK_LLVM_CXXFILT} == "no"
266SUBDIR.${MK_TOOLCHAIN}+=	cxxfilt
267.endif
268SUBDIR.${MK_TOOLCHAIN}+=	file2c
269SUBDIR.${MK_TOOLCHAIN}+=	gprof
270SUBDIR.${MK_TOOLCHAIN}+=	indent
271SUBDIR.${MK_TOOLCHAIN}+=	lex
272SUBDIR.${MK_TOOLCHAIN}+=	mkstr
273SUBDIR.${MK_TOOLCHAIN}+=	rpcgen
274SUBDIR.${MK_TOOLCHAIN}+=	unifdef
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
282SUBDIR.${MK_UTMPX}+=	users
283SUBDIR.${MK_UTMPX}+=	who
284SUBDIR.${MK_OFED}+=	ofed
285
286.include <bsd.arch.inc.mk>
287
288SUBDIR_PARALLEL=
289
290.include <bsd.subdir.mk>
291