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