xref: /freebsd/usr.bin/Makefile (revision d9a42747950146bf03cda7f6e25d219253f8a57a)
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_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
213.if ${MK_GH_BC} == "yes"
214SUBDIR+=		gh-bc
215.else
216SUBDIR.${MK_OPENSSL}+=	bc
217SUBDIR.${MK_OPENSSL}+=	dc
218.endif
219SUBDIR.${MK_HESIOD}+=	hesinfo
220SUBDIR.${MK_ICONV}+=	iconv
221SUBDIR.${MK_ICONV}+=	mkcsmapper
222SUBDIR.${MK_ICONV}+=	mkesdb
223SUBDIR.${MK_ISCSI}+=	iscsictl
224SUBDIR.${MK_KDUMP}+=	kdump
225SUBDIR.${MK_KDUMP}+=	truss
226SUBDIR.${MK_KERBEROS_SUPPORT}+=	compile_et
227SUBDIR.${MK_LDNS_UTILS}+=	drill
228SUBDIR.${MK_LDNS_UTILS}+=	host
229SUBDIR.${MK_LIB32}+=	ldd32
230SUBDIR.${MK_LOCATE}+=	locate
231# XXX msgs?
232SUBDIR.${MK_MAIL}+=	biff
233SUBDIR.${MK_MAIL}+=	from
234SUBDIR.${MK_MAIL}+=	mail
235SUBDIR.${MK_MAIL}+=	msgs
236SUBDIR.${MK_MAKE}+=	bmake
237SUBDIR.${MK_MAN_UTILS}+=	man
238SUBDIR.${MK_NETCAT}+=	nc
239SUBDIR.${MK_NIS}+=	ypcat
240SUBDIR.${MK_NIS}+=	ypmatch
241SUBDIR.${MK_NIS}+=	ypwhich
242SUBDIR.${MK_OPENSSH}+=	ssh-copy-id
243SUBDIR.${MK_OPENSSL}+=	chkey
244SUBDIR.${MK_OPENSSL}+=	newkey
245SUBDIR.${MK_QUOTAS}+=	quota
246SUBDIR.${MK_SENDMAIL}+=	vacation
247SUBDIR.${MK_TALK}+=	talk
248SUBDIR.${MK_TELNET}+=	telnet
249SUBDIR.${MK_TESTS_SUPPORT}+=	kyua
250SUBDIR.${MK_TESTS}+=	tests
251SUBDIR.${MK_TEXTPROC}+=	ul
252SUBDIR.${MK_TFTP}+=	tftp
253.if ${MK_LLVM_BINUTILS} == "no"
254# Only build the elftoolchain tools if we aren't using the LLVM ones.
255SUBDIR.${MK_TOOLCHAIN}+=	addr2line
256SUBDIR.${MK_TOOLCHAIN}+=	ar
257SUBDIR.${MK_TOOLCHAIN}+=	nm
258SUBDIR.${MK_TOOLCHAIN}+=	objcopy
259SUBDIR.${MK_TOOLCHAIN}+=	readelf
260SUBDIR.${MK_TOOLCHAIN}+=	size
261.endif
262SUBDIR.${MK_TOOLCHAIN}+=	c89
263SUBDIR.${MK_TOOLCHAIN}+=	c99
264SUBDIR.${MK_TOOLCHAIN}+=	ctags
265.if ${MK_LLVM_CXXFILT} == "no"
266SUBDIR.${MK_TOOLCHAIN}+=	cxxfilt
267.endif
268SUBDIR.${MK_TOOLCHAIN}+=	file2c
269SUBDIR.${MK_TOOLCHAIN}+=	gprof
270SUBDIR.${MK_TOOLCHAIN}+=	indent
271SUBDIR.${MK_TOOLCHAIN}+=	lex
272SUBDIR.${MK_TOOLCHAIN}+=	mkstr
273SUBDIR.${MK_TOOLCHAIN}+=	rpcgen
274SUBDIR.${MK_TOOLCHAIN}+=	unifdef
275SUBDIR.${MK_TOOLCHAIN}+=	xstr
276SUBDIR.${MK_TOOLCHAIN}+=	yacc
277SUBDIR.${MK_VI}+=	vi
278SUBDIR.${MK_VT}+=	vtfontcvt
279SUBDIR.${MK_USB}+=	usbhidaction
280SUBDIR.${MK_USB}+=	usbhidctl
281SUBDIR.${MK_UTMPX}+=	last
282SUBDIR.${MK_UTMPX}+=	users
283SUBDIR.${MK_UTMPX}+=	who
284SUBDIR.${MK_OFED}+=	ofed
285
286.include <bsd.arch.inc.mk>
287
288SUBDIR_PARALLEL=
289
290.include <bsd.subdir.mk>
291