Makefile revision 266130
1#	From: @(#)Makefile	8.3 (Berkeley) 1/7/94
2# $FreeBSD: stable/10/usr.bin/Makefile 266130 2014-05-15 14:37:52Z ian $
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	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	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_GPL_DTC} != "yes"
234SUBDIR+=	dtc
235.endif
236
237.if ${MK_GROFF} != "no"
238SUBDIR+=	vgrind
239.endif
240
241.if ${MK_HESIOD} != "no"
242SUBDIR+=	hesinfo
243.endif
244
245.if ${MK_ICONV} != "no"
246_iconv=		iconv
247_mkcsmapper=	mkcsmapper
248_mkesdb=	mkesdb
249.endif
250
251.if ${MK_KDUMP} != "no"
252SUBDIR+=        kdump
253SUBDIR+=        truss
254.endif
255
256.if ${MK_KERBEROS_SUPPORT} != "no"
257SUBDIR+=	compile_et
258.endif
259
260.if ${MK_LDNS_UTILS} != "no"
261SUBDIR+=	drill
262SUBDIR+=	host
263.endif
264
265.if ${MK_LIBTHR} != "no"
266SUBDIR+=	csup
267.endif
268
269.if ${MK_LOCATE} != "no"
270SUBDIR+=	locate
271.endif
272
273# XXX msgs?
274.if ${MK_MAIL} != "no"
275SUBDIR+=	biff
276SUBDIR+=	from
277SUBDIR+=	mail
278SUBDIR+=	msgs
279.endif
280
281.if ${MK_MAKE} != "no"
282.if ${MK_BMAKE} != "no"
283SUBDIR+=	bmake
284.else
285SUBDIR+=	make
286.endif
287.endif
288
289.if ${MK_MAN_UTILS} != "no"
290SUBDIR+=	catman
291_makewhatis=	makewhatis
292_man=		man
293.endif
294
295.if ${MK_NETCAT} != "no"
296SUBDIR+=	nc
297.endif
298
299.if ${MK_NIS} != "no"
300SUBDIR+=	ypcat
301SUBDIR+=	ypmatch
302SUBDIR+=	ypwhich
303.endif
304
305.if ${MK_OPENSSH} != "no"
306SUBDIR+=	ssh-copy-id
307.endif
308
309.if ${MK_OPENSSL} != "no"
310SUBDIR+=	bc
311SUBDIR+=	chkey
312SUBDIR+=	dc
313SUBDIR+=	newkey
314.endif
315
316.if ${MK_QUOTAS} != "no"
317SUBDIR+=	quota
318.endif
319
320.if ${MK_RCMDS} != "no"
321SUBDIR+=	rlogin
322SUBDIR+=	rsh
323SUBDIR+=	ruptime
324SUBDIR+=	rwho
325.endif
326
327.if ${MK_SENDMAIL} != "no"
328SUBDIR+=	vacation
329.endif
330
331.if ${MK_TELNET} != "no"
332SUBDIR+=	telnet
333.endif
334
335.if ${MK_TESTS} != "no"
336_atf=		atf
337_tests=		tests
338.endif
339
340.if ${MK_TEXTPROC} != "no"
341SUBDIR+=	checknr
342SUBDIR+=	colcrt
343SUBDIR+=	ul
344.endif
345
346.if ${MK_TOOLCHAIN} != "no"
347SUBDIR+=	ar
348SUBDIR+=	c89
349SUBDIR+=	c99
350SUBDIR+=	ctags
351SUBDIR+=	file2c
352SUBDIR+=	gprof
353SUBDIR+=	indent
354SUBDIR+=	lex
355SUBDIR+=	mkstr
356SUBDIR+=	rpcgen
357SUBDIR+=	unifdef
358SUBDIR+=	xlint
359SUBDIR+=	xstr
360SUBDIR+=	yacc
361.endif
362
363.if ${MK_USB} != "no"
364SUBDIR+=	usbhidaction
365SUBDIR+=	usbhidctl
366.endif
367
368.if ${MK_UTMPX} != "no"
369SUBDIR+=	last
370SUBDIR+=	users
371SUBDIR+=	who
372.endif
373
374.if ${MK_SVN} == "yes" || ${MK_SVNLITE} == "yes"
375SUBDIR+=	svn
376.endif
377
378.include <bsd.arch.inc.mk>
379
380SUBDIR:=	${SUBDIR:O}
381
382SUBDIR_PARALLEL=
383
384.include <bsd.subdir.mk>
385