Makefile revision 233337
1131661Sdas#	From: @(#)Makefile	8.3 (Berkeley) 1/7/94
2131661Sdas# $FreeBSD: head/usr.bin/Makefile 233337 2012-03-23 03:16:35Z stas $
3131661Sdas
4131661Sdas.include <bsd.own.mk>
5131661Sdas
6131661Sdas# XXX MISSING:		deroff diction graph learn plot
7131661Sdas#			spell spline struct xsend
8131661Sdas# XXX Use GNU versions: diff ld patch
9131661Sdas# Moved to secure: bdes
10131661Sdas#
11131661Sdas
12131661SdasSUBDIR=	alias \
13131661Sdas	apply \
14131661Sdas	asa \
15131661Sdas	awk \
16131661Sdas	banner \
17131661Sdas	basename \
18131661Sdas	brandelf \
19131661Sdas	bsdiff \
20131661Sdas	bzip2 \
21131661Sdas	bzip2recover \
22131661Sdas	cap_mkdb \
23131661Sdas	chat \
24131661Sdas	chpass \
25131661Sdas	cksum \
26131661Sdas	${_clang} \
27131661Sdas	cmp \
28131661Sdas	col \
29131661Sdas	colldef \
30131661Sdas	colrm \
31131661Sdas	column \
32131661Sdas	comm \
33131661Sdas	compress \
34131661Sdas	cpuset \
35131661Sdas	csplit \
36131661Sdas	ctlstat \
37131661Sdas	cut \
38131661Sdas	dirname \
39131661Sdas	du \
40131661Sdas	ee \
41131661Sdas	elf2aout \
42131661Sdas	elfdump \
43131661Sdas	enigma \
44131661Sdas	env \
45131661Sdas	expand \
46131661Sdas	false \
47131661Sdas	fetch \
48131661Sdas	file \
49131661Sdas	find \
50131661Sdas	finger \
51131661Sdas	fmt \
52131661Sdas	fold \
53131661Sdas	fstat \
54131661Sdas	fsync \
55131661Sdas	ftp \
56131661Sdas	gcore \
57131661Sdas	gencat \
58131661Sdas	getconf \
59131661Sdas	getent \
60131661Sdas	getopt \
61131661Sdas	grep \
62131661Sdas	gzip \
63131661Sdas	head \
64131661Sdas	hexdump \
65131661Sdas	${_iconv} \
66131661Sdas	id \
67131661Sdas	ipcrm \
68131661Sdas	ipcs \
69131661Sdas	join \
70131661Sdas	jot \
71131661Sdas	kdump \
72131661Sdas	keylogin \
73131661Sdas	keylogout \
74131661Sdas	killall \
75131661Sdas	ktrace \
76131661Sdas	ktrdump \
77131661Sdas	lam \
78131661Sdas	lastcomm \
79131661Sdas	ldd \
80131661Sdas	leave \
81131661Sdas	less \
82131661Sdas	lessecho \
83131661Sdas	lesskey \
84131661Sdas	limits \
85131661Sdas	locale \
86131661Sdas	lock \
87131661Sdas	lockf \
88131661Sdas	logger \
89131661Sdas	login \
90131661Sdas	logins \
91131661Sdas	logname \
92131661Sdas	look \
93131661Sdas	lorder \
94131661Sdas	lsvfs \
95131661Sdas	lzmainfo \
96131661Sdas	m4 \
97131661Sdas	${_makewhatis} \
98131661Sdas	${_man} \
99131661Sdas	mesg \
100131661Sdas	minigzip \
101131661Sdas	ministat \
102131661Sdas	${_mkcsmapper} \
103131661Sdas	mkdep \
104131661Sdas	${_mkesdb} \
105131661Sdas	mkfifo \
106131661Sdas	mklocale \
107131661Sdas	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