Makefile revision 204103
1#	From: @(#)Makefile	8.3 (Berkeley) 1/7/94
2# $FreeBSD: head/usr.bin/Makefile 204103 2010-02-19 23:54:12Z delphij $
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	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	seq \
176	shar \
177	showmount \
178	${_smbutil} \
179	sockstat \
180	split \
181	stat \
182	su \
183	systat \
184	tabs \
185	tail \
186	talk \
187	tar \
188	tcopy \
189	tee \
190	${_telnet} \
191	tftp \
192	time \
193	tip \
194	top \
195	touch \
196	tput \
197	tr \
198	true \
199	truncate \
200	${_truss} \
201	tset \
202	tsort \
203	tty \
204	${_ul} \
205	uname \
206	unexpand \
207	${_unifdef} \
208	uniq \
209	unzip \
210	units \
211	unvis \
212	${_usbhidaction} \
213	${_usbhidctl} \
214	users \
215	uudecode \
216	uuencode \
217	${_vacation} \
218	${_vgrind} \
219	vi \
220	vis \
221	vmstat \
222	w \
223	wall \
224	wc \
225	what \
226	whereis \
227	which \
228	who \
229	whois \
230	write \
231	wtmpcvt \
232	xargs \
233	xinstall \
234	${_xlint} \
235	${_xstr} \
236	${_yacc} \
237	yes \
238	${_ypcat} \
239	${_ypmatch} \
240	${_ypwhich}
241
242.if ${MACHINE_ARCH} != "arm"
243_truss=		truss
244.endif
245
246# NB: keep these sorted by MK_* knobs
247
248.if ${MK_AT} != "no"
249_at=		at
250.endif
251
252.if ${MK_ATM} != "no"
253_atm=		atm
254.endif
255
256.if ${MK_MAN} != "no"
257_catman=	catman
258.endif
259
260.if ${MK_BIND_UTILS} != "no"
261_dig=		dig
262_host=		host
263_nslookup=	nslookup
264_nsupdate=	nsupdate
265.endif
266
267.if ${MK_BLUETOOTH} != "no"
268_bluetooth=	bluetooth
269.endif
270
271.if ${MK_BSD_CPIO} != "no"
272_cpio=		cpio
273.endif
274
275.if ${MK_CALENDAR} != "no"
276_calendar=	calendar
277.endif
278
279.if ${MK_HESIOD} != "no"
280_hesinfo=	hesinfo
281.endif
282
283.if ${MK_OPENSSL} != "no"
284_bc=		bc
285_chkey=		chkey
286_dc=		dc
287_newkey=	newkey
288.if ${MK_LIBTHR} != "no"
289_csup=		csup
290.endif
291.endif
292
293.if ${MK_LOCATE} != "no"
294_locate=	locate
295.endif
296
297# XXX msgs?
298.if ${MK_MAIL} != "no"
299_biff=		biff
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