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