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