Makefile revision 207842
1#	From: @(#)Makefile	8.3 (Berkeley) 1/7/94
2# $FreeBSD: head/usr.bin/Makefile 207842 2010-05-10 06:59:50Z mm $
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} != "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_NETCAT} != "no"
313_nc=		nc
314.endif
315
316.if ${MK_NIS} != "no"
317_ypcat=		ypcat
318_ypmatch=	ypmatch
319_ypwhich=	ypwhich
320.endif
321
322.if ${MK_QUOTAS} != "no"
323_quota=		quota
324.endif
325
326.if ${MK_RCMDS} != "no"
327_rlogin=	rlogin
328_rsh=		rsh
329_ruptime=	ruptime
330_rwho=		rwho
331.endif
332
333.if ${MK_SENDMAIL} != "no"
334_vacation=	vacation
335.endif
336
337.if ${MK_TELNET} != "no"
338_telnet=	telnet
339.endif
340
341.if ${MK_TEXTPROC} != "no"
342_checknr=	checknr
343_colcrt=	colcrt
344_ul=		ul
345.endif
346
347.if ${MK_TOOLCHAIN} != "no"
348_ar=		ar
349_c89=		c89
350_c99=		c99
351_compile_et=	compile_et
352_ctags=		ctags
353_file2c=	file2c
354_gprof=		gprof
355_indent=	indent
356_lex=		lex
357_mkstr=		mkstr
358_rpcgen=	rpcgen
359_unifdef=	unifdef
360_xlint=		xlint
361_xstr=		xstr
362# XXX maybe under textproc?
363_vgrind=	vgrind
364_yacc=		yacc
365.endif
366
367.if ${MK_USB} != "no"
368_usbhidaction=	usbhidaction
369_usbhidctl=	usbhidctl
370.endif
371
372.if ${MACHINE_ARCH} == "i386"
373.if ${MK_NCP} != "no"
374_ncplist=	ncplist
375_ncplogin=	ncplogin
376.endif
377_smbutil=	smbutil
378.endif
379
380.if ${MACHINE_ARCH} == "ia64"
381_smbutil=	smbutil
382.endif
383
384.if ${MACHINE_ARCH} == "amd64"
385.if ${MK_NCP} != "no"
386_ncplist=	ncplist
387_ncplogin=	ncplogin
388.endif
389_smbutil=	smbutil
390.endif
391
392.if ${MACHINE_ARCH} == "powerpc"
393_smbutil=	smbutil
394.endif
395
396.if ${MACHINE_ARCH} == "sparc64"
397_smbutil=	smbutil
398.endif
399
400.include <bsd.subdir.mk>
401