Makefile revision 278710
1#	From: @(#)Makefile	8.3 (Berkeley) 1/7/94
2# $FreeBSD: stable/10/usr.bin/Makefile 278710 2015-02-13 21:19:54Z 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	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	nohup \
120	opieinfo \
121	opiekey \
122	opiepasswd \
123	pagesize \
124	passwd \
125	paste \
126	patch \
127	pathchk \
128	perror \
129	pr \
130	printenv \
131	printf \
132	procstat \
133	protect \
134	rctl \
135	renice \
136	rev \
137	revoke \
138	rpcinfo \
139	rs \
140	rup \
141	rusers \
142	rwall \
143	script \
144	sed \
145	send-pr \
146	seq \
147	shar \
148	showmount \
149	sockstat \
150	sort \
151	split \
152	stat \
153	stdbuf \
154	su \
155	systat \
156	tabs \
157	tail \
158	tar \
159	tcopy \
160	tee \
161	${_tests} \
162	tftp \
163	time \
164	tip \
165	top \
166	touch \
167	tput \
168	tr \
169	true \
170	truncate \
171	${_truss} \
172	tset \
173	tsort \
174	tty \
175	uname \
176	unexpand \
177	uniq \
178	unzip \
179	units \
180	unvis \
181	uudecode \
182	uuencode \
183	vi \
184	vis \
185	vmstat \
186	w \
187	wall \
188	wc \
189	what \
190	whereis \
191	which \
192	whois \
193	write \
194	xargs \
195	xinstall \
196	${_xlint} \
197	${_xstr} \
198	xz \
199	xzdec \
200	${_yacc} \
201	yes \
202	${_ypcat} \
203	${_ypmatch} \
204	${_ypwhich}
205
206# NB: keep these sorted by MK_* knobs
207
208.if ${MK_AT} != "no"
209SUBDIR+=	at
210.endif
211
212.if ${MK_ATM} != "no"
213SUBDIR+=	atm
214.endif
215
216.if ${MK_BLUETOOTH} != "no"
217SUBDIR+=	bluetooth
218.endif
219
220.if ${MK_BSD_CPIO} != "no"
221SUBDIR+=	cpio
222.endif
223
224.if ${MK_CALENDAR} != "no"
225SUBDIR+=	calendar
226.endif
227
228.if ${MK_CLANG} != "no"
229_clang=		clang
230.endif
231
232.if ${MK_EE} != "no"
233SUBDIR+=	ee
234.endif
235
236.if ${MK_GPL_DTC} != "yes"
237SUBDIR+=	dtc
238.endif
239
240.if ${MK_GROFF} != "no"
241SUBDIR+=	vgrind
242.endif
243
244.if ${MK_HESIOD} != "no"
245SUBDIR+=	hesinfo
246.endif
247
248.if ${MK_ICONV} != "no"
249_iconv=		iconv
250_mkcsmapper=	mkcsmapper
251_mkesdb=	mkesdb
252.endif
253
254.if ${MK_ISCSI} != "no"
255SUBDIR+=	iscsictl
256.endif
257
258.if ${MK_KDUMP} != "no"
259SUBDIR+=        kdump
260SUBDIR+=        truss
261.endif
262
263.if ${MK_KERBEROS_SUPPORT} != "no"
264SUBDIR+=	compile_et
265.endif
266
267.if ${MK_LDNS_UTILS} != "no"
268SUBDIR+=	drill
269SUBDIR+=	host
270.endif
271
272.if ${MK_LIBTHR} != "no"
273SUBDIR+=	csup
274.endif
275
276.if ${MK_LOCATE} != "no"
277SUBDIR+=	locate
278.endif
279
280# XXX msgs?
281.if ${MK_MAIL} != "no"
282SUBDIR+=	biff
283SUBDIR+=	from
284SUBDIR+=	mail
285SUBDIR+=	msgs
286.endif
287
288.if ${MK_MAKE} != "no"
289.if ${MK_BMAKE} != "no"
290SUBDIR+=	bmake
291.else
292SUBDIR+=	make
293.endif
294.endif
295
296.if ${MK_MAN_UTILS} != "no"
297SUBDIR+=	catman
298_makewhatis=	makewhatis
299_man=		man
300.endif
301
302.if ${MK_NETCAT} != "no"
303SUBDIR+=	nc
304.endif
305
306.if ${MK_NIS} != "no"
307SUBDIR+=	ypcat
308SUBDIR+=	ypmatch
309SUBDIR+=	ypwhich
310.endif
311
312.if ${MK_OPENSSH} != "no"
313SUBDIR+=	ssh-copy-id
314.endif
315
316.if ${MK_OPENSSL} != "no"
317SUBDIR+=	bc
318SUBDIR+=	chkey
319SUBDIR+=	dc
320SUBDIR+=	newkey
321.endif
322
323.if ${MK_QUOTAS} != "no"
324SUBDIR+=	quota
325.endif
326
327.if ${MK_RCMDS} != "no"
328SUBDIR+=	rlogin
329SUBDIR+=	rsh
330SUBDIR+=	ruptime
331SUBDIR+=	rwho
332.endif
333
334.if ${MK_SENDMAIL} != "no"
335SUBDIR+=	vacation
336.endif
337
338.if ${MK_TALK} != "no"
339SUBDIR+=	talk
340.endif
341
342.if ${MK_TELNET} != "no"
343SUBDIR+=	telnet
344.endif
345
346.if ${MK_TESTS} != "no"
347_tests=		tests
348.endif
349
350.if ${MK_TEXTPROC} != "no"
351SUBDIR+=	checknr
352SUBDIR+=	colcrt
353SUBDIR+=	ul
354.endif
355
356.if ${MK_TOOLCHAIN} != "no"
357SUBDIR+=	ar
358SUBDIR+=	c89
359SUBDIR+=	c99
360SUBDIR+=	ctags
361SUBDIR+=	file2c
362SUBDIR+=	gprof
363SUBDIR+=	indent
364SUBDIR+=	lex
365SUBDIR+=	mkstr
366SUBDIR+=	rpcgen
367SUBDIR+=	unifdef
368SUBDIR+=	xlint
369SUBDIR+=	xstr
370SUBDIR+=	yacc
371.endif
372
373.if ${MK_VT} != "no"
374SUBDIR+=	vtfontcvt
375.endif
376
377.if ${MK_USB} != "no"
378SUBDIR+=	usbhidaction
379SUBDIR+=	usbhidctl
380.endif
381
382.if ${MK_UTMPX} != "no"
383SUBDIR+=	last
384SUBDIR+=	users
385SUBDIR+=	who
386.endif
387
388.if ${MK_SVN} == "yes" || ${MK_SVNLITE} == "yes"
389SUBDIR+=	svn
390.endif
391
392.include <bsd.arch.inc.mk>
393
394SUBDIR:=	${SUBDIR:O}
395
396SUBDIR_PARALLEL=
397
398.include <bsd.subdir.mk>
399