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