Makefile revision 260024
1#	From: @(#)Makefile	8.3 (Berkeley) 1/7/94
2# $FreeBSD: stable/10/usr.bin/Makefile 260024 2013-12-28 23:08:58Z 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	${_tests} \
164	tftp \
165	time \
166	tip \
167	top \
168	touch \
169	tput \
170	tr \
171	true \
172	truncate \
173	${_truss} \
174	tset \
175	tsort \
176	tty \
177	uname \
178	unexpand \
179	uniq \
180	unzip \
181	units \
182	unvis \
183	uudecode \
184	uuencode \
185	vi \
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_GROFF} != "no"
235SUBDIR+=	vgrind
236.endif
237
238.if ${MK_HESIOD} != "no"
239SUBDIR+=	hesinfo
240.endif
241
242.if ${MK_ICONV} != "no"
243_iconv=		iconv
244_mkcsmapper=	mkcsmapper
245_mkesdb=	mkesdb
246.endif
247
248.if ${MK_KDUMP} != "no"
249SUBDIR+=        kdump
250SUBDIR+=        truss
251.endif
252
253.if ${MK_KERBEROS_SUPPORT} != "no"
254SUBDIR+=	compile_et
255.endif
256
257.if ${MK_LDNS_UTILS} != "no"
258SUBDIR+=	drill
259SUBDIR+=	host
260.endif
261
262.if ${MK_LIBTHR} != "no"
263SUBDIR+=	csup
264.endif
265
266.if ${MK_LOCATE} != "no"
267SUBDIR+=	locate
268.endif
269
270# XXX msgs?
271.if ${MK_MAIL} != "no"
272SUBDIR+=	biff
273SUBDIR+=	from
274SUBDIR+=	mail
275SUBDIR+=	msgs
276.endif
277
278.if ${MK_MAKE} != "no"
279.if ${MK_BMAKE} != "no"
280SUBDIR+=	bmake
281.else
282SUBDIR+=	make
283.endif
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_atf=		atf
334_tests=		tests
335.endif
336
337.if ${MK_TEXTPROC} != "no"
338SUBDIR+=	checknr
339SUBDIR+=	colcrt
340SUBDIR+=	ul
341.endif
342
343.if ${MK_TOOLCHAIN} != "no"
344SUBDIR+=	ar
345SUBDIR+=	c89
346SUBDIR+=	c99
347SUBDIR+=	ctags
348SUBDIR+=	file2c
349SUBDIR+=	gprof
350SUBDIR+=	indent
351SUBDIR+=	lex
352SUBDIR+=	mkstr
353SUBDIR+=	rpcgen
354SUBDIR+=	unifdef
355SUBDIR+=	xlint
356SUBDIR+=	xstr
357SUBDIR+=	yacc
358.endif
359
360.if ${MK_USB} != "no"
361SUBDIR+=	usbhidaction
362SUBDIR+=	usbhidctl
363.endif
364
365.if ${MK_UTMPX} != "no"
366SUBDIR+=	last
367SUBDIR+=	users
368SUBDIR+=	who
369.endif
370
371.if ${MK_SVN} == "yes" || ${MK_SVNLITE} == "yes"
372SUBDIR+=	svn
373.endif
374
375.include <bsd.arch.inc.mk>
376
377SUBDIR:=	${SUBDIR:O}
378
379.include <bsd.subdir.mk>
380