xref: /freebsd/usr.bin/Makefile (revision 81ad626541db97eb356e2c1d4a20eb2a26a766ab)
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	strings \
148	su \
149	systat \
150	tail \
151	tar \
152	tcopy \
153	tee \
154	time \
155	tip \
156	top \
157	touch \
158	tr \
159	true \
160	truncate \
161	tsort \
162	tty \
163	uname \
164	unexpand \
165	uniq \
166	unzip \
167	units \
168	unvis \
169	vis \
170	vmstat \
171	w \
172	wall \
173	wc \
174	wg \
175	what \
176	whereis \
177	which \
178	whois \
179	write \
180	xargs \
181	xinstall \
182	xo \
183	xz \
184	xzdec \
185	yes \
186	zstd
187
188# NB: keep these sorted by MK_* knobs
189
190SUBDIR.${MK_ACCT}+=	lastcomm
191SUBDIR.${MK_AT}+=	at
192SUBDIR.${MK_ATM}+=	atm
193SUBDIR.${MK_BLUETOOTH}+=	bluetooth
194SUBDIR.${MK_BSD_CPIO}+=	cpio
195SUBDIR.${MK_CALENDAR}+=	calendar
196.if ${MK_CLANG} != "no" || ${MK_LLVM_BINUTILS} != "no" || \
197    ${MK_LLD} != "no" || ${MK_LLDB} != "no"
198SUBDIR+=	clang
199.endif
200SUBDIR.${MK_DIALOG}+=	dpv
201SUBDIR.${MK_EE}+=	ee
202SUBDIR.${MK_FILE}+=	file
203SUBDIR.${MK_FINGER}+=	finger
204SUBDIR.${MK_FTP}+=	ftp
205SUBDIR.${MK_GAMES}+=	caesar
206SUBDIR.${MK_GAMES}+=	factor
207SUBDIR.${MK_GAMES}+=	fortune
208SUBDIR.${MK_GAMES}+=	grdc
209SUBDIR.${MK_GAMES}+=	morse
210SUBDIR.${MK_GAMES}+=	number
211SUBDIR.${MK_GAMES}+=	pom
212SUBDIR.${MK_GAMES}+=	primes
213SUBDIR.${MK_GAMES}+=	random
214.if ${MK_GH_BC} == "yes"
215SUBDIR+=		gh-bc
216.else
217SUBDIR.${MK_OPENSSL}+=	bc
218SUBDIR.${MK_OPENSSL}+=	dc
219.endif
220SUBDIR.${MK_HESIOD}+=	hesinfo
221SUBDIR.${MK_ICONV}+=	iconv
222SUBDIR.${MK_ICONV}+=	mkcsmapper
223SUBDIR.${MK_ICONV}+=	mkesdb
224SUBDIR.${MK_ISCSI}+=	iscsictl
225SUBDIR.${MK_KDUMP}+=	kdump
226SUBDIR.${MK_KDUMP}+=	truss
227SUBDIR.${MK_KERBEROS_SUPPORT}+=	compile_et
228SUBDIR.${MK_LDNS_UTILS}+=	drill
229SUBDIR.${MK_LDNS_UTILS}+=	host
230SUBDIR.${MK_LIB32}+=	ldd32
231SUBDIR.${MK_LOCATE}+=	locate
232# XXX msgs?
233SUBDIR.${MK_MAIL}+=	biff
234SUBDIR.${MK_MAIL}+=	from
235SUBDIR.${MK_MAIL}+=	mail
236SUBDIR.${MK_MAIL}+=	msgs
237SUBDIR.${MK_MAKE}+=	bmake
238SUBDIR.${MK_MAN_UTILS}+=	man
239SUBDIR.${MK_NETCAT}+=	nc
240SUBDIR.${MK_NIS}+=	ypcat
241SUBDIR.${MK_NIS}+=	ypmatch
242SUBDIR.${MK_NIS}+=	ypwhich
243SUBDIR.${MK_OPENSSH}+=	ssh-copy-id
244SUBDIR.${MK_OPENSSL}+=	chkey
245SUBDIR.${MK_OPENSSL}+=	newkey
246SUBDIR.${MK_QUOTAS}+=	quota
247SUBDIR.${MK_SENDMAIL}+=	vacation
248SUBDIR.${MK_TALK}+=	talk
249SUBDIR.${MK_TELNET}+=	telnet
250SUBDIR.${MK_TESTS_SUPPORT}+=	kyua
251SUBDIR.${MK_TESTS}+=	tests
252SUBDIR.${MK_TEXTPROC}+=	ul
253SUBDIR.${MK_TFTP}+=	tftp
254.if ${MK_LLVM_BINUTILS} == "no"
255# Only build the elftoolchain tools if we aren't using the LLVM ones.
256SUBDIR.${MK_TOOLCHAIN}+=	addr2line
257SUBDIR.${MK_TOOLCHAIN}+=	ar
258SUBDIR.${MK_TOOLCHAIN}+=	nm
259SUBDIR.${MK_TOOLCHAIN}+=	objcopy
260SUBDIR.${MK_TOOLCHAIN}+=	readelf
261SUBDIR.${MK_TOOLCHAIN}+=	size
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