xref: /freebsd/usr.bin/Makefile (revision 058ac3e8063366dafa634d9107642e12b038bf09)
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	pagesize \
110	passwd \
111	paste \
112	patch \
113	pathchk \
114	perror \
115	posixshmcontrol \
116	pr \
117	printenv \
118	printf \
119	proccontrol \
120	procstat \
121	protect \
122	rctl \
123	renice \
124	resizewin \
125	rev \
126	revoke \
127	rpcinfo \
128	rup \
129	ruptime \
130	rusers \
131	rwall \
132	rwho \
133	script \
134	sdiff \
135	sed \
136	seq \
137	shar \
138	showmount \
139	sockstat \
140	soelim \
141	sort \
142	split \
143	stat \
144	stdbuf \
145	strings \
146	su \
147	systat \
148	tail \
149	tar \
150	tcopy \
151	tee \
152	time \
153	timeout \
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_ATM}+=	atm
192SUBDIR.${MK_BLUETOOTH}+=	bluetooth
193SUBDIR.${MK_BSD_CPIO}+=	cpio
194SUBDIR.${MK_CALENDAR}+=	calendar
195.if ${MK_CLANG} != "no" || ${MK_LLVM_BINUTILS} != "no" || \
196    ${MK_LLD} != "no" || ${MK_LLDB} != "no"
197SUBDIR+=	clang
198.endif
199SUBDIR.${MK_DIALOG}+=	dpv
200SUBDIR.${MK_EE}+=	ee
201SUBDIR.${MK_FILE}+=	file
202SUBDIR.${MK_FINGER}+=	finger
203SUBDIR.${MK_FTP}+=	ftp
204SUBDIR.${MK_GAMES}+=	caesar
205SUBDIR.${MK_GAMES}+=	factor
206SUBDIR.${MK_GAMES}+=	fortune
207SUBDIR.${MK_GAMES}+=	grdc
208SUBDIR.${MK_GAMES}+=	morse
209SUBDIR.${MK_GAMES}+=	number
210SUBDIR.${MK_GAMES}+=	pom
211SUBDIR.${MK_GAMES}+=	primes
212SUBDIR.${MK_GAMES}+=	random
213SUBDIR.${MK_CXX}+=	dtc
214SUBDIR.${MK_CXX}+=	rs
215.if ${MK_GH_BC} == "yes"
216SUBDIR+=		gh-bc
217.else
218SUBDIR.${MK_OPENSSL}+=	bc
219SUBDIR.${MK_OPENSSL}+=	dc
220.endif
221SUBDIR.${MK_HESIOD}+=	hesinfo
222SUBDIR.${MK_ICONV}+=	iconv
223SUBDIR.${MK_ICONV}+=	mkcsmapper
224SUBDIR.${MK_ICONV}+=	mkesdb
225SUBDIR.${MK_ISCSI}+=	iscsictl
226SUBDIR.${MK_KDUMP}+=	kdump
227SUBDIR.${MK_KDUMP}+=	truss
228SUBDIR.${MK_KERBEROS_SUPPORT}+=	compile_et
229SUBDIR.${MK_LDNS_UTILS}+=	drill
230SUBDIR.${MK_LDNS_UTILS}+=	host
231SUBDIR.${MK_LIB32}+=	ldd32
232SUBDIR.${MK_LOCATE}+=	locate
233# XXX msgs?
234SUBDIR.${MK_MAIL}+=	biff
235SUBDIR.${MK_MAIL}+=	from
236SUBDIR.${MK_MAIL}+=	mail
237SUBDIR.${MK_MAIL}+=	msgs
238SUBDIR.${MK_MAKE}+=	bmake
239SUBDIR.${MK_MAN_UTILS}+=	man
240SUBDIR.${MK_NETCAT}+=	nc
241SUBDIR.${MK_NIS}+=	ypcat
242SUBDIR.${MK_NIS}+=	ypmatch
243SUBDIR.${MK_NIS}+=	ypwhich
244SUBDIR.${MK_OPENSSH}+=	ssh-copy-id
245SUBDIR.${MK_OPENSSL}+=	chkey
246SUBDIR.${MK_OPENSSL}+=	newkey
247SUBDIR.${MK_QUOTAS}+=	quota
248SUBDIR.${MK_SENDMAIL}+=	vacation
249SUBDIR.${MK_TALK}+=	talk
250SUBDIR.${MK_TELNET}+=	telnet
251SUBDIR.${MK_TESTS_SUPPORT}.${MK_CXX}+=	kyua
252SUBDIR.${MK_TESTS}+=	tests
253SUBDIR.${MK_TEXTPROC}+=	ul
254SUBDIR.${MK_TFTP}+=	tftp
255.if ${MK_LLVM_BINUTILS} == "no"
256# Only build the elftoolchain tools if we aren't using the LLVM ones.
257SUBDIR.${MK_TOOLCHAIN}+=	addr2line
258SUBDIR.${MK_TOOLCHAIN}+=	ar
259SUBDIR.${MK_TOOLCHAIN}+=	nm
260SUBDIR.${MK_TOOLCHAIN}+=	objcopy
261SUBDIR.${MK_TOOLCHAIN}+=	readelf
262SUBDIR.${MK_TOOLCHAIN}+=	size
263.endif
264SUBDIR.${MK_TOOLCHAIN}+=	c89
265SUBDIR.${MK_TOOLCHAIN}+=	c99
266SUBDIR.${MK_TOOLCHAIN}+=	ctags
267.if ${MK_LLVM_CXXFILT} == "no"
268SUBDIR.${MK_TOOLCHAIN}+=	cxxfilt
269.endif
270SUBDIR.${MK_TOOLCHAIN}+=	file2c
271SUBDIR.${MK_TOOLCHAIN}+=	gprof
272SUBDIR.${MK_TOOLCHAIN}+=	indent
273SUBDIR.${MK_TOOLCHAIN}+=	lex
274SUBDIR.${MK_TOOLCHAIN}+=	mkstr
275SUBDIR.${MK_TOOLCHAIN}+=	rpcgen
276SUBDIR.${MK_TOOLCHAIN}+=	unifdef
277SUBDIR.${MK_TOOLCHAIN}+=	xstr
278SUBDIR.${MK_TOOLCHAIN}+=	yacc
279SUBDIR.${MK_VI}+=	vi
280SUBDIR.${MK_VT}+=	vtfontcvt
281SUBDIR.${MK_USB}+=	usbhidaction
282SUBDIR.${MK_USB}+=	usbhidctl
283SUBDIR.${MK_UTMPX}+=	last
284.if ${MK_CXX} != "no"
285SUBDIR.${MK_UTMPX}+=	users
286.endif
287SUBDIR.${MK_UTMPX}+=	who
288SUBDIR.${MK_OFED}+=	ofed
289
290.include <bsd.arch.inc.mk>
291
292SUBDIR_PARALLEL=
293
294.include <bsd.subdir.mk>
295