Makefile revision 240404
1#	From: @(#)Makefile	8.3 (Berkeley) 1/7/94
2# $FreeBSD: head/usr.bin/Makefile 240404 2012-09-12 14:58:07Z obrien $
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	sort \
146	split \
147	stat \
148	stdbuf \
149	su \
150	systat \
151	tabs \
152	tail \
153	talk \
154	tar \
155	tcopy \
156	tee \
157	tftp \
158	time \
159	tip \
160	top \
161	touch \
162	tput \
163	tr \
164	true \
165	truncate \
166	${_truss} \
167	tset \
168	tsort \
169	tty \
170	uname \
171	unexpand \
172	uniq \
173	unzip \
174	units \
175	unvis \
176	uudecode \
177	uuencode \
178	vi \
179	vis \
180	vmstat \
181	w \
182	wall \
183	wc \
184	what \
185	whereis \
186	which \
187	whois \
188	write \
189	xargs \
190	xinstall \
191	${_xlint} \
192	${_xstr} \
193	xz \
194	xzdec \
195	${_yacc} \
196	yes \
197	${_ypcat} \
198	${_ypmatch} \
199	${_ypwhich}
200
201# NB: keep these sorted by MK_* knobs
202
203.if ${MK_AT} != "no"
204SUBDIR+=	at
205.endif
206
207.if ${MK_ATM} != "no"
208SUBDIR+=	atm
209.endif
210
211.if ${MK_BIND_UTILS} != "no"
212SUBDIR+=	dig
213SUBDIR+=	host
214SUBDIR+=	nslookup
215SUBDIR+=	nsupdate
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_GROFF} != "no"
235SUBDIR+=	vgrind
236.endif
237
238.if ${MK_HESIOD} != "no"
239SUBDIR+=	hesinfo
240.endif
241
242.if ${MK_ICONV} != "no"
243_iconv=		iconv
244_mkcsmapper=	mkcsmapper
245_mkesdb=	mkesdb
246.endif
247
248.if ${MK_KDUMP} != "no"
249SUBDIR+=        kdump
250SUBDIR+=        truss
251.endif
252
253.if ${MK_KERBEROS_SUPPORT} != "no"
254SUBDIR+=	compile_et
255.endif
256
257.if ${MK_LIBTHR} != "no"
258SUBDIR+=	csup
259.endif
260
261.if ${MK_LOCATE} != "no"
262SUBDIR+=	locate
263.endif
264
265# XXX msgs?
266.if ${MK_MAIL} != "no"
267SUBDIR+=	biff
268SUBDIR+=	from
269SUBDIR+=	mail
270SUBDIR+=	msgs
271.endif
272
273.if ${MK_MAKE} != "no"
274SUBDIR+=	make
275.endif
276
277.if ${MK_MAN_UTILS} != "no"
278SUBDIR+=	catman
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_OPENSSL} != "no"
294SUBDIR+=	bc
295SUBDIR+=	chkey
296SUBDIR+=	dc
297SUBDIR+=	newkey
298.endif
299
300.if ${MK_QUOTAS} != "no"
301SUBDIR+=	quota
302.endif
303
304.if ${MK_RCMDS} != "no"
305SUBDIR+=	rlogin
306SUBDIR+=	rsh
307SUBDIR+=	ruptime
308SUBDIR+=	rwho
309.endif
310
311.if ${MK_SENDMAIL} != "no"
312SUBDIR+=	vacation
313.endif
314
315.if ${MK_TELNET} != "no"
316SUBDIR+=	telnet
317.endif
318
319.if ${MK_TEXTPROC} != "no"
320SUBDIR+=	checknr
321SUBDIR+=	colcrt
322SUBDIR+=	ul
323.endif
324
325.if ${MK_TOOLCHAIN} != "no"
326SUBDIR+=	ar
327SUBDIR+=	c89
328SUBDIR+=	c99
329SUBDIR+=	ctags
330SUBDIR+=	file2c
331SUBDIR+=	gprof
332SUBDIR+=	indent
333SUBDIR+=	lex
334SUBDIR+=	mkstr
335SUBDIR+=	rpcgen
336SUBDIR+=	unifdef
337SUBDIR+=	xlint
338SUBDIR+=	xstr
339SUBDIR+=	yacc
340.endif
341
342.if ${MK_USB} != "no"
343SUBDIR+=	usbhidaction
344SUBDIR+=	usbhidctl
345.endif
346
347.if ${MK_UTMPX} != "no"
348SUBDIR+=	last
349SUBDIR+=	users
350SUBDIR+=	who
351.endif
352
353.include <bsd.arch.inc.mk>
354
355SUBDIR:=	${SUBDIR:O}
356
357.include <bsd.subdir.mk>
358