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