xref: /freebsd/usr.bin/Makefile (revision 43a5ec4eb41567cc92586503212743d89686d78f)
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	brandelf \
15	bsdcat \
16	bsdiff \
17	bzip2 \
18	bzip2recover \
19	cap_mkdb \
20	chat \
21	chpass \
22	cksum \
23	cmp \
24	col \
25	colrm \
26	column \
27	comm \
28	compress \
29	cpuset \
30	csplit \
31	ctlstat \
32	cut \
33	diff \
34	dirname \
35	du \
36	elfctl \
37	elfdump \
38	enigma \
39	env \
40	etdump \
41	expand \
42	false \
43	fetch \
44	find \
45	fmt \
46	fold \
47	fstat \
48	fsync \
49	gcore \
50	gencat \
51	getaddrinfo \
52	getconf \
53	getent \
54	getopt \
55	grep \
56	gzip \
57	head \
58	hexdump \
59	id \
60	ident \
61	ipcrm \
62	ipcs \
63	join \
64	jot \
65	keylogin \
66	keylogout \
67	killall \
68	ktrace \
69	ktrdump \
70	lam \
71	ldd \
72	leave \
73	less \
74	lessecho \
75	lesskey \
76	limits \
77	locale \
78	localedef \
79	lock \
80	lockf \
81	logger \
82	login \
83	logins \
84	logname \
85	look \
86	lorder \
87	lsvfs \
88	lzmainfo \
89	m4 \
90	mandoc \
91	mesg \
92	minigzip \
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	opieinfo \
109	opiekey \
110	opiepasswd \
111	pagesize \
112	passwd \
113	paste \
114	patch \
115	pathchk \
116	perror \
117	posixshmcontrol \
118	pr \
119	printenv \
120	printf \
121	proccontrol \
122	procstat \
123	protect \
124	rctl \
125	renice \
126	resizewin \
127	rev \
128	revoke \
129	rpcinfo \
130	rs \
131	rup \
132	ruptime \
133	rusers \
134	rwall \
135	rwho \
136	script \
137	sdiff \
138	sed \
139	seq \
140	shar \
141	showmount \
142	sockstat \
143	soelim \
144	sort \
145	split \
146	stat \
147	stdbuf \
148	strings \
149	su \
150	systat \
151	tail \
152	tar \
153	tcopy \
154	tee \
155	time \
156	timeout \
157	tip \
158	top \
159	touch \
160	tr \
161	true \
162	truncate \
163	tsort \
164	tty \
165	uname \
166	unexpand \
167	uniq \
168	unzip \
169	units \
170	unvis \
171	uudecode \
172	uuencode \
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