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