Makefile revision 278554
1#	From: @(#)Makefile	8.3 (Berkeley) 1/7/94
2# $FreeBSD: stable/10/usr.bin/Makefile 278554 2015-02-11 06:57:20Z 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	finger \
51	fmt \
52	fold \
53	fstat \
54	fsync \
55	ftp \
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	iscsictl \
70	join \
71	jot \
72	${_kdump} \
73	keylogin \
74	keylogout \
75	killall \
76	ktrace \
77	ktrdump \
78	lam \
79	lastcomm \
80	ldd \
81	leave \
82	less \
83	lessecho \
84	lesskey \
85	limits \
86	locale \
87	lock \
88	lockf \
89	logger \
90	login \
91	logins \
92	logname \
93	look \
94	lorder \
95	lsvfs \
96	lzmainfo \
97	m4 \
98	${_makewhatis} \
99	${_man} \
100	mandoc \
101	mesg \
102	minigzip \
103	ministat \
104	${_mkcsmapper} \
105	mkdep \
106	${_mkesdb} \
107	mkfifo \
108	mkimg \
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_EE} != "no"
235SUBDIR+=	ee
236.endif
237
238.if ${MK_GPL_DTC} != "yes"
239SUBDIR+=	dtc
240.endif
241
242.if ${MK_GROFF} != "no"
243SUBDIR+=	vgrind
244.endif
245
246.if ${MK_HESIOD} != "no"
247SUBDIR+=	hesinfo
248.endif
249
250.if ${MK_ICONV} != "no"
251_iconv=		iconv
252_mkcsmapper=	mkcsmapper
253_mkesdb=	mkesdb
254.endif
255
256.if ${MK_KDUMP} != "no"
257SUBDIR+=        kdump
258SUBDIR+=        truss
259.endif
260
261.if ${MK_KERBEROS_SUPPORT} != "no"
262SUBDIR+=	compile_et
263.endif
264
265.if ${MK_LDNS_UTILS} != "no"
266SUBDIR+=	drill
267SUBDIR+=	host
268.endif
269
270.if ${MK_LIBTHR} != "no"
271SUBDIR+=	csup
272.endif
273
274.if ${MK_LOCATE} != "no"
275SUBDIR+=	locate
276.endif
277
278# XXX msgs?
279.if ${MK_MAIL} != "no"
280SUBDIR+=	biff
281SUBDIR+=	from
282SUBDIR+=	mail
283SUBDIR+=	msgs
284.endif
285
286.if ${MK_MAKE} != "no"
287.if ${MK_BMAKE} != "no"
288SUBDIR+=	bmake
289.else
290SUBDIR+=	make
291.endif
292.endif
293
294.if ${MK_MAN_UTILS} != "no"
295SUBDIR+=	catman
296_makewhatis=	makewhatis
297_man=		man
298.endif
299
300.if ${MK_NETCAT} != "no"
301SUBDIR+=	nc
302.endif
303
304.if ${MK_NIS} != "no"
305SUBDIR+=	ypcat
306SUBDIR+=	ypmatch
307SUBDIR+=	ypwhich
308.endif
309
310.if ${MK_OPENSSH} != "no"
311SUBDIR+=	ssh-copy-id
312.endif
313
314.if ${MK_OPENSSL} != "no"
315SUBDIR+=	bc
316SUBDIR+=	chkey
317SUBDIR+=	dc
318SUBDIR+=	newkey
319.endif
320
321.if ${MK_QUOTAS} != "no"
322SUBDIR+=	quota
323.endif
324
325.if ${MK_RCMDS} != "no"
326SUBDIR+=	rlogin
327SUBDIR+=	rsh
328SUBDIR+=	ruptime
329SUBDIR+=	rwho
330.endif
331
332.if ${MK_SENDMAIL} != "no"
333SUBDIR+=	vacation
334.endif
335
336.if ${MK_TELNET} != "no"
337SUBDIR+=	telnet
338.endif
339
340.if ${MK_TESTS} != "no"
341_tests=		tests
342.endif
343
344.if ${MK_TEXTPROC} != "no"
345SUBDIR+=	checknr
346SUBDIR+=	colcrt
347SUBDIR+=	ul
348.endif
349
350.if ${MK_TOOLCHAIN} != "no"
351SUBDIR+=	ar
352SUBDIR+=	c89
353SUBDIR+=	c99
354SUBDIR+=	ctags
355SUBDIR+=	file2c
356SUBDIR+=	gprof
357SUBDIR+=	indent
358SUBDIR+=	lex
359SUBDIR+=	mkstr
360SUBDIR+=	rpcgen
361SUBDIR+=	unifdef
362SUBDIR+=	xlint
363SUBDIR+=	xstr
364SUBDIR+=	yacc
365.endif
366
367.if ${MK_VT} != "no"
368SUBDIR+=	vtfontcvt
369.endif
370
371.if ${MK_USB} != "no"
372SUBDIR+=	usbhidaction
373SUBDIR+=	usbhidctl
374.endif
375
376.if ${MK_UTMPX} != "no"
377SUBDIR+=	last
378SUBDIR+=	users
379SUBDIR+=	who
380.endif
381
382.if ${MK_SVN} == "yes" || ${MK_SVNLITE} == "yes"
383SUBDIR+=	svn
384.endif
385
386.include <bsd.arch.inc.mk>
387
388SUBDIR:=	${SUBDIR:O}
389
390SUBDIR_PARALLEL=
391
392.include <bsd.subdir.mk>
393