xref: /freebsd/usr.bin/Makefile (revision ba3c1f5972d7b90feb6e6da47905ff2757e0fe57)
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_NETLINK}+=	genl
239SUBDIR.${MK_NIS}+=	ypcat
240SUBDIR.${MK_NIS}+=	ypmatch
241SUBDIR.${MK_NIS}+=	ypwhich
242SUBDIR.${MK_OPENSSH}+=	ssh-copy-id
243SUBDIR.${MK_OPENSSL}+=	chkey
244SUBDIR.${MK_OPENSSL}+=	newkey
245SUBDIR.${MK_QUOTAS}+=	quota
246SUBDIR.${MK_SENDMAIL}+=	vacation
247SUBDIR.${MK_TALK}+=	talk
248SUBDIR.${MK_TELNET}+=	telnet
249SUBDIR.${MK_TESTS_SUPPORT}+=	kyua
250SUBDIR.${MK_TESTS}+=	tests
251SUBDIR.${MK_TEXTPROC}+=	ul
252SUBDIR.${MK_TFTP}+=	tftp
253.if ${MK_LLVM_BINUTILS} == "no"
254# Only build the elftoolchain tools if we aren't using the LLVM ones.
255SUBDIR.${MK_TOOLCHAIN}+=	addr2line
256SUBDIR.${MK_TOOLCHAIN}+=	ar
257SUBDIR.${MK_TOOLCHAIN}+=	nm
258SUBDIR.${MK_TOOLCHAIN}+=	objcopy
259SUBDIR.${MK_TOOLCHAIN}+=	readelf
260SUBDIR.${MK_TOOLCHAIN}+=	size
261SUBDIR+=			strings
262.endif
263SUBDIR.${MK_TOOLCHAIN}+=	c89
264SUBDIR.${MK_TOOLCHAIN}+=	c99
265SUBDIR.${MK_TOOLCHAIN}+=	ctags
266.if ${MK_LLVM_CXXFILT} == "no"
267SUBDIR.${MK_TOOLCHAIN}+=	cxxfilt
268.endif
269SUBDIR.${MK_TOOLCHAIN}+=	file2c
270SUBDIR.${MK_TOOLCHAIN}+=	gprof
271SUBDIR.${MK_TOOLCHAIN}+=	indent
272SUBDIR.${MK_TOOLCHAIN}+=	lex
273SUBDIR.${MK_TOOLCHAIN}+=	mkstr
274SUBDIR.${MK_TOOLCHAIN}+=	rpcgen
275SUBDIR.${MK_TOOLCHAIN}+=	unifdef
276SUBDIR.${MK_TOOLCHAIN}+=	xstr
277SUBDIR.${MK_TOOLCHAIN}+=	yacc
278SUBDIR.${MK_VI}+=	vi
279SUBDIR.${MK_VT}+=	vtfontcvt
280SUBDIR.${MK_USB}+=	usbhidaction
281SUBDIR.${MK_USB}+=	usbhidctl
282SUBDIR.${MK_UTMPX}+=	last
283SUBDIR.${MK_UTMPX}+=	users
284SUBDIR.${MK_UTMPX}+=	who
285SUBDIR.${MK_OFED}+=	ofed
286
287.include <bsd.arch.inc.mk>
288
289SUBDIR_PARALLEL=
290
291.include <bsd.subdir.mk>
292