Makefile revision 275042
1#	From: @(#)Makefile	8.3 (Berkeley) 1/7/94
2# $FreeBSD: head/usr.bin/Makefile 275042 2014-11-25 14:29:10Z bapt $
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=	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	demandoc \
39	dirname \
40	dpv \
41	du \
42	ee \
43	elf2aout \
44	elfdump \
45	enigma \
46	env \
47	expand \
48	false \
49	fetch \
50	file \
51	find \
52	finger \
53	fmt \
54	fold \
55	fstat \
56	fsync \
57	ftp \
58	gcore \
59	gencat \
60	getconf \
61	getent \
62	getopt \
63	grep \
64	gzip \
65	head \
66	hexdump \
67	${_iconv} \
68	id \
69	ipcrm \
70	ipcs \
71	iscsictl \
72	join \
73	jot \
74	${_kdump} \
75	keylogin \
76	keylogout \
77	killall \
78	ktrace \
79	ktrdump \
80	lam \
81	lastcomm \
82	ldd \
83	leave \
84	less \
85	lessecho \
86	lesskey \
87	limits \
88	locale \
89	lock \
90	lockf \
91	logger \
92	login \
93	logins \
94	logname \
95	look \
96	lorder \
97	lsvfs \
98	lzmainfo \
99	m4 \
100	${_makewhatis} \
101	${_man} \
102	mandoc \
103	mesg \
104	minigzip \
105	ministat \
106	${_mkcsmapper} \
107	mkdep \
108	${_mkesdb} \
109	mkfifo \
110	mkimg \
111	mklocale \
112	mktemp \
113	mkulzma \
114	mkuzip \
115	mt \
116	ncal \
117	netstat \
118	newgrp \
119	nfsstat \
120	nice \
121	nl \
122	nohup \
123	opieinfo \
124	opiekey \
125	opiepasswd \
126	pagesize \
127	passwd \
128	paste \
129	patch \
130	pathchk \
131	perror \
132	pr \
133	preconv \
134	printenv \
135	printf \
136	procstat \
137	rctl \
138	renice \
139	rev \
140	revoke \
141	rpcinfo \
142	rs \
143	rup \
144	rusers \
145	rwall \
146	script \
147	sed \
148	send-pr \
149	seq \
150	shar \
151	showmount \
152	sockstat \
153	soeliminate \
154	sort \
155	split \
156	stat \
157	stdbuf \
158	su \
159	systat \
160	tabs \
161	tail \
162	talk \
163	tar \
164	tcopy \
165	tee \
166	${_tests} \
167	tftp \
168	time \
169	timeout \
170	tip \
171	top \
172	touch \
173	tput \
174	tr \
175	true \
176	truncate \
177	${_truss} \
178	tset \
179	tsort \
180	tty \
181	uname \
182	unexpand \
183	uniq \
184	unzip \
185	units \
186	unvis \
187	uudecode \
188	uuencode \
189	vis \
190	vmstat \
191	w \
192	wall \
193	wc \
194	what \
195	whereis \
196	which \
197	whois \
198	write \
199	xargs \
200	xinstall \
201	${_xlint} \
202	xo \
203	${_xstr} \
204	xz \
205	xzdec \
206	${_yacc} \
207	yes \
208	${_ypcat} \
209	${_ypmatch} \
210	${_ypwhich}
211
212# NB: keep these sorted by MK_* knobs
213
214.if ${MK_AT} != "no"
215SUBDIR+=	at
216.endif
217
218.if ${MK_ATM} != "no"
219SUBDIR+=	atm
220.endif
221
222.if ${MK_BLUETOOTH} != "no"
223SUBDIR+=	bluetooth
224.endif
225
226.if ${MK_BSD_CPIO} != "no"
227SUBDIR+=	cpio
228.endif
229
230.if ${MK_CALENDAR} != "no"
231SUBDIR+=	calendar
232.endif
233
234.if ${MK_CLANG} != "no"
235_clang=		clang
236.endif
237
238.if ${MK_FMAKE} != "no"
239SUBDIR+=	make
240.endif
241
242.if ${MK_GPL_DTC} != "yes"
243SUBDIR+=	dtc
244.endif
245
246.if ${MK_GROFF} != "no"
247SUBDIR+=	vgrind
248.endif
249
250.if ${MK_HESIOD} != "no"
251SUBDIR+=	hesinfo
252.endif
253
254.if ${MK_ICONV} != "no"
255_iconv=		iconv
256_mkcsmapper=	mkcsmapper
257_mkesdb=	mkesdb
258.endif
259
260.if ${MK_KDUMP} != "no"
261SUBDIR+=        kdump
262SUBDIR+=        truss
263.endif
264
265.if ${MK_KERBEROS_SUPPORT} != "no"
266SUBDIR+=	compile_et
267.endif
268
269.if ${MK_LDNS_UTILS} != "no"
270SUBDIR+=	drill
271SUBDIR+=	host
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"
287SUBDIR+=	bmake
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_tests=		tests
338.endif
339
340.if ${MK_TEXTPROC} != "no"
341SUBDIR+=	checknr
342SUBDIR+=	colcrt
343SUBDIR+=	ul
344.endif
345
346.if ${MK_TOOLCHAIN} != "no"
347SUBDIR+=	ar
348SUBDIR+=	c89
349SUBDIR+=	c99
350SUBDIR+=	ctags
351SUBDIR+=	file2c
352SUBDIR+=	gprof
353SUBDIR+=	indent
354SUBDIR+=	lex
355SUBDIR+=	mkstr
356SUBDIR+=	rpcgen
357SUBDIR+=	unifdef
358SUBDIR+=	xlint
359SUBDIR+=	xstr
360SUBDIR+=	yacc
361.endif
362
363.if ${MK_VI} != "no"
364SUBDIR+=	vi
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