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