xref: /freebsd/usr.bin/Makefile (revision 3829a7346880c0e2bec70a23c3169714fb0b1e58)
1#	From: @(#)Makefile	8.3 (Berkeley) 1/7/94
2# $FreeBSD$
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	lzmainfo \
118	m4 \
119	${_mail} \
120	${_make} \
121	makewhatis \
122	mesg \
123	minigzip \
124	ministat \
125	mkdep \
126	mkfifo \
127	mklocale \
128	${_mkstr} \
129	mktemp \
130	mkuzip \
131	${_msgs} \
132	mt \
133	${_nc} \
134	ncal \
135	${_ncplist} \
136	${_ncplogin} \
137	netstat \
138	newgrp \
139	${_newkey} \
140	nfsstat \
141	nice \
142	nl \
143	nohup \
144	${_nslookup} \
145	${_nsupdate} \
146	opieinfo \
147	opiekey \
148	opiepasswd \
149	pagesize \
150	passwd \
151	paste \
152	pathchk \
153	perror \
154	pr \
155	printenv \
156	printf \
157	procstat \
158	${_quota} \
159	renice \
160	rev \
161	revoke \
162	${_rlogin} \
163	${_rpcgen} \
164	rpcinfo \
165	rs \
166	${_rsh} \
167	rup \
168	${_ruptime} \
169	rusers \
170	rwall \
171	${_rwho} \
172	script \
173	sed \
174	shar \
175	showmount \
176	${_smbutil} \
177	sockstat \
178	split \
179	stat \
180	su \
181	systat \
182	tabs \
183	tail \
184	talk \
185	tar \
186	tcopy \
187	tee \
188	${_telnet} \
189	tftp \
190	time \
191	tip \
192	top \
193	touch \
194	tput \
195	tr \
196	true \
197	truncate \
198	${_truss} \
199	tset \
200	tsort \
201	tty \
202	${_ul} \
203	uname \
204	unexpand \
205	${_unifdef} \
206	uniq \
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	xz \
233	xzdec \
234	${_yacc} \
235	yes \
236	${_ypcat} \
237	${_ypmatch} \
238	${_ypwhich}
239
240.if ${MACHINE_ARCH} != "arm"
241_truss=		truss
242.endif
243
244# NB: keep these sorted by MK_* knobs
245
246.if ${MK_AT} != "no"
247_at=		at
248.endif
249
250.if ${MK_ATM} != "no"
251_atm=		atm
252.endif
253
254.if ${MK_MAN} != "no"
255_catman=	catman
256.endif
257
258.if ${MK_BIND_UTILS} != "no"
259_dig=		dig
260_host=		host
261_nslookup=	nslookup
262_nsupdate=	nsupdate
263.endif
264
265.if ${MK_BLUETOOTH} != "no"
266_bluetooth=	bluetooth
267.endif
268
269.if ${MK_BSD_CPIO} != "no"
270_cpio=		cpio
271.endif
272
273.if ${MK_CALENDAR} != "no"
274_calendar=	calendar
275.endif
276
277.if ${MK_HESIOD} != "no"
278_hesinfo=	hesinfo
279.endif
280
281.if ${MK_OPENSSL} != "no"
282_chkey=		chkey
283_newkey=	newkey
284.if ${MK_LIBTHR} != "no"
285_csup=		csup
286.endif
287.endif
288
289.if ${MK_LOCATE} != "no"
290_locate=	locate
291.endif
292
293# XXX msgs?
294.if ${MK_MAIL} != "no"
295_biff=		biff
296_fmt=		fmt
297_from=		from
298_mail=		mail
299_msgs=		msgs
300.endif
301
302.if ${MK_MAKE} != "no"
303_make=		make
304.endif
305
306.if ${MK_NETCAT} != "no"
307_nc=		nc
308.endif
309
310.if ${MK_NIS} != "no"
311_ypcat=		ypcat
312_ypmatch=	ypmatch
313_ypwhich=	ypwhich
314.endif
315
316.if ${MK_QUOTAS} != "no"
317_quota=		quota
318.endif
319
320.if ${MK_RCMDS} != "no"
321_rlogin=	rlogin
322_rsh=		rsh
323_ruptime=	ruptime
324_rwho=		rwho
325.endif
326
327.if ${MK_SENDMAIL} != "no"
328_vacation=	vacation
329.endif
330
331.if ${MK_TELNET} != "no"
332_telnet=	telnet
333.endif
334
335.if ${MK_TEXTPROC} != "no"
336_checknr=	checknr
337_colcrt=	colcrt
338_ul=		ul
339.endif
340
341.if ${MK_TOOLCHAIN} != "no"
342_ar=		ar
343_c89=		c89
344_c99=		c99
345_compile_et=	compile_et
346_ctags=		ctags
347_file2c=	file2c
348_gprof=		gprof
349_indent=	indent
350_lex=		lex
351_mkstr=		mkstr
352_rpcgen=	rpcgen
353_unifdef=	unifdef
354_xlint=		xlint
355_xstr=		xstr
356# XXX maybe under textproc?
357_vgrind=	vgrind
358_yacc=		yacc
359.endif
360
361.if ${MK_USB} != "no"
362_usbhidaction=	usbhidaction
363_usbhidctl=	usbhidctl
364.endif
365
366.if ${MACHINE_ARCH} == "i386"
367.if ${MK_NCP} != "no"
368_ncplist=	ncplist
369_ncplogin=	ncplogin
370.endif
371_smbutil=	smbutil
372.endif
373
374.if ${MACHINE_ARCH} == "ia64"
375_smbutil=	smbutil
376.endif
377
378.if ${MACHINE_ARCH} == "amd64"
379.if ${MK_NCP} != "no"
380_ncplist=	ncplist
381_ncplogin=	ncplogin
382.endif
383_smbutil=	smbutil
384.endif
385
386.if ${MACHINE_ARCH} == "powerpc"
387_smbutil=	smbutil
388.endif
389
390.include <bsd.subdir.mk>
391