Makefile revision 235268
1#	From: @(#)Makefile	8.3 (Berkeley) 1/7/94
2# $FreeBSD: head/usr.bin/Makefile 235268 2012-05-11 12:47:21Z gabor $
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	mkuzip \
109	mt \
110	ncal \
111	netstat \
112	newgrp \
113	nfsstat \
114	nice \
115	nl \
116	nohup \
117	opieinfo \
118	opiekey \
119	opiepasswd \
120	pagesize \
121	passwd \
122	paste \
123	pathchk \
124	perror \
125	pr \
126	printenv \
127	printf \
128	procstat \
129	rctl \
130	renice \
131	rev \
132	revoke \
133	rpcinfo \
134	rs \
135	rup \
136	rusers \
137	rwall \
138	script \
139	sed \
140	seq \
141	shar \
142	showmount \
143	sockstat \
144	sort \
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.if ${MK_KERBEROS_SUPPORT} != "no"
267SUBDIR+=	compile_et
268.endif
269
270# XXX msgs?
271.if ${MK_MAIL} != "no"
272SUBDIR+=	biff
273SUBDIR+=	from
274SUBDIR+=	mail
275SUBDIR+=	msgs
276.endif
277
278.if ${MK_MAKE} != "no"
279SUBDIR+=	make
280.endif
281
282.if ${MK_MAN_UTILS} != "no"
283_makewhatis=	makewhatis
284_man=		man
285.endif
286
287.if ${MK_NETCAT} != "no"
288SUBDIR+=	nc
289.endif
290
291.if ${MK_NIS} != "no"
292SUBDIR+=	ypcat
293SUBDIR+=	ypmatch
294SUBDIR+=	ypwhich
295.endif
296
297.if ${MK_QUOTAS} != "no"
298SUBDIR+=	quota
299.endif
300
301.if ${MK_RCMDS} != "no"
302SUBDIR+=	rlogin
303SUBDIR+=	rsh
304SUBDIR+=	ruptime
305SUBDIR+=	rwho
306.endif
307
308.if ${MK_SENDMAIL} != "no"
309SUBDIR+=	vacation
310.endif
311
312.if ${MK_TELNET} != "no"
313SUBDIR+=	telnet
314.endif
315
316.if ${MK_TEXTPROC} != "no"
317SUBDIR+=	checknr
318SUBDIR+=	colcrt
319SUBDIR+=	ul
320.endif
321
322.if ${MK_TOOLCHAIN} != "no"
323SUBDIR+=	ar
324SUBDIR+=	c89
325SUBDIR+=	c99
326SUBDIR+=	ctags
327SUBDIR+=	file2c
328SUBDIR+=	gprof
329SUBDIR+=	indent
330SUBDIR+=	lex
331SUBDIR+=	mkstr
332SUBDIR+=	rpcgen
333SUBDIR+=	unifdef
334SUBDIR+=	xlint
335SUBDIR+=	xstr
336SUBDIR+=	yacc
337.endif
338
339.if ${MK_USB} != "no"
340SUBDIR+=	usbhidaction
341SUBDIR+=	usbhidctl
342.endif
343
344.if ${MK_UTMPX} != "no"
345SUBDIR+=	last
346SUBDIR+=	users
347SUBDIR+=	who
348.endif
349
350.include <bsd.arch.inc.mk>
351
352SUBDIR:=	${SUBDIR:O}
353
354.include <bsd.subdir.mk>
355