xref: /freebsd/usr.bin/Makefile (revision b93f47eaeef75b2b99fc1c501fb7cffac34068c7)
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	brandelf \
15	bsdcat \
16	bsddialog \
17	bsdiff \
18	bzip2 \
19	bzip2recover \
20	cap_mkdb \
21	chat \
22	chpass \
23	cksum \
24	cmp \
25	col \
26	colrm \
27	column \
28	comm \
29	compress \
30	cpuset \
31	csplit \
32	ctlstat \
33	cut \
34	diff \
35	dirname \
36	du \
37	elfctl \
38	elfdump \
39	enigma \
40	env \
41	etdump \
42	expand \
43	false \
44	fetch \
45	find \
46	fmt \
47	fold \
48	fstat \
49	fsync \
50	gcore \
51	gencat \
52	getaddrinfo \
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	ldd \
73	leave \
74	less \
75	lessecho \
76	lesskey \
77	limits \
78	locale \
79	localedef \
80	lock \
81	lockf \
82	logger \
83	login \
84	logins \
85	logname \
86	look \
87	lorder \
88	lsvfs \
89	lzmainfo \
90	m4 \
91	mandoc \
92	mesg \
93	minigzip \
94	ministat \
95	mkdep \
96	mkfifo \
97	mkimg \
98	mktemp \
99	mkuzip \
100	mt \
101	ncal \
102	ncurses \
103	netstat \
104	newgrp \
105	nfsstat \
106	nice \
107	nl \
108	nohup \
109	opieinfo \
110	opiekey \
111	opiepasswd \
112	pagesize \
113	passwd \
114	paste \
115	patch \
116	pathchk \
117	perror \
118	posixshmcontrol \
119	pr \
120	printenv \
121	printf \
122	proccontrol \
123	procstat \
124	protect \
125	rctl \
126	renice \
127	resizewin \
128	rev \
129	revoke \
130	rpcinfo \
131	rs \
132	rup \
133	ruptime \
134	rusers \
135	rwall \
136	rwho \
137	script \
138	sdiff \
139	sed \
140	seq \
141	shar \
142	showmount \
143	sockstat \
144	soelim \
145	sort \
146	split \
147	stat \
148	stdbuf \
149	strings \
150	su \
151	systat \
152	tail \
153	tar \
154	tcopy \
155	tee \
156	time \
157	timeout \
158	tip \
159	top \
160	touch \
161	tr \
162	true \
163	truncate \
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	zstd
191
192# NB: keep these sorted by MK_* knobs
193
194SUBDIR.${MK_ACCT}+=	lastcomm
195SUBDIR.${MK_AT}+=	at
196SUBDIR.${MK_ATM}+=	atm
197SUBDIR.${MK_BLUETOOTH}+=	bluetooth
198SUBDIR.${MK_BSD_CPIO}+=	cpio
199SUBDIR.${MK_CALENDAR}+=	calendar
200.if ${MK_CLANG} != "no" || ${MK_LLVM_BINUTILS} != "no" || \
201    ${MK_LLD} != "no" || ${MK_LLDB} != "no"
202SUBDIR+=	clang
203.endif
204SUBDIR.${MK_DIALOG}+=	dpv
205SUBDIR.${MK_EE}+=	ee
206SUBDIR.${MK_FILE}+=	file
207SUBDIR.${MK_FINGER}+=	finger
208SUBDIR.${MK_FTP}+=	ftp
209SUBDIR.${MK_GAMES}+=	caesar
210SUBDIR.${MK_GAMES}+=	factor
211SUBDIR.${MK_GAMES}+=	fortune
212SUBDIR.${MK_GAMES}+=	grdc
213SUBDIR.${MK_GAMES}+=	morse
214SUBDIR.${MK_GAMES}+=	number
215SUBDIR.${MK_GAMES}+=	pom
216SUBDIR.${MK_GAMES}+=	primes
217SUBDIR.${MK_GAMES}+=	random
218SUBDIR.${MK_CXX}+=	dtc
219.if ${MK_GH_BC} == "yes"
220SUBDIR+=		gh-bc
221.else
222SUBDIR.${MK_OPENSSL}+=	bc
223SUBDIR.${MK_OPENSSL}+=	dc
224.endif
225SUBDIR.${MK_HESIOD}+=	hesinfo
226SUBDIR.${MK_ICONV}+=	iconv
227SUBDIR.${MK_ICONV}+=	mkcsmapper
228SUBDIR.${MK_ICONV}+=	mkesdb
229SUBDIR.${MK_ISCSI}+=	iscsictl
230SUBDIR.${MK_KDUMP}+=	kdump
231SUBDIR.${MK_KDUMP}+=	truss
232SUBDIR.${MK_KERBEROS_SUPPORT}+=	compile_et
233SUBDIR.${MK_LDNS_UTILS}+=	drill
234SUBDIR.${MK_LDNS_UTILS}+=	host
235SUBDIR.${MK_LIB32}+=	ldd32
236SUBDIR.${MK_LOCATE}+=	locate
237# XXX msgs?
238SUBDIR.${MK_MAIL}+=	biff
239SUBDIR.${MK_MAIL}+=	from
240SUBDIR.${MK_MAIL}+=	mail
241SUBDIR.${MK_MAIL}+=	msgs
242SUBDIR.${MK_MAKE}+=	bmake
243SUBDIR.${MK_MAN_UTILS}+=	man
244SUBDIR.${MK_NETCAT}+=	nc
245SUBDIR.${MK_NIS}+=	ypcat
246SUBDIR.${MK_NIS}+=	ypmatch
247SUBDIR.${MK_NIS}+=	ypwhich
248SUBDIR.${MK_OPENSSH}+=	ssh-copy-id
249SUBDIR.${MK_OPENSSL}+=	chkey
250SUBDIR.${MK_OPENSSL}+=	newkey
251SUBDIR.${MK_QUOTAS}+=	quota
252SUBDIR.${MK_SENDMAIL}+=	vacation
253SUBDIR.${MK_TALK}+=	talk
254SUBDIR.${MK_TELNET}+=	telnet
255SUBDIR.${MK_TESTS_SUPPORT}.${MK_CXX}+=	kyua
256SUBDIR.${MK_TESTS}+=	tests
257SUBDIR.${MK_TEXTPROC}+=	ul
258SUBDIR.${MK_TFTP}+=	tftp
259.if ${MK_LLVM_BINUTILS} == "no"
260# Only build the elftoolchain tools if we aren't using the LLVM ones.
261SUBDIR.${MK_TOOLCHAIN}+=	addr2line
262SUBDIR.${MK_TOOLCHAIN}+=	ar
263SUBDIR.${MK_TOOLCHAIN}+=	nm
264SUBDIR.${MK_TOOLCHAIN}+=	objcopy
265SUBDIR.${MK_TOOLCHAIN}+=	readelf
266SUBDIR.${MK_TOOLCHAIN}+=	size
267.endif
268SUBDIR.${MK_TOOLCHAIN}+=	c89
269SUBDIR.${MK_TOOLCHAIN}+=	c99
270SUBDIR.${MK_TOOLCHAIN}+=	ctags
271.if ${MK_LLVM_CXXFILT} == "no"
272SUBDIR.${MK_TOOLCHAIN}+=	cxxfilt
273.endif
274SUBDIR.${MK_TOOLCHAIN}+=	file2c
275SUBDIR.${MK_TOOLCHAIN}+=	gprof
276SUBDIR.${MK_TOOLCHAIN}+=	indent
277SUBDIR.${MK_TOOLCHAIN}+=	lex
278SUBDIR.${MK_TOOLCHAIN}+=	mkstr
279SUBDIR.${MK_TOOLCHAIN}+=	rpcgen
280SUBDIR.${MK_TOOLCHAIN}+=	unifdef
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
288.if ${MK_CXX} != "no"
289SUBDIR.${MK_UTMPX}+=	users
290.endif
291SUBDIR.${MK_UTMPX}+=	who
292SUBDIR.${MK_OFED}+=	ofed
293
294.include <bsd.arch.inc.mk>
295
296SUBDIR_PARALLEL=
297
298.include <bsd.subdir.mk>
299