Makefile revision 260013
1#	From: @(#)Makefile	8.3 (Berkeley) 1/7/94
2# $FreeBSD: stable/10/usr.bin/Makefile 260013 2013-12-28 20:05:31Z jmmv $
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	${_atf} \
16	awk \
17	banner \
18	basename \
19	brandelf \
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	dtc \
41	du \
42	ee \
43	elf2aout \
44	elfdump \
45	enigma \
46	env \
47	expand \
48	false \
49	fetch \
50	file \
51	find \
52	finger \
53	fmt \
54	fold \
55	fstat \
56	fsync \
57	ftp \
58	gcore \
59	gencat \
60	getconf \
61	getent \
62	getopt \
63	grep \
64	gzip \
65	head \
66	hexdump \
67	${_iconv} \
68	id \
69	ipcrm \
70	ipcs \
71	iscsictl \
72	join \
73	jot \
74	${_kdump} \
75	keylogin \
76	keylogout \
77	killall \
78	ktrace \
79	ktrdump \
80	lam \
81	lastcomm \
82	ldd \
83	leave \
84	less \
85	lessecho \
86	lesskey \
87	limits \
88	locale \
89	lock \
90	lockf \
91	logger \
92	login \
93	logins \
94	logname \
95	look \
96	lorder \
97	lsvfs \
98	lzmainfo \
99	m4 \
100	${_makewhatis} \
101	${_man} \
102	mandoc \
103	mesg \
104	minigzip \
105	ministat \
106	${_mkcsmapper} \
107	mkdep \
108	${_mkesdb} \
109	mkfifo \
110	mklocale \
111	mktemp \
112	mkulzma \
113	mkuzip \
114	mt \
115	ncal \
116	netstat \
117	newgrp \
118	nfsstat \
119	nice \
120	nl \
121	nohup \
122	opieinfo \
123	opiekey \
124	opiepasswd \
125	pagesize \
126	passwd \
127	paste \
128	patch \
129	pathchk \
130	perror \
131	pr \
132	printenv \
133	printf \
134	procstat \
135	protect \
136	rctl \
137	renice \
138	rev \
139	revoke \
140	rpcinfo \
141	rs \
142	rup \
143	rusers \
144	rwall \
145	script \
146	sed \
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	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	vi \
185	vis \
186	vmstat \
187	w \
188	wall \
189	wc \
190	what \
191	whereis \
192	which \
193	whois \
194	write \
195	xargs \
196	xinstall \
197	${_xlint} \
198	${_xstr} \
199	xz \
200	xzdec \
201	${_yacc} \
202	yes \
203	${_ypcat} \
204	${_ypmatch} \
205	${_ypwhich}
206
207# NB: keep these sorted by MK_* knobs
208
209.if ${MK_AT} != "no"
210SUBDIR+=	at
211.endif
212
213.if ${MK_ATM} != "no"
214SUBDIR+=	atm
215.endif
216
217.if ${MK_BLUETOOTH} != "no"
218SUBDIR+=	bluetooth
219.endif
220
221.if ${MK_BSD_CPIO} != "no"
222SUBDIR+=	cpio
223.endif
224
225.if ${MK_CALENDAR} != "no"
226SUBDIR+=	calendar
227.endif
228
229.if ${MK_CLANG} != "no"
230_clang=		clang
231.endif
232
233.if ${MK_GROFF} != "no"
234SUBDIR+=	vgrind
235.endif
236
237.if ${MK_HESIOD} != "no"
238SUBDIR+=	hesinfo
239.endif
240
241.if ${MK_ICONV} != "no"
242_iconv=		iconv
243_mkcsmapper=	mkcsmapper
244_mkesdb=	mkesdb
245.endif
246
247.if ${MK_KDUMP} != "no"
248SUBDIR+=        kdump
249SUBDIR+=        truss
250.endif
251
252.if ${MK_KERBEROS_SUPPORT} != "no"
253SUBDIR+=	compile_et
254.endif
255
256.if ${MK_LDNS_UTILS} != "no"
257SUBDIR+=	drill
258SUBDIR+=	host
259.endif
260
261.if ${MK_LIBTHR} != "no"
262SUBDIR+=	csup
263.endif
264
265.if ${MK_LOCATE} != "no"
266SUBDIR+=	locate
267.endif
268
269# XXX msgs?
270.if ${MK_MAIL} != "no"
271SUBDIR+=	biff
272SUBDIR+=	from
273SUBDIR+=	mail
274SUBDIR+=	msgs
275.endif
276
277.if ${MK_MAKE} != "no"
278.if ${MK_BMAKE} != "no"
279SUBDIR+=	bmake
280.else
281SUBDIR+=	make
282.endif
283.endif
284
285.if ${MK_MAN_UTILS} != "no"
286SUBDIR+=	catman
287_makewhatis=	makewhatis
288_man=		man
289.endif
290
291.if ${MK_NETCAT} != "no"
292SUBDIR+=	nc
293.endif
294
295.if ${MK_NIS} != "no"
296SUBDIR+=	ypcat
297SUBDIR+=	ypmatch
298SUBDIR+=	ypwhich
299.endif
300
301.if ${MK_OPENSSH} != "no"
302SUBDIR+=	ssh-copy-id
303.endif
304
305.if ${MK_OPENSSL} != "no"
306SUBDIR+=	bc
307SUBDIR+=	chkey
308SUBDIR+=	dc
309SUBDIR+=	newkey
310.endif
311
312.if ${MK_QUOTAS} != "no"
313SUBDIR+=	quota
314.endif
315
316.if ${MK_RCMDS} != "no"
317SUBDIR+=	rlogin
318SUBDIR+=	rsh
319SUBDIR+=	ruptime
320SUBDIR+=	rwho
321.endif
322
323.if ${MK_SENDMAIL} != "no"
324SUBDIR+=	vacation
325.endif
326
327.if ${MK_TELNET} != "no"
328SUBDIR+=	telnet
329.endif
330
331.if ${MK_TESTS} != "no"
332_atf=		atf
333.endif
334
335.if ${MK_TEXTPROC} != "no"
336SUBDIR+=	checknr
337SUBDIR+=	colcrt
338SUBDIR+=	ul
339.endif
340
341.if ${MK_TOOLCHAIN} != "no"
342SUBDIR+=	ar
343SUBDIR+=	c89
344SUBDIR+=	c99
345SUBDIR+=	ctags
346SUBDIR+=	file2c
347SUBDIR+=	gprof
348SUBDIR+=	indent
349SUBDIR+=	lex
350SUBDIR+=	mkstr
351SUBDIR+=	rpcgen
352SUBDIR+=	unifdef
353SUBDIR+=	xlint
354SUBDIR+=	xstr
355SUBDIR+=	yacc
356.endif
357
358.if ${MK_USB} != "no"
359SUBDIR+=	usbhidaction
360SUBDIR+=	usbhidctl
361.endif
362
363.if ${MK_UTMPX} != "no"
364SUBDIR+=	last
365SUBDIR+=	users
366SUBDIR+=	who
367.endif
368
369.if ${MK_SVN} == "yes" || ${MK_SVNLITE} == "yes"
370SUBDIR+=	svn
371.endif
372
373.include <bsd.arch.inc.mk>
374
375SUBDIR:=	${SUBDIR:O}
376
377.include <bsd.subdir.mk>
378