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