xref: /freebsd/usr.bin/Makefile (revision c71158d45355ad344b90b42af22dc619f06114b0)
1839f16abSGarrett Wollman#	From: @(#)Makefile	8.3 (Berkeley) 1/7/94
2c3aac50fSPeter Wemm# $FreeBSD$
39b50d902SRodney W. Grimes
40a50d08dSJordan K. Hubbard# XXX MISSING:		deroff diction graph learn plot
5861999b4SBruce Evans#			spell spline struct xsend
6fb22fc68SJuli Mallett# XXX Use GNU versions: apropos bc dc diff grep ld man patch whatis
773407b34SGarrett Wollman# Moved to secure: bdes
873407b34SGarrett Wollman#
9cfad5290SMarcel Moolenaar
105cd19a3cSGarrett WollmanSUBDIR=	alias \
115cd19a3cSGarrett Wollman	apply \
12cba9c8bdSTim J. Robbins	asa \
13cb7f1224SGary Palmer	at \
144f35c846SHartmut Brandt	${_atm} \
159a1523bcSDavid E. O'Brien	awk \
16cb7f1224SGary Palmer	banner \
17cb7f1224SGary Palmer	basename \
18cb7f1224SGary Palmer	biff \
19d10a8d6cSRuslan Ermilov	${_bluetooth} \
206eea92a4SDavid E. O'Brien	brandelf \
21d6a9fd06SDavid E. O'Brien	bzip2 \
22bc366011SDavid E. O'Brien	bzip2recover \
233bc2f9a8SPoul-Henning Kamp	${_c89} \
243bc2f9a8SPoul-Henning Kamp	${_c99} \
25cb7f1224SGary Palmer	calendar \
26cb7f1224SGary Palmer	cap_mkdb \
27bf7bec33SMark Murray	catman \
28cb7f1224SGary Palmer	chat \
29cb7f1224SGary Palmer	checknr \
30d10a8d6cSRuslan Ermilov	${_chkey} \
31cb7f1224SGary Palmer	chpass \
32cb7f1224SGary Palmer	cksum \
33cb7f1224SGary Palmer	cmp \
34cb7f1224SGary Palmer	col \
35cb7f1224SGary Palmer	colcrt \
36cb7f1224SGary Palmer	colldef \
37cb7f1224SGary Palmer	colrm \
38cb7f1224SGary Palmer	column \
39cb7f1224SGary Palmer	comm \
40cb7f1224SGary Palmer	compile_et \
41cb7f1224SGary Palmer	compress \
42ea9e961cSTim J. Robbins	csplit \
43cb7f1224SGary Palmer	ctags \
44cb7f1224SGary Palmer	cut \
45d10a8d6cSRuslan Ermilov	${_dig} \
46cb7f1224SGary Palmer	dirname \
47cb7f1224SGary Palmer	du \
48cb7f1224SGary Palmer	ee \
49cbb66355SDavid E. O'Brien	elf2aout \
508237286eSDavid E. O'Brien	elfdump \
51489c66feSJoerg Wunsch	enigma \
52cb7f1224SGary Palmer	env \
53cb7f1224SGary Palmer	expand \
54cb7f1224SGary Palmer	false \
55cb7f1224SGary Palmer	fetch \
56cb7f1224SGary Palmer	file \
57cb7f1224SGary Palmer	file2c \
58cb7f1224SGary Palmer	find \
59cb7f1224SGary Palmer	finger \
60cb7f1224SGary Palmer	fmt \
61cb7f1224SGary Palmer	fold \
62cb7f1224SGary Palmer	from \
6387bc830fSDima Ruban	fstat \
644aeb1c05SPaul Saab	fsync \
65cb7f1224SGary Palmer	ftp \
66155c182aSPeter Wemm	gcore \
67cb7f1224SGary Palmer	gencat \
68298f4dc3SJake Burkholder	getconf \
69cb7f1224SGary Palmer	getopt \
700bc81187SDavid E. O'Brien	${_gprof} \
71cb7f1224SGary Palmer	head \
7261a35ccdSJacques Vidrine	hesinfo \
73cb7f1224SGary Palmer	hexdump \
74d10a8d6cSRuslan Ermilov	${_host} \
75cb7f1224SGary Palmer	id \
76cb7f1224SGary Palmer	indent \
77cb7f1224SGary Palmer	ipcrm \
78cb7f1224SGary Palmer	ipcs \
79cb7f1224SGary Palmer	join \
80cb7f1224SGary Palmer	jot \
81cb7f1224SGary Palmer	kdump \
82cb7f1224SGary Palmer	keylogin \
83cb7f1224SGary Palmer	keylogout \
84cb7f1224SGary Palmer	killall \
85cb7f1224SGary Palmer	ktrace \
86ed7a104fSJake Burkholder	ktrdump \
87cb7f1224SGary Palmer	lam \
88cb7f1224SGary Palmer	last \
89cb7f1224SGary Palmer	lastcomm \
90aaa41712SDoug Rabson	ldd \
919106cde5SBruce Evans	leave \
926f7d2d90SPaul Saab	less \
936f7d2d90SPaul Saab	lessecho \
946f7d2d90SPaul Saab	lesskey \
953bc2f9a8SPoul-Henning Kamp	${_lex} \
96cb7f1224SGary Palmer	limits \
9793cdc37dSAlexey Zelkin	locale \
98cb7f1224SGary Palmer	locate \
99cb7f1224SGary Palmer	lock \
100cb7f1224SGary Palmer	lockf \
101cb7f1224SGary Palmer	logger \
102cb7f1224SGary Palmer	login \
103bd43dc42SDag-Erling Smørgrav	logins \
104cb7f1224SGary Palmer	logname \
105cb7f1224SGary Palmer	look \
106cb7f1224SGary Palmer	lorder \
107cb7f1224SGary Palmer	lsvfs \
108cb7f1224SGary Palmer	m4 \
109cb7f1224SGary Palmer	mail \
110cb7f1224SGary Palmer	make \
111bf7bec33SMark Murray	makewhatis \
112cb7f1224SGary Palmer	mesg \
1139106cde5SBruce Evans	minigzip \
114cb7f1224SGary Palmer	mkdep \
115cb7f1224SGary Palmer	mkfifo \
116cb7f1224SGary Palmer	mklocale \
117cb7f1224SGary Palmer	mkstr \
118cb7f1224SGary Palmer	mktemp \
1197f4caa8cSMaxim Sobolev	${_mkuzip} \
120cb7f1224SGary Palmer	msgs \
121e4dc55c3SDoug Rabson	mt \
12241fe9ea1SXin LI	${_nc} \
123cb7f1224SGary Palmer	ncal \
124d10a8d6cSRuslan Ermilov	${_ncplist} \
125d10a8d6cSRuslan Ermilov	${_ncplogin} \
126cb7f1224SGary Palmer	netstat \
127776c387aSTim J. Robbins	newgrp \
128d10a8d6cSRuslan Ermilov	${_newkey} \
129cb7f1224SGary Palmer	nfsstat \
130cb7f1224SGary Palmer	nice \
131f2155981SBrian Somers	nl \
132cb7f1224SGary Palmer	nohup \
133cd3ee173SDag-Erling Smørgrav	${_nslookup} \
134cd3ee173SDag-Erling Smørgrav	${_nsupdate} \
135cb7f1224SGary Palmer	objformat \
136cb7f1224SGary Palmer	opieinfo \
137cb7f1224SGary Palmer	opiekey \
138cb7f1224SGary Palmer	opiepasswd \
139cb7f1224SGary Palmer	pagesize \
140cb7f1224SGary Palmer	passwd \
141cb7f1224SGary Palmer	paste \
142b9f63041STim J. Robbins	pathchk \
143f56b4f2dSGarance A Drosehn	pkill \
144cb7f1224SGary Palmer	pr \
145cb7f1224SGary Palmer	printenv \
146cb7f1224SGary Palmer	printf \
147cb7f1224SGary Palmer	quota \
148cb7f1224SGary Palmer	renice \
149cb7f1224SGary Palmer	rev \
150c71158d4STom Rhodes	${_rlogin} \
151cb7f1224SGary Palmer	rpcgen \
152cb7f1224SGary Palmer	rpcinfo \
153cb7f1224SGary Palmer	rs \
154c71158d4STom Rhodes	${_rsh} \
155cb7f1224SGary Palmer	rup \
156cb7f1224SGary Palmer	ruptime \
157cb7f1224SGary Palmer	rusers \
158cb7f1224SGary Palmer	rwall \
159cb7f1224SGary Palmer	rwho \
160cb7f1224SGary Palmer	script \
161cb7f1224SGary Palmer	sed \
162cb7f1224SGary Palmer	shar \
163cb7f1224SGary Palmer	showmount \
164d10a8d6cSRuslan Ermilov	${_smbutil} \
16528bfda34SDag-Erling Smørgrav	sockstat \
166cb7f1224SGary Palmer	split \
167d4d239aeSDoug Barton	stat \
168cb7f1224SGary Palmer	su \
1698df85cf6SDima Ruban	systat \
170743f138eSTim J. Robbins	tabs \
171cb7f1224SGary Palmer	tail \
172cb7f1224SGary Palmer	talk \
173e813a37fSTim Kientzle	tar \
174cb7f1224SGary Palmer	tcopy \
175cb7f1224SGary Palmer	tee \
1764afa3718SMark Murray	telnet \
177cb7f1224SGary Palmer	tftp \
178cb7f1224SGary Palmer	time \
179afb5951fSMark Murray	tip \
180cb7f1224SGary Palmer	top \
181cb7f1224SGary Palmer	touch \
182cb7f1224SGary Palmer	tput \
183cb7f1224SGary Palmer	tr \
184cb7f1224SGary Palmer	true \
185edeb84a1SSheldon Hearn	truncate \
1860bc81187SDavid E. O'Brien	${_truss} \
187cb7f1224SGary Palmer	tset \
188cb7f1224SGary Palmer	tsort \
189cb7f1224SGary Palmer	tty \
190d10a8d6cSRuslan Ermilov	${_uac} \
191cb7f1224SGary Palmer	ul \
192cb7f1224SGary Palmer	uname \
193cb7f1224SGary Palmer	unexpand \
194cb7f1224SGary Palmer	unifdef \
195cb7f1224SGary Palmer	uniq \
196cb7f1224SGary Palmer	units \
197cb7f1224SGary Palmer	unvis \
198d10a8d6cSRuslan Ermilov	${_usbhidaction} \
199d10a8d6cSRuslan Ermilov	${_usbhidctl} \
200cb7f1224SGary Palmer	users \
201cb7f1224SGary Palmer	uudecode \
202cb7f1224SGary Palmer	uuencode \
20352183d01SMarcel Moolenaar	uuidgen \
204d10a8d6cSRuslan Ermilov	${_vacation} \
205cb7f1224SGary Palmer	vgrind \
206cb7f1224SGary Palmer	vi \
207cb7f1224SGary Palmer	vis \
2080600c890SBruce Evans	vmstat \
209cb7f1224SGary Palmer	w \
210cb7f1224SGary Palmer	wall \
211cb7f1224SGary Palmer	wc \
212cb7f1224SGary Palmer	what \
213e9a55423SJohan Karlsson	whereis \
214cb7f1224SGary Palmer	which \
215cb7f1224SGary Palmer	who \
216cb7f1224SGary Palmer	whois \
217cb7f1224SGary Palmer	window \
218cb7f1224SGary Palmer	write \
219cb7f1224SGary Palmer	xargs \
220cb7f1224SGary Palmer	xinstall \
221cfad5290SMarcel Moolenaar	${_xlint} \
222cb7f1224SGary Palmer	xstr \
2233bc2f9a8SPoul-Henning Kamp	${_yacc} \
224cb7f1224SGary Palmer	yes \
2256c58990dSBjoern A. Zeeb	${_ypcat} \
2266c58990dSBjoern A. Zeeb	${_ypmatch} \
2276c58990dSBjoern A. Zeeb	${_ypwhich}
2285c931089SJohn Birrell
229a5d31d16SDavid Malone.if ${MACHINE_ARCH} != "arm" && \
230bb52bd2fSOlivier Houchard    ${MACHINE_ARCH} != "powerpc"
231d10a8d6cSRuslan Ermilov_truss=		truss
232d10a8d6cSRuslan Ermilov.endif
233d10a8d6cSRuslan Ermilov
23407736e20SRuslan Ermilov.if !defined(NO_ATM)
23590d186c0SRuslan Ermilov_atm=		atm
236d10a8d6cSRuslan Ermilov.endif
237d10a8d6cSRuslan Ermilov
2382a614447SDoug Barton.if !defined(NO_BIND) && !defined(NO_BIND_UTILS)
239d10a8d6cSRuslan Ermilov_dig=		dig
240d10a8d6cSRuslan Ermilov_host=		host
241cd3ee173SDag-Erling Smørgrav_nslookup=	nslookup
242cd3ee173SDag-Erling Smørgrav_nsupdate=	nsupdate
24371990d3dSPeter Wemm.endif
24471990d3dSPeter Wemm
24523d1e148SMaksim Yevmenkin.if !defined(NO_BLUETOOTH)
24623d1e148SMaksim Yevmenkin_bluetooth=	bluetooth
24723d1e148SMaksim Yevmenkin.endif
24823d1e148SMaksim Yevmenkin
249a2161735SRuslan Ermilov.if !defined(NO_CRYPT) && !defined(NO_OPENSSL)
250d10a8d6cSRuslan Ermilov_chkey=		chkey
251d10a8d6cSRuslan Ermilov_newkey=	newkey
252d10a8d6cSRuslan Ermilov.endif
253d10a8d6cSRuslan Ermilov
2544457bf03SXin LI.if !defined(NO_NETCAT)
255a1635c68SXin LI_nc=		nc
2564457bf03SXin LI.endif
2574457bf03SXin LI
2586c58990dSBjoern A. Zeeb.if !defined(NO_NIS)
2596c58990dSBjoern A. Zeeb_ypcat=		ypcat
2606c58990dSBjoern A. Zeeb_ypmatch=	ypmatch
2616c58990dSBjoern A. Zeeb_ypwhich=	ypwhich
2626c58990dSBjoern A. Zeeb.endif
2636c58990dSBjoern A. Zeeb
264c71158d4STom Rhodes.if !defined(NO_RCMDS)
265c71158d4STom Rhodes_rlogin=	rlogin
266c71158d4STom Rhodes_rsh=		rsh
267c71158d4STom Rhodes.endif
268c71158d4STom Rhodes
269d10a8d6cSRuslan Ermilov.if !defined(NO_SENDMAIL)
270d10a8d6cSRuslan Ermilov_vacation=	vacation
271d10a8d6cSRuslan Ermilov.endif
272d10a8d6cSRuslan Ermilov
273d10a8d6cSRuslan Ermilov.if !defined(NO_TOOLCHAIN)
274d10a8d6cSRuslan Ermilov_c89=		c89
275d10a8d6cSRuslan Ermilov_c99=		c99
276f7dd47a8SPeter Wemm.if ${MACHINE_ARCH} != "powerpc"
277d10a8d6cSRuslan Ermilov_gprof=		gprof
278d10a8d6cSRuslan Ermilov.endif
279d10a8d6cSRuslan Ermilov_lex=		lex
280d10a8d6cSRuslan Ermilov_xlint=		xlint
281d10a8d6cSRuslan Ermilov_yacc=		yacc
282d10a8d6cSRuslan Ermilov.endif
283d10a8d6cSRuslan Ermilov
284d10a8d6cSRuslan Ermilov.if !defined(NO_USB)
285d10a8d6cSRuslan Ermilov_usbhidaction=	usbhidaction
286d10a8d6cSRuslan Ermilov_usbhidctl=	usbhidctl
287d10a8d6cSRuslan Ermilov.endif
288d10a8d6cSRuslan Ermilov
289d10a8d6cSRuslan Ermilov.if ${MACHINE_ARCH} == "i386"
2907f4caa8cSMaxim Sobolev_mkuzip=	mkuzip
291d10a8d6cSRuslan Ermilov_ncplist=	ncplist
292d10a8d6cSRuslan Ermilov_ncplogin=	ncplogin
293d10a8d6cSRuslan Ermilov_smbutil=	smbutil
294d10a8d6cSRuslan Ermilov.endif
295d10a8d6cSRuslan Ermilov
296d10a8d6cSRuslan Ermilov.if ${MACHINE_ARCH} == "alpha"
297d10a8d6cSRuslan Ermilov_uac=		uac
298d10a8d6cSRuslan Ermilov.endif
299d10a8d6cSRuslan Ermilov
300d10a8d6cSRuslan Ermilov.if ${MACHINE_ARCH} == "amd64"
301d10a8d6cSRuslan Ermilov_ncplist=	ncplist
302d10a8d6cSRuslan Ermilov_ncplogin=	ncplogin
303d10a8d6cSRuslan Ermilov_smbutil=	smbutil
304a8ec1b48SMaxim Sobolev.endif
305a8ec1b48SMaxim Sobolev
3069b50d902SRodney W. Grimes.include <bsd.subdir.mk>
307