Makefile revision 269041
1#	From: @(#)Makefile	8.3 (Berkeley) 1/7/94
2# $FreeBSD: stable/10/usr.bin/Makefile 269041 2014-07-24 01:35:41Z emaste $
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	du \
41	ee \
42	elf2aout \
43	elfdump \
44	enigma \
45	env \
46	expand \
47	false \
48	fetch \
49	file \
50	find \
51	finger \
52	fmt \
53	fold \
54	fstat \
55	fsync \
56	ftp \
57	gcore \
58	gencat \
59	getconf \
60	getent \
61	getopt \
62	grep \
63	gzip \
64	head \
65	hexdump \
66	${_iconv} \
67	id \
68	ipcrm \
69	ipcs \
70	iscsictl \
71	join \
72	jot \
73	${_kdump} \
74	keylogin \
75	keylogout \
76	killall \
77	ktrace \
78	ktrdump \
79	lam \
80	lastcomm \
81	ldd \
82	leave \
83	less \
84	lessecho \
85	lesskey \
86	limits \
87	locale \
88	lock \
89	lockf \
90	logger \
91	login \
92	logins \
93	logname \
94	look \
95	lorder \
96	lsvfs \
97	lzmainfo \
98	m4 \
99	${_makewhatis} \
100	${_man} \
101	mandoc \
102	mesg \
103	minigzip \
104	ministat \
105	${_mkcsmapper} \
106	mkdep \
107	${_mkesdb} \
108	mkfifo \
109	mkimg \
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	send-pr \
148	seq \
149	shar \
150	showmount \
151	sockstat \
152	sort \
153	split \
154	stat \
155	stdbuf \
156	su \
157	systat \
158	tabs \
159	tail \
160	talk \
161	tar \
162	tcopy \
163	tee \
164	${_tests} \
165	tftp \
166	time \
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	vi \
187	vis \
188	vmstat \
189	w \
190	wall \
191	wc \
192	what \
193	whereis \
194	which \
195	whois \
196	write \
197	xargs \
198	xinstall \
199	${_xlint} \
200	${_xstr} \
201	xz \
202	xzdec \
203	${_yacc} \
204	yes \
205	${_ypcat} \
206	${_ypmatch} \
207	${_ypwhich}
208
209# NB: keep these sorted by MK_* knobs
210
211.if ${MK_AT} != "no"
212SUBDIR+=	at
213.endif
214
215.if ${MK_ATM} != "no"
216SUBDIR+=	atm
217.endif
218
219.if ${MK_BLUETOOTH} != "no"
220SUBDIR+=	bluetooth
221.endif
222
223.if ${MK_BSD_CPIO} != "no"
224SUBDIR+=	cpio
225.endif
226
227.if ${MK_CALENDAR} != "no"
228SUBDIR+=	calendar
229.endif
230
231.if ${MK_CLANG} != "no"
232_clang=		clang
233.endif
234
235.if ${MK_GPL_DTC} != "yes"
236SUBDIR+=	dtc
237.endif
238
239.if ${MK_GROFF} != "no"
240SUBDIR+=	vgrind
241.endif
242
243.if ${MK_HESIOD} != "no"
244SUBDIR+=	hesinfo
245.endif
246
247.if ${MK_ICONV} != "no"
248_iconv=		iconv
249_mkcsmapper=	mkcsmapper
250_mkesdb=	mkesdb
251.endif
252
253.if ${MK_KDUMP} != "no"
254SUBDIR+=        kdump
255SUBDIR+=        truss
256.endif
257
258.if ${MK_KERBEROS_SUPPORT} != "no"
259SUBDIR+=	compile_et
260.endif
261
262.if ${MK_LDNS_UTILS} != "no"
263SUBDIR+=	drill
264SUBDIR+=	host
265.endif
266
267.if ${MK_LIBTHR} != "no"
268SUBDIR+=	csup
269.endif
270
271.if ${MK_LOCATE} != "no"
272SUBDIR+=	locate
273.endif
274
275# XXX msgs?
276.if ${MK_MAIL} != "no"
277SUBDIR+=	biff
278SUBDIR+=	from
279SUBDIR+=	mail
280SUBDIR+=	msgs
281.endif
282
283.if ${MK_MAKE} != "no"
284.if ${MK_BMAKE} != "no"
285SUBDIR+=	bmake
286.else
287SUBDIR+=	make
288.endif
289.endif
290
291.if ${MK_MAN_UTILS} != "no"
292SUBDIR+=	catman
293_makewhatis=	makewhatis
294_man=		man
295.endif
296
297.if ${MK_NETCAT} != "no"
298SUBDIR+=	nc
299.endif
300
301.if ${MK_NIS} != "no"
302SUBDIR+=	ypcat
303SUBDIR+=	ypmatch
304SUBDIR+=	ypwhich
305.endif
306
307.if ${MK_OPENSSH} != "no"
308SUBDIR+=	ssh-copy-id
309.endif
310
311.if ${MK_OPENSSL} != "no"
312SUBDIR+=	bc
313SUBDIR+=	chkey
314SUBDIR+=	dc
315SUBDIR+=	newkey
316.endif
317
318.if ${MK_QUOTAS} != "no"
319SUBDIR+=	quota
320.endif
321
322.if ${MK_RCMDS} != "no"
323SUBDIR+=	rlogin
324SUBDIR+=	rsh
325SUBDIR+=	ruptime
326SUBDIR+=	rwho
327.endif
328
329.if ${MK_SENDMAIL} != "no"
330SUBDIR+=	vacation
331.endif
332
333.if ${MK_TELNET} != "no"
334SUBDIR+=	telnet
335.endif
336
337.if ${MK_TESTS} != "no"
338_atf=		atf
339_tests=		tests
340.endif
341
342.if ${MK_TEXTPROC} != "no"
343SUBDIR+=	checknr
344SUBDIR+=	colcrt
345SUBDIR+=	ul
346.endif
347
348.if ${MK_TOOLCHAIN} != "no"
349SUBDIR+=	ar
350SUBDIR+=	c89
351SUBDIR+=	c99
352SUBDIR+=	ctags
353SUBDIR+=	file2c
354SUBDIR+=	gprof
355SUBDIR+=	indent
356SUBDIR+=	lex
357SUBDIR+=	mkstr
358SUBDIR+=	rpcgen
359SUBDIR+=	unifdef
360SUBDIR+=	xlint
361SUBDIR+=	xstr
362SUBDIR+=	yacc
363.endif
364
365.if ${MK_VT} != "no"
366SUBDIR+=	vtfontcvt
367.endif
368
369.if ${MK_USB} != "no"
370SUBDIR+=	usbhidaction
371SUBDIR+=	usbhidctl
372.endif
373
374.if ${MK_UTMPX} != "no"
375SUBDIR+=	last
376SUBDIR+=	users
377SUBDIR+=	who
378.endif
379
380.if ${MK_SVN} == "yes" || ${MK_SVNLITE} == "yes"
381SUBDIR+=	svn
382.endif
383
384.include <bsd.arch.inc.mk>
385
386SUBDIR:=	${SUBDIR:O}
387
388SUBDIR_PARALLEL=
389
390.include <bsd.subdir.mk>
391