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