xref: /freebsd/usr.bin/Makefile (revision 864c53ead899f7838cd2e1cca3b485a4a82f5cdc)
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	seq \
147	shar \
148	showmount \
149	sockstat \
150	sort \
151	split \
152	stat \
153	stdbuf \
154	su \
155	systat \
156	tabs \
157	tail \
158	talk \
159	tar \
160	tcopy \
161	tee \
162	${_tests} \
163	tftp \
164	time \
165	tip \
166	top \
167	touch \
168	tput \
169	tr \
170	true \
171	truncate \
172	${_truss} \
173	tset \
174	tsort \
175	tty \
176	uname \
177	unexpand \
178	uniq \
179	unzip \
180	units \
181	unvis \
182	uudecode \
183	uuencode \
184	vis \
185	vmstat \
186	w \
187	wall \
188	wc \
189	what \
190	whereis \
191	which \
192	whois \
193	write \
194	xargs \
195	xinstall \
196	${_xlint} \
197	${_xstr} \
198	xz \
199	xzdec \
200	${_yacc} \
201	yes \
202	${_ypcat} \
203	${_ypmatch} \
204	${_ypwhich}
205
206# NB: keep these sorted by MK_* knobs
207
208.if ${MK_AT} != "no"
209SUBDIR+=	at
210.endif
211
212.if ${MK_ATM} != "no"
213SUBDIR+=	atm
214.endif
215
216.if ${MK_BLUETOOTH} != "no"
217SUBDIR+=	bluetooth
218.endif
219
220.if ${MK_BSD_CPIO} != "no"
221SUBDIR+=	cpio
222.endif
223
224.if ${MK_CALENDAR} != "no"
225SUBDIR+=	calendar
226.endif
227
228.if ${MK_CLANG} != "no"
229_clang=		clang
230.endif
231
232.if ${MK_FMAKE} != "no"
233SUBDIR+=	make
234.endif
235
236.if ${MK_GPL_DTC} != "yes"
237SUBDIR+=	dtc
238.endif
239
240.if ${MK_GROFF} != "no"
241SUBDIR+=	vgrind
242.endif
243
244.if ${MK_HESIOD} != "no"
245SUBDIR+=	hesinfo
246.endif
247
248.if ${MK_ICONV} != "no"
249_iconv=		iconv
250_mkcsmapper=	mkcsmapper
251_mkesdb=	mkesdb
252.endif
253
254.if ${MK_KDUMP} != "no"
255SUBDIR+=        kdump
256SUBDIR+=        truss
257.endif
258
259.if ${MK_KERBEROS_SUPPORT} != "no"
260SUBDIR+=	compile_et
261.endif
262
263.if ${MK_LDNS_UTILS} != "no"
264SUBDIR+=	drill
265SUBDIR+=	host
266.endif
267
268.if ${MK_LIBTHR} != "no"
269SUBDIR+=	csup
270.endif
271
272.if ${MK_LOCATE} != "no"
273SUBDIR+=	locate
274.endif
275
276# XXX msgs?
277.if ${MK_MAIL} != "no"
278SUBDIR+=	biff
279SUBDIR+=	from
280SUBDIR+=	mail
281SUBDIR+=	msgs
282.endif
283
284.if ${MK_MAKE} != "no"
285SUBDIR+=	bmake
286.endif
287
288.if ${MK_MAN_UTILS} != "no"
289SUBDIR+=	catman
290_makewhatis=	makewhatis
291_man=		man
292.endif
293
294.if ${MK_NETCAT} != "no"
295SUBDIR+=	nc
296.endif
297
298.if ${MK_NIS} != "no"
299SUBDIR+=	ypcat
300SUBDIR+=	ypmatch
301SUBDIR+=	ypwhich
302.endif
303
304.if ${MK_OPENSSH} != "no"
305SUBDIR+=	ssh-copy-id
306.endif
307
308.if ${MK_OPENSSL} != "no"
309SUBDIR+=	bc
310SUBDIR+=	chkey
311SUBDIR+=	dc
312SUBDIR+=	newkey
313.endif
314
315.if ${MK_QUOTAS} != "no"
316SUBDIR+=	quota
317.endif
318
319.if ${MK_RCMDS} != "no"
320SUBDIR+=	rlogin
321SUBDIR+=	rsh
322SUBDIR+=	ruptime
323SUBDIR+=	rwho
324.endif
325
326.if ${MK_SENDMAIL} != "no"
327SUBDIR+=	vacation
328.endif
329
330.if ${MK_TELNET} != "no"
331SUBDIR+=	telnet
332.endif
333
334.if ${MK_TESTS} != "no"
335_tests=		tests
336.endif
337
338.if ${MK_TEXTPROC} != "no"
339SUBDIR+=	checknr
340SUBDIR+=	colcrt
341SUBDIR+=	ul
342.endif
343
344.if ${MK_TOOLCHAIN} != "no"
345SUBDIR+=	ar
346SUBDIR+=	c89
347SUBDIR+=	c99
348SUBDIR+=	ctags
349SUBDIR+=	file2c
350SUBDIR+=	gprof
351SUBDIR+=	indent
352SUBDIR+=	lex
353SUBDIR+=	mkstr
354SUBDIR+=	rpcgen
355SUBDIR+=	unifdef
356SUBDIR+=	xlint
357SUBDIR+=	xstr
358SUBDIR+=	yacc
359.endif
360
361.if ${MK_VI} != "no"
362SUBDIR+=	vi
363.endif
364
365.if ${MK_USB} != "no"
366SUBDIR+=	usbhidaction
367SUBDIR+=	usbhidctl
368.endif
369
370.if ${MK_UTMPX} != "no"
371SUBDIR+=	last
372SUBDIR+=	users
373SUBDIR+=	who
374.endif
375
376.if ${MK_SVN} == "yes" || ${MK_SVNLITE} == "yes"
377SUBDIR+=	svn
378.endif
379
380.include <bsd.arch.inc.mk>
381
382SUBDIR:=	${SUBDIR:O}
383
384SUBDIR_PARALLEL=
385
386.include <bsd.subdir.mk>
387