xref: /freebsd/usr.bin/Makefile (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
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	lastcomm \
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	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	tabs \
151	tail \
152	tar \
153	tcopy \
154	tee \
155	time \
156	timeout \
157	tip \
158	top \
159	touch \
160	tput \
161	tr \
162	true \
163	truncate \
164	tset \
165	tsort \
166	tty \
167	uname \
168	unexpand \
169	uniq \
170	unzip \
171	units \
172	unvis \
173	uudecode \
174	uuencode \
175	vis \
176	vmstat \
177	w \
178	wall \
179	wc \
180	what \
181	whereis \
182	which \
183	whois \
184	write \
185	xargs \
186	xinstall \
187	xo \
188	xz \
189	xzdec \
190	yes \
191	zstd
192
193# NB: keep these sorted by MK_* knobs
194
195SUBDIR.${MK_AT}+=	at
196SUBDIR.${MK_ATM}+=	atm
197SUBDIR.${MK_BLUETOOTH}+=	bluetooth
198SUBDIR.${MK_BSD_CPIO}+=	cpio
199SUBDIR.${MK_CALENDAR}+=	calendar
200SUBDIR.${MK_CLANG}+=	clang
201SUBDIR.${MK_DIALOG}+=	dpv
202SUBDIR.${MK_EE}+=	ee
203SUBDIR.${MK_FILE}+=	file
204SUBDIR.${MK_FINGER}+=	finger
205SUBDIR.${MK_FTP}+=	ftp
206SUBDIR.${MK_GAMES}+=	caesar
207SUBDIR.${MK_GAMES}+=	factor
208SUBDIR.${MK_GAMES}+=	fortune
209SUBDIR.${MK_GAMES}+=	grdc
210SUBDIR.${MK_GAMES}+=	morse
211SUBDIR.${MK_GAMES}+=	number
212SUBDIR.${MK_GAMES}+=	pom
213SUBDIR.${MK_GAMES}+=	primes
214SUBDIR.${MK_GAMES}+=	random
215.if ${COMPILER_FEATURES:Mc++11}
216SUBDIR+=	dtc
217.endif
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
258SUBDIR.${MK_TOOLCHAIN}+=	addr2line
259SUBDIR.${MK_TOOLCHAIN}+=	ar
260SUBDIR.${MK_TOOLCHAIN}+=	c89
261SUBDIR.${MK_TOOLCHAIN}+=	c99
262SUBDIR.${MK_TOOLCHAIN}+=	ctags
263.if ${MK_LLVM_CXXFILT} == "no"
264SUBDIR.${MK_TOOLCHAIN}+=	cxxfilt
265.endif
266SUBDIR.${MK_TOOLCHAIN}+=	objcopy
267SUBDIR.${MK_TOOLCHAIN}+=	file2c
268SUBDIR.${MK_TOOLCHAIN}+=	gprof
269SUBDIR.${MK_TOOLCHAIN}+=	indent
270SUBDIR.${MK_TOOLCHAIN}+=	lex
271SUBDIR.${MK_TOOLCHAIN}+=	mkstr
272SUBDIR.${MK_TOOLCHAIN}+=	nm
273SUBDIR.${MK_TOOLCHAIN}+=	readelf
274SUBDIR.${MK_TOOLCHAIN}+=	rpcgen
275SUBDIR.${MK_TOOLCHAIN}+=	unifdef
276SUBDIR.${MK_TOOLCHAIN}+=	size
277SUBDIR.${MK_TOOLCHAIN}+=	xstr
278SUBDIR.${MK_TOOLCHAIN}+=	yacc
279SUBDIR.${MK_VI}+=	vi
280SUBDIR.${MK_VT}+=	vtfontcvt
281SUBDIR.${MK_USB}+=	usbhidaction
282SUBDIR.${MK_USB}+=	usbhidctl
283SUBDIR.${MK_UTMPX}+=	last
284.if ${MK_CXX} != "no"
285SUBDIR.${MK_UTMPX}+=	users
286.endif
287SUBDIR.${MK_UTMPX}+=	who
288SUBDIR.${MK_SVN}+=	svn
289SUBDIR.${MK_SVNLITE}+=	svn
290SUBDIR.${MK_OFED}+=	ofed
291
292# These are normally only handled for build-tools.
293.if make(clean*)
294SUBDIR+=	mkcsmapper_static
295SUBDIR+=	mkesdb_static
296.endif
297
298.include <bsd.arch.inc.mk>
299
300SUBDIR_PARALLEL=
301
302.include <bsd.subdir.mk>
303