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