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