Makefile revision 236244
1#	From: @(#)Makefile	8.3 (Berkeley) 1/7/94
2# $FreeBSD: stable/9/usr.bin/Makefile 236244 2012-05-29 16:21:43Z jpaetzel $
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	du \
40	ee \
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	mesg \
100	minigzip \
101	ministat \
102	${_mkcsmapper} \
103	mkdep \
104	${_mkesdb} \
105	mkfifo \
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	pathchk \
125	perror \
126	pr \
127	printenv \
128	printf \
129	procstat \
130	rctl \
131	renice \
132	rev \
133	revoke \
134	rpcinfo \
135	rs \
136	rup \
137	rusers \
138	rwall \
139	script \
140	sed \
141	seq \
142	shar \
143	showmount \
144	sockstat \
145	split \
146	stat \
147	stdbuf \
148	su \
149	systat \
150	tabs \
151	tail \
152	talk \
153	tar \
154	tcopy \
155	tee \
156	tftp \
157	time \
158	tip \
159	top \
160	touch \
161	tput \
162	tr \
163	true \
164	truncate \
165	truss \
166	tset \
167	tsort \
168	tty \
169	uname \
170	unexpand \
171	uniq \
172	unzip \
173	units \
174	unvis \
175	uudecode \
176	uuencode \
177	vi \
178	vis \
179	vmstat \
180	w \
181	wall \
182	wc \
183	what \
184	whereis \
185	which \
186	whois \
187	write \
188	xargs \
189	xinstall \
190	${_xlint} \
191	${_xstr} \
192	xz \
193	xzdec \
194	${_yacc} \
195	yes \
196	${_ypcat} \
197	${_ypmatch} \
198	${_ypwhich}
199
200# NB: keep these sorted by MK_* knobs
201
202.if ${MK_AT} != "no"
203SUBDIR+=	at
204.endif
205
206.if ${MK_ATM} != "no"
207SUBDIR+=	atm
208.endif
209
210.if ${MK_MAN_UTILS} != "no"
211SUBDIR+=	catman
212.endif
213
214.if ${MK_BIND_UTILS} != "no"
215SUBDIR+=	dig
216SUBDIR+=	host
217SUBDIR+=	nslookup
218SUBDIR+=	nsupdate
219.endif
220
221.if ${MK_BLUETOOTH} != "no"
222SUBDIR+=	bluetooth
223.endif
224
225.if ${MK_BSD_CPIO} != "no"
226SUBDIR+=	cpio
227.endif
228
229.if ${MK_CALENDAR} != "no"
230SUBDIR+=	calendar
231.endif
232
233.if ${MK_CLANG} != "no"
234_clang=		clang
235.endif
236
237.if ${MK_HESIOD} != "no"
238SUBDIR+=	hesinfo
239.endif
240
241.if ${MK_ICONV} != "no"
242_iconv=		iconv
243_mkcsmapper=	mkcsmapper
244_mkesdb=	mkesdb
245.endif
246
247.if ${MK_GROFF} != "no"
248SUBDIR+=	vgrind
249.endif
250
251.if ${MK_OPENSSL} != "no"
252SUBDIR+=	bc
253SUBDIR+=	chkey
254SUBDIR+=	dc
255SUBDIR+=	newkey
256.endif
257
258.if ${MK_LIBTHR} != "no"
259SUBDIR+=	csup
260.endif
261
262.if ${MK_LOCATE} != "no"
263SUBDIR+=	locate
264.endif
265
266# XXX msgs?
267.if ${MK_MAIL} != "no"
268SUBDIR+=	biff
269SUBDIR+=	from
270SUBDIR+=	mail
271SUBDIR+=	msgs
272.endif
273
274.if ${MK_MAKE} != "no"
275SUBDIR+=	make
276.endif
277
278.if ${MK_MAN_UTILS} != "no"
279_makewhatis=	makewhatis
280_man=		man
281.endif
282
283.if ${MK_NETCAT} != "no"
284SUBDIR+=	nc
285.endif
286
287.if ${MK_NIS} != "no"
288SUBDIR+=	ypcat
289SUBDIR+=	ypmatch
290SUBDIR+=	ypwhich
291.endif
292
293.if ${MK_QUOTAS} != "no"
294SUBDIR+=	quota
295.endif
296
297.if ${MK_RCMDS} != "no"
298SUBDIR+=	rlogin
299SUBDIR+=	rsh
300SUBDIR+=	ruptime
301SUBDIR+=	rwho
302.endif
303
304.if ${MK_SENDMAIL} != "no"
305SUBDIR+=	vacation
306.endif
307
308.if ${MK_TELNET} != "no"
309SUBDIR+=	telnet
310.endif
311
312.if ${MK_TEXTPROC} != "no"
313SUBDIR+=	checknr
314SUBDIR+=	colcrt
315SUBDIR+=	ul
316.endif
317
318.if ${MK_TOOLCHAIN} != "no"
319SUBDIR+=	ar
320SUBDIR+=	c89
321SUBDIR+=	c99
322SUBDIR+=	compile_et
323SUBDIR+=	ctags
324SUBDIR+=	file2c
325SUBDIR+=	gprof
326SUBDIR+=	indent
327SUBDIR+=	lex
328SUBDIR+=	mkstr
329SUBDIR+=	rpcgen
330SUBDIR+=	unifdef
331SUBDIR+=	xlint
332SUBDIR+=	xstr
333SUBDIR+=	yacc
334.endif
335
336.if ${MK_USB} != "no"
337SUBDIR+=	usbhidaction
338SUBDIR+=	usbhidctl
339.endif
340
341.if ${MK_UTMPX} != "no"
342SUBDIR+=	last
343SUBDIR+=	users
344SUBDIR+=	who
345SUBDIR+=	wtmpcvt
346.endif
347
348.include <bsd.arch.inc.mk>
349
350SUBDIR:=	${SUBDIR:O}
351
352.include <bsd.subdir.mk>
353