Makefile revision 202719
1#	From: @(#)Makefile	8.3 (Berkeley) 1/7/94
2# $FreeBSD: head/usr.bin/Makefile 202719 2010-01-20 21:30:52Z gabor $
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_chkey=		chkey
284_newkey=	newkey
285.if ${MK_LIBTHR} != "no"
286_csup=		csup
287.endif
288.endif
289
290.if ${MK_LOCATE} != "no"
291_locate=	locate
292.endif
293
294# XXX msgs?
295.if ${MK_MAIL} != "no"
296_biff=		biff
297_fmt=		fmt
298_from=		from
299_mail=		mail
300_msgs=		msgs
301.endif
302
303.if ${MK_MAKE} != "no"
304_make=		make
305.endif
306
307.if ${MK_NETCAT} != "no"
308_nc=		nc
309.endif
310
311.if ${MK_NIS} != "no"
312_ypcat=		ypcat
313_ypmatch=	ypmatch
314_ypwhich=	ypwhich
315.endif
316
317.if ${MK_QUOTAS} != "no"
318_quota=		quota
319.endif
320
321.if ${MK_RCMDS} != "no"
322_rlogin=	rlogin
323_rsh=		rsh
324_ruptime=	ruptime
325_rwho=		rwho
326.endif
327
328.if ${MK_SENDMAIL} != "no"
329_vacation=	vacation
330.endif
331
332.if ${MK_TELNET} != "no"
333_telnet=	telnet
334.endif
335
336.if ${MK_TEXTPROC} != "no"
337_checknr=	checknr
338_colcrt=	colcrt
339_ul=		ul
340.endif
341
342.if ${MK_TOOLCHAIN} != "no"
343_ar=		ar
344_c89=		c89
345_c99=		c99
346_compile_et=	compile_et
347_ctags=		ctags
348_file2c=	file2c
349_gprof=		gprof
350_indent=	indent
351_lex=		lex
352_mkstr=		mkstr
353_rpcgen=	rpcgen
354_unifdef=	unifdef
355_xlint=		xlint
356_xstr=		xstr
357# XXX maybe under textproc?
358_vgrind=	vgrind
359_yacc=		yacc
360.endif
361
362.if ${MK_USB} != "no"
363_usbhidaction=	usbhidaction
364_usbhidctl=	usbhidctl
365.endif
366
367.if ${MACHINE_ARCH} == "i386"
368.if ${MK_NCP} != "no"
369_ncplist=	ncplist
370_ncplogin=	ncplogin
371.endif
372_smbutil=	smbutil
373.endif
374
375.if ${MACHINE_ARCH} == "ia64"
376_smbutil=	smbutil
377.endif
378
379.if ${MACHINE_ARCH} == "amd64"
380.if ${MK_NCP} != "no"
381_ncplist=	ncplist
382_ncplogin=	ncplogin
383.endif
384_smbutil=	smbutil
385.endif
386
387.if ${MACHINE_ARCH} == "powerpc"
388_smbutil=	smbutil
389.endif
390
391.include <bsd.subdir.mk>
392