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