Makefile revision 278193
1217309Snwhitehorn#	From: @(#)Makefile	8.3 (Berkeley) 1/7/94
2217309Snwhitehorn# $FreeBSD: head/usr.bin/Makefile 278193 2015-02-04 10:24:40Z ngie $
3217309Snwhitehorn
4217309Snwhitehorn.include <src.opts.mk>
5217309Snwhitehorn
6217309Snwhitehorn# XXX MISSING:		deroff diction graph learn plot
7217309Snwhitehorn#			spell spline struct xsend
8217309Snwhitehorn# XXX Use GNU versions: diff ld patch
9217309Snwhitehorn# Moved to secure: bdes
10217309Snwhitehorn#
11217309Snwhitehorn
12217309SnwhitehornSUBDIR=	${_addr2line} \
13217309Snwhitehorn	alias \
14217309Snwhitehorn	apply \
15217309Snwhitehorn	asa \
16217309Snwhitehorn	awk \
17217309Snwhitehorn	banner \
18217309Snwhitehorn	basename \
19217309Snwhitehorn	brandelf \
20217309Snwhitehorn	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	demandoc \
40	dirname \
41	dpv \
42	du \
43	elf2aout \
44	${_elfcopy} \
45	elfdump \
46	enigma \
47	env \
48	expand \
49	false \
50	fetch \
51	find \
52	fmt \
53	fold \
54	fstat \
55	fsync \
56	gcore \
57	gencat \
58	getconf \
59	getent \
60	getopt \
61	grep \
62	gzip \
63	head \
64	hexdump \
65	${_iconv} \
66	id \
67	ipcrm \
68	ipcs \
69	join \
70	jot \
71	${_kdump} \
72	keylogin \
73	keylogout \
74	killall \
75	ktrace \
76	ktrdump \
77	lam \
78	lastcomm \
79	ldd \
80	leave \
81	less \
82	lessecho \
83	lesskey \
84	limits \
85	locale \
86	lock \
87	lockf \
88	logger \
89	login \
90	logins \
91	logname \
92	look \
93	lorder \
94	lsvfs \
95	lzmainfo \
96	m4 \
97	${_makewhatis} \
98	${_man} \
99	mandoc \
100	mesg \
101	minigzip \
102	ministat \
103	${_mkcsmapper} \
104	mkdep \
105	${_mkesdb} \
106	mkfifo \
107	mkimg \
108	mklocale \
109	mktemp \
110	mkulzma \
111	mkuzip \
112	mt \
113	ncal \
114	netstat \
115	newgrp \
116	nfsstat \
117	nice \
118	nl \
119	${_nm} \
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	send-pr \
147	seq \
148	shar \
149	showmount \
150	${_size} \
151	sockstat \
152	soeliminate \
153	sort \
154	split \
155	stat \
156	stdbuf \
157	${_strings} \
158	su \
159	systat \
160	tabs \
161	tail \
162	tar \
163	tcopy \
164	tee \
165	${_tests} \
166	time \
167	timeout \
168	tip \
169	top \
170	touch \
171	tput \
172	tr \
173	true \
174	truncate \
175	${_truss} \
176	tset \
177	tsort \
178	tty \
179	uname \
180	unexpand \
181	uniq \
182	unzip \
183	units \
184	unvis \
185	uudecode \
186	uuencode \
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	xo \
201	${_xstr} \
202	xz \
203	xzdec \
204	${_yacc} \
205	yes \
206	${_ypcat} \
207	${_ypmatch} \
208	${_ypwhich}
209
210# NB: keep these sorted by MK_* knobs
211
212.if ${MK_AT} != "no"
213SUBDIR+=	at
214.endif
215
216.if ${MK_ATM} != "no"
217SUBDIR+=	atm
218.endif
219
220.if ${MK_BLUETOOTH} != "no"
221SUBDIR+=	bluetooth
222.endif
223
224.if ${MK_BSD_CPIO} != "no"
225SUBDIR+=	cpio
226.endif
227
228.if ${MK_CALENDAR} != "no"
229SUBDIR+=	calendar
230.endif
231
232.if ${MK_CLANG} != "no"
233_clang=		clang
234.endif
235
236.if ${MK_EE} != "no"
237SUBDIR+=	ee
238.endif
239
240.if ${MK_ELFTOOLCHAIN_TOOLS} != "no"
241_addr2line=	addr2line
242_elfcopy=	elfcopy
243_nm=		nm
244_size=		size
245_strings=	strings
246.endif
247
248.if ${MK_FILE} != "no"
249SUBDIR+=	file
250.endif
251
252.if ${MK_FINGER} != "no"
253SUBDIR+=	finger
254.endif
255
256.if ${MK_FMAKE} != "no"
257SUBDIR+=	make
258.endif
259
260.if ${MK_FTP} != "no"
261SUBDIR+=	ftp
262.endif
263
264.if ${MK_GPL_DTC} != "yes"
265SUBDIR+=	dtc
266.endif
267
268.if ${MK_GROFF} != "no"
269SUBDIR+=	vgrind
270.endif
271
272.if ${MK_HESIOD} != "no"
273SUBDIR+=	hesinfo
274.endif
275
276.if ${MK_ICONV} != "no"
277_iconv=		iconv
278_mkcsmapper=	mkcsmapper
279_mkesdb=	mkesdb
280.endif
281
282.if ${MK_ISCSI} != "no"
283SUBDIR+=	iscsictl
284.endif
285
286.if ${MK_KDUMP} != "no"
287SUBDIR+=        kdump
288SUBDIR+=        truss
289.endif
290
291.if ${MK_KERBEROS_SUPPORT} != "no"
292SUBDIR+=	compile_et
293.endif
294
295.if ${MK_LDNS_UTILS} != "no"
296SUBDIR+=	drill
297SUBDIR+=	host
298.endif
299
300.if ${MK_LOCATE} != "no"
301SUBDIR+=	locate
302.endif
303
304# XXX msgs?
305.if ${MK_MAIL} != "no"
306SUBDIR+=	biff
307SUBDIR+=	from
308SUBDIR+=	mail
309SUBDIR+=	msgs
310.endif
311
312.if ${MK_MAKE} != "no"
313SUBDIR+=	bmake
314.endif
315
316.if ${MK_MAN_UTILS} != "no"
317SUBDIR+=	catman
318_makewhatis=	makewhatis
319_man=		man
320.endif
321
322.if ${MK_NETCAT} != "no"
323SUBDIR+=	nc
324.endif
325
326.if ${MK_NIS} != "no"
327SUBDIR+=	ypcat
328SUBDIR+=	ypmatch
329SUBDIR+=	ypwhich
330.endif
331
332.if ${MK_OPENSSH} != "no"
333SUBDIR+=	ssh-copy-id
334.endif
335
336.if ${MK_OPENSSL} != "no"
337SUBDIR+=	bc
338SUBDIR+=	chkey
339SUBDIR+=	dc
340SUBDIR+=	newkey
341.endif
342
343.if ${MK_QUOTAS} != "no"
344SUBDIR+=	quota
345.endif
346
347.if ${MK_RCMDS} != "no"
348SUBDIR+=	rlogin
349SUBDIR+=	rsh
350SUBDIR+=	ruptime
351SUBDIR+=	rwho
352.endif
353
354.if ${MK_SENDMAIL} != "no"
355SUBDIR+=	vacation
356.endif
357
358.if ${MK_TALK} != "no"
359SUBDIR+=	talk
360.endif
361
362.if ${MK_TELNET} != "no"
363SUBDIR+=	telnet
364.endif
365
366.if ${MK_TESTS} != "no"
367_tests=		tests
368.endif
369
370.if ${MK_TEXTPROC} != "no"
371SUBDIR+=	checknr
372SUBDIR+=	colcrt
373SUBDIR+=	ul
374.endif
375
376.if ${MK_TFTP} != "no"
377SUBDIR+=	tftp
378.endif
379
380.if ${MK_TOOLCHAIN} != "no"
381SUBDIR+=	ar
382SUBDIR+=	c89
383SUBDIR+=	c99
384SUBDIR+=	ctags
385SUBDIR+=	file2c
386SUBDIR+=	gprof
387SUBDIR+=	indent
388SUBDIR+=	lex
389SUBDIR+=	mkstr
390SUBDIR+=	rpcgen
391SUBDIR+=	unifdef
392SUBDIR+=	xlint
393SUBDIR+=	xstr
394SUBDIR+=	yacc
395.endif
396
397.if ${MK_VI} != "no"
398SUBDIR+=	vi
399.endif
400
401.if ${MK_VT} != "no"
402SUBDIR+=	vtfontcvt
403.endif
404
405.if ${MK_USB} != "no"
406SUBDIR+=	usbhidaction
407SUBDIR+=	usbhidctl
408.endif
409
410.if ${MK_UTMPX} != "no"
411SUBDIR+=	last
412SUBDIR+=	users
413SUBDIR+=	who
414.endif
415
416.if ${MK_SVN} == "yes" || ${MK_SVNLITE} == "yes"
417SUBDIR+=	svn
418.endif
419
420.include <bsd.arch.inc.mk>
421
422SUBDIR:=	${SUBDIR:O}
423
424SUBDIR_PARALLEL=
425
426.include <bsd.subdir.mk>
427