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