xref: /freebsd/usr.bin/Makefile (revision c7046f76c2c027b00c0e6ba57cfd28f1a78f5e23)
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	du \
38	elfctl \
39	elfdump \
40	enigma \
41	env \
42	etdump \
43	expand \
44	false \
45	fetch \
46	find \
47	fmt \
48	fold \
49	fstat \
50	fsync \
51	gcore \
52	gencat \
53	getaddrinfo \
54	getconf \
55	getent \
56	getopt \
57	grep \
58	gzip \
59	head \
60	hexdump \
61	id \
62	ident \
63	ipcrm \
64	ipcs \
65	join \
66	jot \
67	keylogin \
68	keylogout \
69	killall \
70	ktrace \
71	ktrdump \
72	lam \
73	ldd \
74	leave \
75	less \
76	lessecho \
77	lesskey \
78	limits \
79	locale \
80	localedef \
81	lock \
82	lockf \
83	logger \
84	login \
85	logins \
86	logname \
87	look \
88	lorder \
89	lsvfs \
90	lzmainfo \
91	m4 \
92	mandoc \
93	mesg \
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	vis \
173	vmstat \
174	w \
175	wall \
176	wc \
177	what \
178	whereis \
179	which \
180	whois \
181	write \
182	xargs \
183	xinstall \
184	xo \
185	xz \
186	xzdec \
187	yes \
188	zstd
189
190# NB: keep these sorted by MK_* knobs
191
192SUBDIR.${MK_ACCT}+=	lastcomm
193SUBDIR.${MK_AT}+=	at
194SUBDIR.${MK_ATM}+=	atm
195SUBDIR.${MK_BLUETOOTH}+=	bluetooth
196SUBDIR.${MK_BSD_CPIO}+=	cpio
197SUBDIR.${MK_CALENDAR}+=	calendar
198.if ${MK_CLANG} != "no" || ${MK_LLVM_BINUTILS} != "no" || \
199    ${MK_LLD} != "no" || ${MK_LLDB} != "no"
200SUBDIR+=	clang
201.endif
202SUBDIR.${MK_DIALOG}+=	dpv
203SUBDIR.${MK_EE}+=	ee
204SUBDIR.${MK_FILE}+=	file
205SUBDIR.${MK_FINGER}+=	finger
206SUBDIR.${MK_FTP}+=	ftp
207SUBDIR.${MK_GAMES}+=	caesar
208SUBDIR.${MK_GAMES}+=	factor
209SUBDIR.${MK_GAMES}+=	fortune
210SUBDIR.${MK_GAMES}+=	grdc
211SUBDIR.${MK_GAMES}+=	morse
212SUBDIR.${MK_GAMES}+=	number
213SUBDIR.${MK_GAMES}+=	pom
214SUBDIR.${MK_GAMES}+=	primes
215SUBDIR.${MK_GAMES}+=	random
216SUBDIR.${MK_CXX}+=	dtc
217.if ${MK_GH_BC} == "yes"
218SUBDIR+=		gh-bc
219.else
220SUBDIR.${MK_OPENSSL}+=	bc
221SUBDIR.${MK_OPENSSL}+=	dc
222.endif
223SUBDIR.${MK_HESIOD}+=	hesinfo
224SUBDIR.${MK_ICONV}+=	iconv
225SUBDIR.${MK_ICONV}+=	mkcsmapper
226SUBDIR.${MK_ICONV}+=	mkesdb
227SUBDIR.${MK_ISCSI}+=	iscsictl
228SUBDIR.${MK_KDUMP}+=	kdump
229SUBDIR.${MK_KDUMP}+=	truss
230SUBDIR.${MK_KERBEROS_SUPPORT}+=	compile_et
231SUBDIR.${MK_LDNS_UTILS}+=	drill
232SUBDIR.${MK_LDNS_UTILS}+=	host
233SUBDIR.${MK_LIB32}+=	ldd32
234SUBDIR.${MK_LOCATE}+=	locate
235# XXX msgs?
236SUBDIR.${MK_MAIL}+=	biff
237SUBDIR.${MK_MAIL}+=	from
238SUBDIR.${MK_MAIL}+=	mail
239SUBDIR.${MK_MAIL}+=	msgs
240SUBDIR.${MK_MAKE}+=	bmake
241SUBDIR.${MK_MAN_UTILS}+=	man
242SUBDIR.${MK_NETCAT}+=	nc
243SUBDIR.${MK_NIS}+=	ypcat
244SUBDIR.${MK_NIS}+=	ypmatch
245SUBDIR.${MK_NIS}+=	ypwhich
246SUBDIR.${MK_OPENSSH}+=	ssh-copy-id
247SUBDIR.${MK_OPENSSL}+=	chkey
248SUBDIR.${MK_OPENSSL}+=	newkey
249SUBDIR.${MK_QUOTAS}+=	quota
250SUBDIR.${MK_SENDMAIL}+=	vacation
251SUBDIR.${MK_TALK}+=	talk
252SUBDIR.${MK_TELNET}+=	telnet
253SUBDIR.${MK_TESTS_SUPPORT}.${MK_CXX}+=	kyua
254SUBDIR.${MK_TESTS}+=	tests
255SUBDIR.${MK_TEXTPROC}+=	ul
256SUBDIR.${MK_TFTP}+=	tftp
257.if ${MK_LLVM_BINUTILS} == "no"
258# Only build the elftoolchain tools if we aren't using the LLVM ones.
259SUBDIR.${MK_TOOLCHAIN}+=	addr2line
260SUBDIR.${MK_TOOLCHAIN}+=	ar
261SUBDIR.${MK_TOOLCHAIN}+=	nm
262SUBDIR.${MK_TOOLCHAIN}+=	objcopy
263SUBDIR.${MK_TOOLCHAIN}+=	readelf
264SUBDIR.${MK_TOOLCHAIN}+=	size
265.endif
266SUBDIR.${MK_TOOLCHAIN}+=	c89
267SUBDIR.${MK_TOOLCHAIN}+=	c99
268SUBDIR.${MK_TOOLCHAIN}+=	ctags
269.if ${MK_LLVM_CXXFILT} == "no"
270SUBDIR.${MK_TOOLCHAIN}+=	cxxfilt
271.endif
272SUBDIR.${MK_TOOLCHAIN}+=	file2c
273SUBDIR.${MK_TOOLCHAIN}+=	gprof
274SUBDIR.${MK_TOOLCHAIN}+=	indent
275SUBDIR.${MK_TOOLCHAIN}+=	lex
276SUBDIR.${MK_TOOLCHAIN}+=	mkstr
277SUBDIR.${MK_TOOLCHAIN}+=	rpcgen
278SUBDIR.${MK_TOOLCHAIN}+=	unifdef
279SUBDIR.${MK_TOOLCHAIN}+=	xstr
280SUBDIR.${MK_TOOLCHAIN}+=	yacc
281SUBDIR.${MK_VI}+=	vi
282SUBDIR.${MK_VT}+=	vtfontcvt
283SUBDIR.${MK_USB}+=	usbhidaction
284SUBDIR.${MK_USB}+=	usbhidctl
285SUBDIR.${MK_UTMPX}+=	last
286.if ${MK_CXX} != "no"
287SUBDIR.${MK_UTMPX}+=	users
288.endif
289SUBDIR.${MK_UTMPX}+=	who
290SUBDIR.${MK_OFED}+=	ofed
291
292.include <bsd.arch.inc.mk>
293
294SUBDIR_PARALLEL=
295
296.include <bsd.subdir.mk>
297