xref: /freebsd/usr.bin/Makefile (revision cab6a39d7b343596a5823e65c0f7b426551ec22d)
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	brandelf \
14	bsdcat \
15	bsdiff \
16	bzip2 \
17	bzip2recover \
18	cap_mkdb \
19	chat \
20	chpass \
21	cksum \
22	cmp \
23	col \
24	colrm \
25	column \
26	comm \
27	compress \
28	cpuset \
29	csplit \
30	ctlstat \
31	cut \
32	diff \
33	dirname \
34	du \
35	elfctl \
36	elfdump \
37	enigma \
38	env \
39	etdump \
40	expand \
41	false \
42	fetch \
43	find \
44	fmt \
45	fold \
46	fstat \
47	fsync \
48	gcore \
49	gencat \
50	getaddrinfo \
51	getconf \
52	getent \
53	getopt \
54	grep \
55	gzip \
56	head \
57	hexdump \
58	id \
59	ident \
60	ipcrm \
61	ipcs \
62	join \
63	jot \
64	keylogin \
65	keylogout \
66	killall \
67	ktrace \
68	ktrdump \
69	lam \
70	ldd \
71	leave \
72	less \
73	lessecho \
74	lesskey \
75	limits \
76	locale \
77	localedef \
78	lock \
79	lockf \
80	logger \
81	login \
82	logins \
83	logname \
84	look \
85	lorder \
86	lsvfs \
87	lzmainfo \
88	m4 \
89	mandoc \
90	mesg \
91	minigzip \
92	ministat \
93	mkdep \
94	mkfifo \
95	mkimg \
96	mktemp \
97	mkuzip \
98	mt \
99	ncal \
100	ncurses \
101	netstat \
102	newgrp \
103	nfsstat \
104	nice \
105	nl \
106	nohup \
107	opieinfo \
108	opiekey \
109	opiepasswd \
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	timeout \
156	tip \
157	top \
158	touch \
159	tr \
160	true \
161	truncate \
162	tsort \
163	tty \
164	uname \
165	unexpand \
166	uniq \
167	unzip \
168	units \
169	unvis \
170	uudecode \
171	uuencode \
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