Makefile revision 275373
1#	From: @(#)Makefile	8.3 (Berkeley) 1/7/94
2# $FreeBSD: head/usr.bin/Makefile 275373 2014-12-01 17:49:42Z emaste $
3
4.include <src.opts.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=	${_addr2line} \
13	alias \
14	apply \
15	asa \
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	demandoc \
40	dirname \
41	dpv \
42	du \
43	ee \
44	elf2aout \
45	${_elfcopy} \
46	elfdump \
47	enigma \
48	env \
49	expand \
50	false \
51	fetch \
52	file \
53	find \
54	finger \
55	fmt \
56	fold \
57	fstat \
58	fsync \
59	ftp \
60	gcore \
61	gencat \
62	getconf \
63	getent \
64	getopt \
65	grep \
66	gzip \
67	head \
68	hexdump \
69	${_iconv} \
70	id \
71	ipcrm \
72	ipcs \
73	iscsictl \
74	join \
75	jot \
76	${_kdump} \
77	keylogin \
78	keylogout \
79	killall \
80	ktrace \
81	ktrdump \
82	lam \
83	lastcomm \
84	ldd \
85	leave \
86	less \
87	lessecho \
88	lesskey \
89	limits \
90	locale \
91	lock \
92	lockf \
93	logger \
94	login \
95	logins \
96	logname \
97	look \
98	lorder \
99	lsvfs \
100	lzmainfo \
101	m4 \
102	${_makewhatis} \
103	${_man} \
104	mandoc \
105	mesg \
106	minigzip \
107	ministat \
108	${_mkcsmapper} \
109	mkdep \
110	${_mkesdb} \
111	mkfifo \
112	mkimg \
113	mklocale \
114	mktemp \
115	mkulzma \
116	mkuzip \
117	mt \
118	ncal \
119	netstat \
120	newgrp \
121	nfsstat \
122	nice \
123	nl \
124	${_nm} \
125	nohup \
126	opieinfo \
127	opiekey \
128	opiepasswd \
129	pagesize \
130	passwd \
131	paste \
132	patch \
133	pathchk \
134	perror \
135	pr \
136	preconv \
137	printenv \
138	printf \
139	procstat \
140	protect \
141	rctl \
142	renice \
143	rev \
144	revoke \
145	rpcinfo \
146	rs \
147	rup \
148	rusers \
149	rwall \
150	script \
151	sed \
152	send-pr \
153	seq \
154	shar \
155	showmount \
156	${_size} \
157	sockstat \
158	soeliminate \
159	sort \
160	split \
161	stat \
162	stdbuf \
163	${_strings} \
164	su \
165	systat \
166	tabs \
167	tail \
168	talk \
169	tar \
170	tcopy \
171	tee \
172	${_tests} \
173	tftp \
174	time \
175	timeout \
176	tip \
177	top \
178	touch \
179	tput \
180	tr \
181	true \
182	truncate \
183	${_truss} \
184	tset \
185	tsort \
186	tty \
187	uname \
188	unexpand \
189	uniq \
190	unzip \
191	units \
192	unvis \
193	uudecode \
194	uuencode \
195	vis \
196	vmstat \
197	w \
198	wall \
199	wc \
200	what \
201	whereis \
202	which \
203	whois \
204	write \
205	xargs \
206	xinstall \
207	${_xlint} \
208	xo \
209	${_xstr} \
210	xz \
211	xzdec \
212	${_yacc} \
213	yes \
214	${_ypcat} \
215	${_ypmatch} \
216	${_ypwhich}
217
218# NB: keep these sorted by MK_* knobs
219
220.if ${MK_AT} != "no"
221SUBDIR+=	at
222.endif
223
224.if ${MK_ATM} != "no"
225SUBDIR+=	atm
226.endif
227
228.if ${MK_BLUETOOTH} != "no"
229SUBDIR+=	bluetooth
230.endif
231
232.if ${MK_BSD_CPIO} != "no"
233SUBDIR+=	cpio
234.endif
235
236.if ${MK_CALENDAR} != "no"
237SUBDIR+=	calendar
238.endif
239
240.if ${MK_CLANG} != "no"
241_clang=		clang
242.endif
243
244.if ${MK_ELFTOOLCHAIN_TOOLS} != "no"
245_addr2line=	addr2line
246_elfcopy=	elfcopy
247_nm=		nm
248_size=		size
249_strings=	strings
250.endif
251
252.if ${MK_FMAKE} != "no"
253SUBDIR+=	make
254.endif
255
256.if ${MK_GPL_DTC} != "yes"
257SUBDIR+=	dtc
258.endif
259
260.if ${MK_GROFF} != "no"
261SUBDIR+=	vgrind
262.endif
263
264.if ${MK_HESIOD} != "no"
265SUBDIR+=	hesinfo
266.endif
267
268.if ${MK_ICONV} != "no"
269_iconv=		iconv
270_mkcsmapper=	mkcsmapper
271_mkesdb=	mkesdb
272.endif
273
274.if ${MK_KDUMP} != "no"
275SUBDIR+=        kdump
276SUBDIR+=        truss
277.endif
278
279.if ${MK_KERBEROS_SUPPORT} != "no"
280SUBDIR+=	compile_et
281.endif
282
283.if ${MK_LDNS_UTILS} != "no"
284SUBDIR+=	drill
285SUBDIR+=	host
286.endif
287
288.if ${MK_LOCATE} != "no"
289SUBDIR+=	locate
290.endif
291
292# XXX msgs?
293.if ${MK_MAIL} != "no"
294SUBDIR+=	biff
295SUBDIR+=	from
296SUBDIR+=	mail
297SUBDIR+=	msgs
298.endif
299
300.if ${MK_MAKE} != "no"
301SUBDIR+=	bmake
302.endif
303
304.if ${MK_MAN_UTILS} != "no"
305SUBDIR+=	catman
306_makewhatis=	makewhatis
307_man=		man
308.endif
309
310.if ${MK_NETCAT} != "no"
311SUBDIR+=	nc
312.endif
313
314.if ${MK_NIS} != "no"
315SUBDIR+=	ypcat
316SUBDIR+=	ypmatch
317SUBDIR+=	ypwhich
318.endif
319
320.if ${MK_OPENSSH} != "no"
321SUBDIR+=	ssh-copy-id
322.endif
323
324.if ${MK_OPENSSL} != "no"
325SUBDIR+=	bc
326SUBDIR+=	chkey
327SUBDIR+=	dc
328SUBDIR+=	newkey
329.endif
330
331.if ${MK_QUOTAS} != "no"
332SUBDIR+=	quota
333.endif
334
335.if ${MK_RCMDS} != "no"
336SUBDIR+=	rlogin
337SUBDIR+=	rsh
338SUBDIR+=	ruptime
339SUBDIR+=	rwho
340.endif
341
342.if ${MK_SENDMAIL} != "no"
343SUBDIR+=	vacation
344.endif
345
346.if ${MK_TELNET} != "no"
347SUBDIR+=	telnet
348.endif
349
350.if ${MK_TESTS} != "no"
351_tests=		tests
352.endif
353
354.if ${MK_TEXTPROC} != "no"
355SUBDIR+=	checknr
356SUBDIR+=	colcrt
357SUBDIR+=	ul
358.endif
359
360.if ${MK_TOOLCHAIN} != "no"
361SUBDIR+=	ar
362SUBDIR+=	c89
363SUBDIR+=	c99
364SUBDIR+=	ctags
365SUBDIR+=	file2c
366SUBDIR+=	gprof
367SUBDIR+=	indent
368SUBDIR+=	lex
369SUBDIR+=	mkstr
370SUBDIR+=	rpcgen
371SUBDIR+=	unifdef
372SUBDIR+=	xlint
373SUBDIR+=	xstr
374SUBDIR+=	yacc
375.endif
376
377.if ${MK_VI} != "no"
378SUBDIR+=	vi
379.endif
380
381.if ${MK_VT} != "no"
382SUBDIR+=	vtfontcvt
383.endif
384
385.if ${MK_USB} != "no"
386SUBDIR+=	usbhidaction
387SUBDIR+=	usbhidctl
388.endif
389
390.if ${MK_UTMPX} != "no"
391SUBDIR+=	last
392SUBDIR+=	users
393SUBDIR+=	who
394.endif
395
396.if ${MK_SVN} == "yes" || ${MK_SVNLITE} == "yes"
397SUBDIR+=	svn
398.endif
399
400.include <bsd.arch.inc.mk>
401
402SUBDIR:=	${SUBDIR:O}
403
404SUBDIR_PARALLEL=
405
406.include <bsd.subdir.mk>
407