Makefile revision 202301
1#	From: @(#)Makefile	8.3 (Berkeley) 1/7/94
2# $FreeBSD: head/usr.bin/Makefile 202301 2010-01-14 20:58:45Z 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	unzip \
207	units \
208	unvis \
209	${_usbhidaction} \
210	${_usbhidctl} \
211	users \
212	uudecode \
213	uuencode \
214	${_vacation} \
215	${_vgrind} \
216	vi \
217	vis \
218	vmstat \
219	w \
220	wall \
221	wc \
222	what \
223	whereis \
224	which \
225	who \
226	whois \
227	write \
228	wtmpcvt \
229	xargs \
230	xinstall \
231	${_xlint} \
232	${_xstr} \
233	${_yacc} \
234	yes \
235	${_ypcat} \
236	${_ypmatch} \
237	${_ypwhich}
238
239.if ${MACHINE_ARCH} != "arm"
240_truss=		truss
241.endif
242
243# NB: keep these sorted by MK_* knobs
244
245.if ${MK_AT} != "no"
246_at=		at
247.endif
248
249.if ${MK_ATM} != "no"
250_atm=		atm
251.endif
252
253.if ${MK_MAN} != "no"
254_catman=	catman
255.endif
256
257.if ${MK_BIND_UTILS} != "no"
258_dig=		dig
259_host=		host
260_nslookup=	nslookup
261_nsupdate=	nsupdate
262.endif
263
264.if ${MK_BLUETOOTH} != "no"
265_bluetooth=	bluetooth
266.endif
267
268.if ${MK_BSD_CPIO} != "no"
269_cpio=		cpio
270.endif
271
272.if ${MK_CALENDAR} != "no"
273_calendar=	calendar
274.endif
275
276.if ${MK_HESIOD} != "no"
277_hesinfo=	hesinfo
278.endif
279
280.if ${MK_OPENSSL} != "no"
281_chkey=		chkey
282_newkey=	newkey
283.if ${MK_LIBTHR} != "no"
284_csup=		csup
285.endif
286.endif
287
288.if ${MK_LOCATE} != "no"
289_locate=	locate
290.endif
291
292# XXX msgs?
293.if ${MK_MAIL} != "no"
294_biff=		biff
295_fmt=		fmt
296_from=		from
297_mail=		mail
298_msgs=		msgs
299.endif
300
301.if ${MK_MAKE} != "no"
302_make=		make
303.endif
304
305.if ${MK_NETCAT} != "no"
306_nc=		nc
307.endif
308
309.if ${MK_NIS} != "no"
310_ypcat=		ypcat
311_ypmatch=	ypmatch
312_ypwhich=	ypwhich
313.endif
314
315.if ${MK_QUOTAS} != "no"
316_quota=		quota
317.endif
318
319.if ${MK_RCMDS} != "no"
320_rlogin=	rlogin
321_rsh=		rsh
322_ruptime=	ruptime
323_rwho=		rwho
324.endif
325
326.if ${MK_SENDMAIL} != "no"
327_vacation=	vacation
328.endif
329
330.if ${MK_TELNET} != "no"
331_telnet=	telnet
332.endif
333
334.if ${MK_TEXTPROC} != "no"
335_checknr=	checknr
336_colcrt=	colcrt
337_ul=		ul
338.endif
339
340.if ${MK_TOOLCHAIN} != "no"
341_ar=		ar
342_c89=		c89
343_c99=		c99
344_compile_et=	compile_et
345_ctags=		ctags
346_file2c=	file2c
347_gprof=		gprof
348_indent=	indent
349_lex=		lex
350_mkstr=		mkstr
351_rpcgen=	rpcgen
352_unifdef=	unifdef
353_xlint=		xlint
354_xstr=		xstr
355# XXX maybe under textproc?
356_vgrind=	vgrind
357_yacc=		yacc
358.endif
359
360.if ${MK_USB} != "no"
361_usbhidaction=	usbhidaction
362_usbhidctl=	usbhidctl
363.endif
364
365.if ${MACHINE_ARCH} == "i386"
366.if ${MK_NCP} != "no"
367_ncplist=	ncplist
368_ncplogin=	ncplogin
369.endif
370_smbutil=	smbutil
371.endif
372
373.if ${MACHINE_ARCH} == "ia64"
374_smbutil=	smbutil
375.endif
376
377.if ${MACHINE_ARCH} == "amd64"
378.if ${MK_NCP} != "no"
379_ncplist=	ncplist
380_ncplogin=	ncplogin
381.endif
382_smbutil=	smbutil
383.endif
384
385.if ${MACHINE_ARCH} == "powerpc"
386_smbutil=	smbutil
387.endif
388
389.include <bsd.subdir.mk>
390