Makefile revision 211189
1#	From: @(#)Makefile	8.3 (Berkeley) 1/7/94
2# $FreeBSD: head/usr.bin/Makefile 211189 2010-08-11 18:23:26Z delphij $
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: apropos diff ld man patch whatis
9# Moved to secure: bdes
10#
11
12SUBDIR=	alias \
13	apply \
14	${_ar} \
15	asa \
16	${_at} \
17	${_atm} \
18	awk \
19	banner \
20	basename \
21	${_bc} \
22	${_biff} \
23	${_bluetooth} \
24	brandelf \
25	bsdiff \
26	bzip2 \
27	bzip2recover \
28	${_c89} \
29	${_c99} \
30	${_calendar} \
31	cap_mkdb \
32	${_catman} \
33	chat \
34	${_checknr} \
35	${_chkey} \
36	chpass \
37	cksum \
38	${_clang} \
39	cmp \
40	col \
41	${_colcrt} \
42	colldef \
43	colrm \
44	column \
45	comm \
46	${_compile_et} \
47	compress \
48	${_cpio} \
49	cpuset \
50	csplit \
51	${_csup} \
52	${_ctags} \
53	cut \
54	${_dc} \
55	${_dig} \
56	dirname \
57	du \
58	ee \
59	elf2aout \
60	elfdump \
61	enigma \
62	env \
63	expand \
64	false \
65	fetch \
66	file \
67	${_file2c} \
68	find \
69	finger \
70	fmt \
71	fold \
72	${_from} \
73	fstat \
74	fsync \
75	ftp \
76	gcore \
77	gencat \
78	getconf \
79	getent \
80	getopt \
81	${_gprof} \
82	${_grep} \
83	gzip \
84	head \
85	${_hesinfo} \
86	hexdump \
87	${_host} \
88	id \
89	${_indent} \
90	ipcrm \
91	ipcs \
92	join \
93	jot \
94	kdump \
95	keylogin \
96	keylogout \
97	killall \
98	ktrace \
99	ktrdump \
100	lam \
101	last \
102	lastcomm \
103	ldd \
104	leave \
105	less \
106	lessecho \
107	lesskey \
108	${_lex} \
109	limits \
110	locale \
111	${_locate} \
112	lock \
113	lockf \
114	logger \
115	login \
116	logins \
117	logname \
118	look \
119	lorder \
120	lsvfs \
121	lzmainfo \
122	m4 \
123	${_mail} \
124	${_make} \
125	${_makewhatis} \
126	mesg \
127	minigzip \
128	ministat \
129	mkdep \
130	mkfifo \
131	mklocale \
132	${_mkstr} \
133	mktemp \
134	mkuzip \
135	${_msgs} \
136	mt \
137	${_nc} \
138	ncal \
139	${_ncplist} \
140	${_ncplogin} \
141	netstat \
142	newgrp \
143	${_newkey} \
144	nfsstat \
145	nice \
146	nl \
147	nohup \
148	${_nslookup} \
149	${_nsupdate} \
150	opieinfo \
151	opiekey \
152	opiepasswd \
153	pagesize \
154	passwd \
155	paste \
156	pathchk \
157	perror \
158	pr \
159	printenv \
160	printf \
161	procstat \
162	${_quota} \
163	renice \
164	rev \
165	revoke \
166	${_rlogin} \
167	${_rpcgen} \
168	rpcinfo \
169	rs \
170	${_rsh} \
171	rup \
172	${_ruptime} \
173	rusers \
174	rwall \
175	${_rwho} \
176	script \
177	sed \
178	seq \
179	shar \
180	showmount \
181	${_smbutil} \
182	sockstat \
183	split \
184	stat \
185	su \
186	systat \
187	tabs \
188	tail \
189	talk \
190	tar \
191	tcopy \
192	tee \
193	${_telnet} \
194	tftp \
195	time \
196	tip \
197	top \
198	touch \
199	tput \
200	tr \
201	true \
202	truncate \
203	${_truss} \
204	tset \
205	tsort \
206	tty \
207	${_ul} \
208	uname \
209	unexpand \
210	${_unifdef} \
211	uniq \
212	unzip \
213	units \
214	unvis \
215	${_usbhidaction} \
216	${_usbhidctl} \
217	users \
218	uudecode \
219	uuencode \
220	${_vacation} \
221	${_vgrind} \
222	vi \
223	vis \
224	vmstat \
225	w \
226	wall \
227	wc \
228	what \
229	whereis \
230	which \
231	who \
232	whois \
233	write \
234	wtmpcvt \
235	xargs \
236	xinstall \
237	${_xlint} \
238	${_xstr} \
239	xz \
240	xzdec \
241	${_yacc} \
242	yes \
243	${_ypcat} \
244	${_ypmatch} \
245	${_ypwhich}
246
247.if ${MACHINE_ARCH} != "arm"
248_truss=		truss
249.endif
250
251# NB: keep these sorted by MK_* knobs
252
253.if ${MK_AT} != "no"
254_at=		at
255.endif
256
257.if ${MK_ATM} != "no"
258_atm=		atm
259.endif
260
261.if ${MK_MAN_UTILS} != "no"
262_catman=	catman
263.endif
264
265.if ${MK_BIND_UTILS} != "no"
266_dig=		dig
267_host=		host
268_nslookup=	nslookup
269_nsupdate=	nsupdate
270.endif
271
272.if ${MK_BLUETOOTH} != "no"
273_bluetooth=	bluetooth
274.endif
275
276.if ${MK_BSD_CPIO} != "no"
277_cpio=		cpio
278.endif
279
280.if ${MK_CALENDAR} != "no"
281_calendar=	calendar
282.endif
283
284.if ${MK_CLANG} != "no"
285_clang=		clang
286.endif
287
288.if ${MK_GNU_GREP} != "yes"
289_grep=		grep
290.endif
291
292.if ${MK_HESIOD} != "no"
293_hesinfo=	hesinfo
294.endif
295
296.if ${MK_OPENSSL} != "no"
297_bc=		bc
298_chkey=		chkey
299_dc=		dc
300_newkey=	newkey
301.if ${MK_LIBTHR} != "no"
302_csup=		csup
303.endif
304.endif
305
306.if ${MK_LOCATE} != "no"
307_locate=	locate
308.endif
309
310# XXX msgs?
311.if ${MK_MAIL} != "no"
312_biff=		biff
313_from=		from
314_mail=		mail
315_msgs=		msgs
316.endif
317
318.if ${MK_MAKE} != "no"
319_make=		make
320.endif
321
322.if ${MK_MAN_UTILS} != "no"
323_makewhatis=	makewhatis
324.endif
325
326.if ${MK_NETCAT} != "no"
327_nc=		nc
328.endif
329
330.if ${MK_NIS} != "no"
331_ypcat=		ypcat
332_ypmatch=	ypmatch
333_ypwhich=	ypwhich
334.endif
335
336.if ${MK_QUOTAS} != "no"
337_quota=		quota
338.endif
339
340.if ${MK_RCMDS} != "no"
341_rlogin=	rlogin
342_rsh=		rsh
343_ruptime=	ruptime
344_rwho=		rwho
345.endif
346
347.if ${MK_SENDMAIL} != "no"
348_vacation=	vacation
349.endif
350
351.if ${MK_TELNET} != "no"
352_telnet=	telnet
353.endif
354
355.if ${MK_TEXTPROC} != "no"
356_checknr=	checknr
357_colcrt=	colcrt
358_ul=		ul
359.endif
360
361.if ${MK_TOOLCHAIN} != "no"
362_ar=		ar
363_c89=		c89
364_c99=		c99
365_compile_et=	compile_et
366_ctags=		ctags
367_file2c=	file2c
368_gprof=		gprof
369_indent=	indent
370_lex=		lex
371_mkstr=		mkstr
372_rpcgen=	rpcgen
373_unifdef=	unifdef
374_xlint=		xlint
375_xstr=		xstr
376# XXX maybe under textproc?
377_vgrind=	vgrind
378_yacc=		yacc
379.endif
380
381.if ${MK_USB} != "no"
382_usbhidaction=	usbhidaction
383_usbhidctl=	usbhidctl
384.endif
385
386.if ${MACHINE_ARCH} == "i386"
387.if ${MK_NCP} != "no"
388_ncplist=	ncplist
389_ncplogin=	ncplogin
390.endif
391_smbutil=	smbutil
392.endif
393
394.if ${MACHINE_ARCH} == "ia64"
395_smbutil=	smbutil
396.endif
397
398.if ${MACHINE_ARCH} == "amd64"
399.if ${MK_NCP} != "no"
400_ncplist=	ncplist
401_ncplogin=	ncplogin
402.endif
403_smbutil=	smbutil
404.endif
405
406.if ${MACHINE_ARCH} == "powerpc"
407_smbutil=	smbutil
408.endif
409
410.if ${MACHINE_ARCH} == "sparc64"
411_smbutil=	smbutil
412.endif
413
414.include <bsd.subdir.mk>
415