xref: /freebsd/usr.bin/Makefile (revision 40a8ac8f62b535d30349faf28cf47106b7041b83)
1#	From: @(#)Makefile	8.3 (Berkeley) 1/7/94
2# $FreeBSD$
3
4.include <src.opts.mk>
5
6# XXX MISSING:		deroff diction graph learn plot
7#			spell spline struct xsend
8# XXX Use GNU versions: diff ld patch
9# Moved to secure: bdes
10#
11
12SUBDIR=	alias \
13	apply \
14	asa \
15	awk \
16	banner \
17	basename \
18	brandelf \
19	bsdiff \
20	bzip2 \
21	bzip2recover \
22	cap_mkdb \
23	chat \
24	chpass \
25	cksum \
26	${_clang} \
27	cmp \
28	col \
29	colldef \
30	colrm \
31	column \
32	comm \
33	compress \
34	cpuset \
35	csplit \
36	ctlstat \
37	cut \
38	dirname \
39	du \
40	ee \
41	elf2aout \
42	elfdump \
43	enigma \
44	env \
45	expand \
46	false \
47	fetch \
48	file \
49	find \
50	finger \
51	fmt \
52	fold \
53	fstat \
54	fsync \
55	ftp \
56	gcore \
57	gencat \
58	getconf \
59	getent \
60	getopt \
61	grep \
62	gzip \
63	head \
64	hexdump \
65	${_iconv} \
66	id \
67	ipcrm \
68	ipcs \
69	iscsictl \
70	join \
71	jot \
72	${_kdump} \
73	keylogin \
74	keylogout \
75	killall \
76	ktrace \
77	ktrdump \
78	lam \
79	lastcomm \
80	ldd \
81	leave \
82	less \
83	lessecho \
84	lesskey \
85	limits \
86	locale \
87	lock \
88	lockf \
89	logger \
90	login \
91	logins \
92	logname \
93	look \
94	lorder \
95	lsvfs \
96	lzmainfo \
97	m4 \
98	${_makewhatis} \
99	${_man} \
100	mandoc \
101	mesg \
102	minigzip \
103	ministat \
104	${_mkcsmapper} \
105	mkdep \
106	${_mkesdb} \
107	mkfifo \
108	mkimg \
109	mklocale \
110	mktemp \
111	mkulzma \
112	mkuzip \
113	mt \
114	ncal \
115	netstat \
116	newgrp \
117	nfsstat \
118	nice \
119	nl \
120	nohup \
121	opieinfo \
122	opiekey \
123	opiepasswd \
124	pagesize \
125	passwd \
126	paste \
127	patch \
128	pathchk \
129	perror \
130	pr \
131	printenv \
132	printf \
133	procstat \
134	protect \
135	rctl \
136	renice \
137	rev \
138	revoke \
139	rpcinfo \
140	rs \
141	rup \
142	rusers \
143	rwall \
144	script \
145	sed \
146	send-pr \
147	seq \
148	shar \
149	showmount \
150	sockstat \
151	sort \
152	split \
153	stat \
154	stdbuf \
155	su \
156	systat \
157	tabs \
158	tail \
159	talk \
160	tar \
161	tcopy \
162	tee \
163	${_tests} \
164	tftp \
165	time \
166	timeout \
167	tip \
168	top \
169	touch \
170	tput \
171	tr \
172	true \
173	truncate \
174	${_truss} \
175	tset \
176	tsort \
177	tty \
178	uname \
179	unexpand \
180	uniq \
181	unzip \
182	units \
183	unvis \
184	uudecode \
185	uuencode \
186	vis \
187	vmstat \
188	w \
189	wall \
190	wc \
191	what \
192	whereis \
193	which \
194	whois \
195	write \
196	xargs \
197	xinstall \
198	${_xlint} \
199	${_xstr} \
200	xz \
201	xzdec \
202	${_yacc} \
203	yes \
204	${_ypcat} \
205	${_ypmatch} \
206	${_ypwhich}
207
208# NB: keep these sorted by MK_* knobs
209
210.if ${MK_AT} != "no"
211SUBDIR+=	at
212.endif
213
214.if ${MK_ATM} != "no"
215SUBDIR+=	atm
216.endif
217
218.if ${MK_BLUETOOTH} != "no"
219SUBDIR+=	bluetooth
220.endif
221
222.if ${MK_BSD_CPIO} != "no"
223SUBDIR+=	cpio
224.endif
225
226.if ${MK_CALENDAR} != "no"
227SUBDIR+=	calendar
228.endif
229
230.if ${MK_CLANG} != "no"
231_clang=		clang
232.endif
233
234.if ${MK_FMAKE} != "no"
235SUBDIR+=	make
236.endif
237
238.if ${MK_GPL_DTC} != "yes"
239SUBDIR+=	dtc
240.endif
241
242.if ${MK_GROFF} != "no"
243SUBDIR+=	vgrind
244.endif
245
246.if ${MK_HESIOD} != "no"
247SUBDIR+=	hesinfo
248.endif
249
250.if ${MK_ICONV} != "no"
251_iconv=		iconv
252_mkcsmapper=	mkcsmapper
253_mkesdb=	mkesdb
254.endif
255
256.if ${MK_KDUMP} != "no"
257SUBDIR+=        kdump
258SUBDIR+=        truss
259.endif
260
261.if ${MK_KERBEROS_SUPPORT} != "no"
262SUBDIR+=	compile_et
263.endif
264
265.if ${MK_LDNS_UTILS} != "no"
266SUBDIR+=	drill
267SUBDIR+=	host
268.endif
269
270.if ${MK_LOCATE} != "no"
271SUBDIR+=	locate
272.endif
273
274# XXX msgs?
275.if ${MK_MAIL} != "no"
276SUBDIR+=	biff
277SUBDIR+=	from
278SUBDIR+=	mail
279SUBDIR+=	msgs
280.endif
281
282.if ${MK_MAKE} != "no"
283SUBDIR+=	bmake
284.endif
285
286.if ${MK_MAN_UTILS} != "no"
287SUBDIR+=	catman
288_makewhatis=	makewhatis
289_man=		man
290.endif
291
292.if ${MK_NETCAT} != "no"
293SUBDIR+=	nc
294.endif
295
296.if ${MK_NIS} != "no"
297SUBDIR+=	ypcat
298SUBDIR+=	ypmatch
299SUBDIR+=	ypwhich
300.endif
301
302.if ${MK_OPENSSH} != "no"
303SUBDIR+=	ssh-copy-id
304.endif
305
306.if ${MK_OPENSSL} != "no"
307SUBDIR+=	bc
308SUBDIR+=	chkey
309SUBDIR+=	dc
310SUBDIR+=	newkey
311.endif
312
313.if ${MK_QUOTAS} != "no"
314SUBDIR+=	quota
315.endif
316
317.if ${MK_RCMDS} != "no"
318SUBDIR+=	rlogin
319SUBDIR+=	rsh
320SUBDIR+=	ruptime
321SUBDIR+=	rwho
322.endif
323
324.if ${MK_SENDMAIL} != "no"
325SUBDIR+=	vacation
326.endif
327
328.if ${MK_TELNET} != "no"
329SUBDIR+=	telnet
330.endif
331
332.if ${MK_TESTS} != "no"
333_tests=		tests
334.endif
335
336.if ${MK_TEXTPROC} != "no"
337SUBDIR+=	checknr
338SUBDIR+=	colcrt
339SUBDIR+=	ul
340.endif
341
342.if ${MK_TOOLCHAIN} != "no"
343SUBDIR+=	ar
344SUBDIR+=	c89
345SUBDIR+=	c99
346SUBDIR+=	ctags
347SUBDIR+=	file2c
348SUBDIR+=	gprof
349SUBDIR+=	indent
350SUBDIR+=	lex
351SUBDIR+=	mkstr
352SUBDIR+=	rpcgen
353SUBDIR+=	unifdef
354SUBDIR+=	xlint
355SUBDIR+=	xstr
356SUBDIR+=	yacc
357.endif
358
359.if ${MK_VI} != "no"
360SUBDIR+=	vi
361.endif
362
363.if ${MK_VT} != "no"
364SUBDIR+=	vtfontcvt
365.endif
366
367.if ${MK_USB} != "no"
368SUBDIR+=	usbhidaction
369SUBDIR+=	usbhidctl
370.endif
371
372.if ${MK_UTMPX} != "no"
373SUBDIR+=	last
374SUBDIR+=	users
375SUBDIR+=	who
376.endif
377
378.if ${MK_SVN} == "yes" || ${MK_SVNLITE} == "yes"
379SUBDIR+=	svn
380.endif
381
382.include <bsd.arch.inc.mk>
383
384SUBDIR:=	${SUBDIR:O}
385
386SUBDIR_PARALLEL=
387
388.include <bsd.subdir.mk>
389