xref: /freebsd/usr.bin/Makefile (revision 55141f2c8991b2a6adbf30bb0fe3e6cbc303f06d)
1#	From: @(#)Makefile	8.3 (Berkeley) 1/7/94
2
3.include <src.opts.mk>
4
5SUBDIR=	alias \
6	apply \
7	asa \
8	awk \
9	backlight \
10	banner \
11	basename \
12	beep \
13	bintrans \
14	brandelf \
15	bsdcat \
16	bsddialog \
17	bsdiff \
18	bzip2 \
19	bzip2recover \
20	cap_mkdb \
21	chat \
22	chpass \
23	cksum \
24	cmp \
25	col \
26	colrm \
27	column \
28	comm \
29	compress \
30	csplit \
31	ctlstat \
32	cut \
33	diff \
34	dirname \
35	dtc \
36	du \
37	elfctl \
38	elfdump \
39	enigma \
40	env \
41	etdump \
42	expand \
43	false \
44	fetch \
45	find \
46	fmt \
47	fold \
48	fstat \
49	fsync \
50	gcore \
51	gencat \
52	getaddrinfo \
53	getconf \
54	getent \
55	getopt \
56	grep \
57	gzip \
58	head \
59	hexdump \
60	id \
61	ident \
62	ipcrm \
63	ipcs \
64	join \
65	jot \
66	keylogin \
67	keylogout \
68	killall \
69	ktrace \
70	ktrdump \
71	lam \
72	ldd \
73	leave \
74	less \
75	lessecho \
76	lesskey \
77	limits \
78	locale \
79	localedef \
80	lock \
81	lockf \
82	logger \
83	login \
84	logins \
85	logname \
86	look \
87	lorder \
88	lsvfs \
89	lzmainfo \
90	m4 \
91	mandoc \
92	mesg \
93	ministat \
94	mkdep \
95	mkfifo \
96	mkimg \
97	mktemp \
98	mkuzip \
99	mt \
100	ncal \
101	ncurses \
102	netstat \
103	newgrp \
104	nfsstat \
105	nice \
106	nl \
107	nohup \
108	pagesize \
109	passwd \
110	paste \
111	patch \
112	pathchk \
113	perror \
114	posixshmcontrol \
115	pr \
116	printenv \
117	printf \
118	proccontrol \
119	procstat \
120	protect \
121	rctl \
122	renice \
123	resizewin \
124	rev \
125	revoke \
126	rpcinfo \
127	rs \
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	su \
146	systat \
147	tail \
148	tar \
149	tcopy \
150	tee \
151	time \
152	tip \
153	top \
154	touch \
155	tr \
156	true \
157	truncate \
158	tsort \
159	tty \
160	uname \
161	unexpand \
162	uniq \
163	unzip \
164	units \
165	unvis \
166	vis \
167	vmstat \
168	w \
169	wall \
170	wc \
171	wg \
172	what \
173	whereis \
174	which \
175	whois \
176	write \
177	xargs \
178	xinstall \
179	xo \
180	xz \
181	xzdec \
182	yes \
183	zstd
184
185# NB: keep these sorted by MK_* knobs
186
187SUBDIR.${MK_ACCT}+=	lastcomm
188SUBDIR.${MK_AT}+=	at
189SUBDIR.${MK_BLUETOOTH}+=	bluetooth
190SUBDIR.${MK_BSD_CPIO}+=	cpio
191SUBDIR.${MK_CALENDAR}+=	calendar
192.if ${MK_CLANG} != "no" || ${MK_LLVM_BINUTILS} != "no" || \
193    ${MK_LLD} != "no" || ${MK_LLDB} != "no"
194SUBDIR+=	clang
195.endif
196SUBDIR.${MK_DIALOG}+=	dpv
197SUBDIR.${MK_EE}+=	ee
198SUBDIR.${MK_FILE}+=	file
199SUBDIR.${MK_FINGER}+=	finger
200SUBDIR.${MK_FTP}+=	ftp
201SUBDIR.${MK_GAMES}+=	caesar
202SUBDIR.${MK_GAMES}+=	factor
203SUBDIR.${MK_GAMES}+=	fortune
204SUBDIR.${MK_GAMES}+=	grdc
205SUBDIR.${MK_GAMES}+=	morse
206SUBDIR.${MK_GAMES}+=	number
207SUBDIR.${MK_GAMES}+=	pom
208SUBDIR.${MK_GAMES}+=	primes
209SUBDIR.${MK_GAMES}+=	random
210.if ${MK_GH_BC} == "yes"
211SUBDIR+=		gh-bc
212.else
213SUBDIR.${MK_OPENSSL}+=	bc
214SUBDIR.${MK_OPENSSL}+=	dc
215.endif
216SUBDIR.${MK_HESIOD}+=	hesinfo
217SUBDIR.${MK_ICONV}+=	iconv
218SUBDIR.${MK_ICONV}+=	mkcsmapper
219SUBDIR.${MK_ICONV}+=	mkesdb
220SUBDIR.${MK_ISCSI}+=	iscsictl
221SUBDIR.${MK_KDUMP}+=	kdump
222SUBDIR.${MK_KDUMP}+=	truss
223SUBDIR.${MK_KERBEROS_SUPPORT}+=	compile_et
224SUBDIR.${MK_LDNS_UTILS}+=	drill
225SUBDIR.${MK_LDNS_UTILS}+=	host
226SUBDIR.${MK_LIB32}+=	ldd32
227SUBDIR.${MK_LOCATE}+=	locate
228# XXX msgs?
229SUBDIR.${MK_MAIL}+=	biff
230SUBDIR.${MK_MAIL}+=	from
231SUBDIR.${MK_MAIL}+=	mail
232SUBDIR.${MK_MAIL}+=	msgs
233SUBDIR.${MK_MAKE}+=	bmake
234SUBDIR.${MK_MAN_UTILS}+=	man
235SUBDIR.${MK_NETCAT}+=	nc
236SUBDIR.${MK_NETLINK}+=	genl
237SUBDIR.${MK_NIS}+=	ypcat
238SUBDIR.${MK_NIS}+=	ypmatch
239SUBDIR.${MK_NIS}+=	ypwhich
240SUBDIR.${MK_OPENSSH}+=	ssh-copy-id
241SUBDIR.${MK_OPENSSL}+=	chkey
242SUBDIR.${MK_OPENSSL}+=	newkey
243SUBDIR.${MK_QUOTAS}+=	quota
244SUBDIR.${MK_SENDMAIL}+=	vacation
245SUBDIR.${MK_TALK}+=	talk
246SUBDIR.${MK_TELNET}+=	telnet
247SUBDIR.${MK_TESTS_SUPPORT}+=	kyua
248SUBDIR.${MK_TESTS}+=	tests
249SUBDIR.${MK_TEXTPROC}+=	ul
250SUBDIR.${MK_TFTP}+=	tftp
251.if ${MK_LLVM_BINUTILS} == "no"
252# Only build the elftoolchain tools if we aren't using the LLVM ones.
253SUBDIR.${MK_TOOLCHAIN}+=	addr2line
254SUBDIR.${MK_TOOLCHAIN}+=	ar
255SUBDIR.${MK_TOOLCHAIN}+=	nm
256SUBDIR.${MK_TOOLCHAIN}+=	objcopy
257SUBDIR.${MK_TOOLCHAIN}+=	readelf
258SUBDIR.${MK_TOOLCHAIN}+=	size
259SUBDIR+=			strings
260.endif
261SUBDIR.${MK_TOOLCHAIN}+=	c89
262SUBDIR.${MK_TOOLCHAIN}+=	c99
263SUBDIR.${MK_TOOLCHAIN}+=	ctags
264.if ${MK_LLVM_CXXFILT} == "no"
265SUBDIR.${MK_TOOLCHAIN}+=	cxxfilt
266.endif
267SUBDIR.${MK_TOOLCHAIN}+=	file2c
268SUBDIR.${MK_TOOLCHAIN}+=	gprof
269SUBDIR.${MK_TOOLCHAIN}+=	indent
270SUBDIR.${MK_TOOLCHAIN}+=	lex
271SUBDIR.${MK_TOOLCHAIN}+=	mkstr
272SUBDIR.${MK_TOOLCHAIN}+=	rpcgen
273SUBDIR.${MK_TOOLCHAIN}+=	unifdef
274SUBDIR.${MK_TOOLCHAIN}+=	xstr
275SUBDIR.${MK_TOOLCHAIN}+=	yacc
276SUBDIR.${MK_VI}+=	vi
277SUBDIR.${MK_VT}+=	vtfontcvt
278SUBDIR.${MK_USB}+=	usbhidaction
279SUBDIR.${MK_USB}+=	usbhidctl
280SUBDIR.${MK_UTMPX}+=	last
281SUBDIR.${MK_UTMPX}+=	users
282SUBDIR.${MK_UTMPX}+=	who
283SUBDIR.${MK_OFED}+=	ofed
284
285.include <bsd.arch.inc.mk>
286
287SUBDIR_PARALLEL=
288
289.include <bsd.subdir.mk>
290