xref: /freebsd/usr.bin/Makefile (revision dbdb679c6ffb9b289cb4489246d0a30635657e00)
1839f16abSGarrett Wollman#	From: @(#)Makefile	8.3 (Berkeley) 1/7/94
2c3aac50fSPeter Wemm# $FreeBSD$
39b50d902SRodney W. Grimes
4e1fe3dbaSRuslan Ermilov.include <bsd.own.mk>
5e1fe3dbaSRuslan Ermilov
60a50d08dSJordan K. Hubbard# XXX MISSING:		deroff diction graph learn plot
7861999b4SBruce Evans#			spell spline struct xsend
8fb22fc68SJuli Mallett# XXX Use GNU versions: apropos bc dc diff grep ld man patch whatis
973407b34SGarrett Wollman# Moved to secure: bdes
1073407b34SGarrett Wollman#
11cfad5290SMarcel Moolenaar
125cd19a3cSGarrett WollmanSUBDIR=	alias \
135cd19a3cSGarrett Wollman	apply \
14da9b9cd9SRuslan Ermilov	${_ar} \
15cba9c8bdSTim J. Robbins	asa \
16cb7f1224SGary Palmer	at \
174f35c846SHartmut Brandt	${_atm} \
189a1523bcSDavid E. O'Brien	awk \
19cb7f1224SGary Palmer	banner \
20cb7f1224SGary Palmer	basename \
21cb7f1224SGary Palmer	biff \
22d10a8d6cSRuslan Ermilov	${_bluetooth} \
236eea92a4SDavid E. O'Brien	brandelf \
24ba10db99SColin Percival	bsdiff \
25d6a9fd06SDavid E. O'Brien	bzip2 \
26bc366011SDavid E. O'Brien	bzip2recover \
273bc2f9a8SPoul-Henning Kamp	${_c89} \
283bc2f9a8SPoul-Henning Kamp	${_c99} \
29642268f4SPoul-Henning Kamp	${_calendar} \
30cb7f1224SGary Palmer	cap_mkdb \
315a4d78a1SPoul-Henning Kamp	${_catman} \
32cb7f1224SGary Palmer	chat \
33cb7f1224SGary Palmer	checknr \
34d10a8d6cSRuslan Ermilov	${_chkey} \
35cb7f1224SGary Palmer	chpass \
36cb7f1224SGary Palmer	cksum \
37cb7f1224SGary Palmer	cmp \
38cb7f1224SGary Palmer	col \
39cb7f1224SGary Palmer	colcrt \
40cb7f1224SGary Palmer	colldef \
41cb7f1224SGary Palmer	colrm \
42cb7f1224SGary Palmer	column \
43cb7f1224SGary Palmer	comm \
44cb7f1224SGary Palmer	compile_et \
45cb7f1224SGary Palmer	compress \
46bc72ba9cSJeff Roberson	cpuset \
47ea9e961cSTim J. Robbins	csplit \
48b0b13d15SMaxime Henrion	${_csup} \
49cb7f1224SGary Palmer	ctags \
50cb7f1224SGary Palmer	cut \
51d10a8d6cSRuslan Ermilov	${_dig} \
52cb7f1224SGary Palmer	dirname \
53cb7f1224SGary Palmer	du \
54cb7f1224SGary Palmer	ee \
55cbb66355SDavid E. O'Brien	elf2aout \
568237286eSDavid E. O'Brien	elfdump \
57489c66feSJoerg Wunsch	enigma \
58cb7f1224SGary Palmer	env \
59cb7f1224SGary Palmer	expand \
60cb7f1224SGary Palmer	false \
61cb7f1224SGary Palmer	fetch \
62cb7f1224SGary Palmer	file \
63cb7f1224SGary Palmer	file2c \
64cb7f1224SGary Palmer	find \
65cb7f1224SGary Palmer	finger \
66cb7f1224SGary Palmer	fmt \
67cb7f1224SGary Palmer	fold \
68cb7f1224SGary Palmer	from \
6987bc830fSDima Ruban	fstat \
704aeb1c05SPaul Saab	fsync \
71cb7f1224SGary Palmer	ftp \
72155c182aSPeter Wemm	gcore \
73cb7f1224SGary Palmer	gencat \
74298f4dc3SJake Burkholder	getconf \
75c912a3f7SMaxim Konovalov	getent \
76cb7f1224SGary Palmer	getopt \
770bc81187SDavid E. O'Brien	${_gprof} \
789a9ea25fSXin LI	gzip \
79cb7f1224SGary Palmer	head \
80f7ab1209SPoul-Henning Kamp	${_hesinfo} \
81cb7f1224SGary Palmer	hexdump \
82d10a8d6cSRuslan Ermilov	${_host} \
83cb7f1224SGary Palmer	id \
84cb7f1224SGary Palmer	indent \
85cb7f1224SGary Palmer	ipcrm \
86cb7f1224SGary Palmer	ipcs \
87cb7f1224SGary Palmer	join \
88cb7f1224SGary Palmer	jot \
89cb7f1224SGary Palmer	kdump \
90cb7f1224SGary Palmer	keylogin \
91cb7f1224SGary Palmer	keylogout \
92cb7f1224SGary Palmer	killall \
93cb7f1224SGary Palmer	ktrace \
94ed7a104fSJake Burkholder	ktrdump \
95cb7f1224SGary Palmer	lam \
96cb7f1224SGary Palmer	last \
97cb7f1224SGary Palmer	lastcomm \
98aaa41712SDoug Rabson	ldd \
999106cde5SBruce Evans	leave \
1006f7d2d90SPaul Saab	less \
1016f7d2d90SPaul Saab	lessecho \
1026f7d2d90SPaul Saab	lesskey \
1033bc2f9a8SPoul-Henning Kamp	${_lex} \
104cb7f1224SGary Palmer	limits \
10593cdc37dSAlexey Zelkin	locale \
106cb7f1224SGary Palmer	locate \
107cb7f1224SGary Palmer	lock \
108cb7f1224SGary Palmer	lockf \
109cb7f1224SGary Palmer	logger \
110cb7f1224SGary Palmer	login \
111bd43dc42SDag-Erling Smørgrav	logins \
112cb7f1224SGary Palmer	logname \
113cb7f1224SGary Palmer	look \
114cb7f1224SGary Palmer	lorder \
115cb7f1224SGary Palmer	lsvfs \
116cb7f1224SGary Palmer	m4 \
117cb7f1224SGary Palmer	mail \
118cb7f1224SGary Palmer	make \
119bf7bec33SMark Murray	makewhatis \
120cb7f1224SGary Palmer	mesg \
1219106cde5SBruce Evans	minigzip \
122a2854cdfSRuslan Ermilov	ministat \
123cb7f1224SGary Palmer	mkdep \
124cb7f1224SGary Palmer	mkfifo \
125cb7f1224SGary Palmer	mklocale \
126cb7f1224SGary Palmer	mkstr \
127cb7f1224SGary Palmer	mktemp \
1285cf3bf70SMax Khon	mkuzip \
129cb7f1224SGary Palmer	msgs \
130e4dc55c3SDoug Rabson	mt \
13141fe9ea1SXin LI	${_nc} \
132cb7f1224SGary Palmer	ncal \
133d10a8d6cSRuslan Ermilov	${_ncplist} \
134d10a8d6cSRuslan Ermilov	${_ncplogin} \
135cb7f1224SGary Palmer	netstat \
136776c387aSTim J. Robbins	newgrp \
137d10a8d6cSRuslan Ermilov	${_newkey} \
138cb7f1224SGary Palmer	nfsstat \
139cb7f1224SGary Palmer	nice \
140f2155981SBrian Somers	nl \
141cb7f1224SGary Palmer	nohup \
142cd3ee173SDag-Erling Smørgrav	${_nslookup} \
143cd3ee173SDag-Erling Smørgrav	${_nsupdate} \
144cb7f1224SGary Palmer	opieinfo \
145cb7f1224SGary Palmer	opiekey \
146cb7f1224SGary Palmer	opiepasswd \
147cb7f1224SGary Palmer	pagesize \
148cb7f1224SGary Palmer	passwd \
149cb7f1224SGary Palmer	paste \
150b9f63041STim J. Robbins	pathchk \
151f56b4f2dSGarance A Drosehn	pkill \
152cb7f1224SGary Palmer	pr \
153cb7f1224SGary Palmer	printenv \
154cb7f1224SGary Palmer	printf \
155b59f38b5SRobert Watson	procstat \
156cb7f1224SGary Palmer	quota \
157cb7f1224SGary Palmer	renice \
158cb7f1224SGary Palmer	rev \
159c71158d4STom Rhodes	${_rlogin} \
160cb7f1224SGary Palmer	rpcgen \
161cb7f1224SGary Palmer	rpcinfo \
162cb7f1224SGary Palmer	rs \
163c71158d4STom Rhodes	${_rsh} \
164cb7f1224SGary Palmer	rup \
165cb7f1224SGary Palmer	ruptime \
166cb7f1224SGary Palmer	rusers \
167cb7f1224SGary Palmer	rwall \
168cb7f1224SGary Palmer	rwho \
169cb7f1224SGary Palmer	script \
170cb7f1224SGary Palmer	sed \
171cb7f1224SGary Palmer	shar \
172cb7f1224SGary Palmer	showmount \
173d10a8d6cSRuslan Ermilov	${_smbutil} \
17428bfda34SDag-Erling Smørgrav	sockstat \
175cb7f1224SGary Palmer	split \
176d4d239aeSDoug Barton	stat \
177cb7f1224SGary Palmer	su \
1788df85cf6SDima Ruban	systat \
179743f138eSTim J. Robbins	tabs \
180cb7f1224SGary Palmer	tail \
181cb7f1224SGary Palmer	talk \
182e813a37fSTim Kientzle	tar \
183cb7f1224SGary Palmer	tcopy \
184cb7f1224SGary Palmer	tee \
1854afa3718SMark Murray	telnet \
186cb7f1224SGary Palmer	tftp \
187cb7f1224SGary Palmer	time \
188afb5951fSMark Murray	tip \
189cb7f1224SGary Palmer	top \
190cb7f1224SGary Palmer	touch \
191cb7f1224SGary Palmer	tput \
192cb7f1224SGary Palmer	tr \
193cb7f1224SGary Palmer	true \
194edeb84a1SSheldon Hearn	truncate \
1950bc81187SDavid E. O'Brien	${_truss} \
196cb7f1224SGary Palmer	tset \
197cb7f1224SGary Palmer	tsort \
198cb7f1224SGary Palmer	tty \
199cb7f1224SGary Palmer	ul \
200cb7f1224SGary Palmer	uname \
201cb7f1224SGary Palmer	unexpand \
202cb7f1224SGary Palmer	unifdef \
203cb7f1224SGary Palmer	uniq \
204cb7f1224SGary Palmer	units \
205cb7f1224SGary Palmer	unvis \
206d10a8d6cSRuslan Ermilov	${_usbhidaction} \
207d10a8d6cSRuslan Ermilov	${_usbhidctl} \
208cb7f1224SGary Palmer	users \
209cb7f1224SGary Palmer	uudecode \
210cb7f1224SGary Palmer	uuencode \
211d10a8d6cSRuslan Ermilov	${_vacation} \
212cb7f1224SGary Palmer	vgrind \
213cb7f1224SGary Palmer	vi \
214cb7f1224SGary Palmer	vis \
2150600c890SBruce Evans	vmstat \
216cb7f1224SGary Palmer	w \
217cb7f1224SGary Palmer	wall \
218cb7f1224SGary Palmer	wc \
219cb7f1224SGary Palmer	what \
220e9a55423SJohan Karlsson	whereis \
221cb7f1224SGary Palmer	which \
222cb7f1224SGary Palmer	who \
223cb7f1224SGary Palmer	whois \
224cb7f1224SGary Palmer	window \
225cb7f1224SGary Palmer	write \
226cb7f1224SGary Palmer	xargs \
227cb7f1224SGary Palmer	xinstall \
228cfad5290SMarcel Moolenaar	${_xlint} \
229cb7f1224SGary Palmer	xstr \
2303bc2f9a8SPoul-Henning Kamp	${_yacc} \
231cb7f1224SGary Palmer	yes \
2326c58990dSBjoern A. Zeeb	${_ypcat} \
2336c58990dSBjoern A. Zeeb	${_ypmatch} \
2346c58990dSBjoern A. Zeeb	${_ypwhich}
2355c931089SJohn Birrell
2365aedf535SPeter Grehan.if ${MACHINE_ARCH} != "arm"
237d10a8d6cSRuslan Ermilov_truss=		truss
238d10a8d6cSRuslan Ermilov.endif
239d10a8d6cSRuslan Ermilov
240e1fe3dbaSRuslan Ermilov.if ${MK_ATM} != "no"
24190d186c0SRuslan Ermilov_atm=		atm
242d10a8d6cSRuslan Ermilov.endif
243d10a8d6cSRuslan Ermilov
244e1fe3dbaSRuslan Ermilov.if ${MK_MAN} != "no"
2455a4d78a1SPoul-Henning Kamp_catman=	catman
2465a4d78a1SPoul-Henning Kamp.endif
2475a4d78a1SPoul-Henning Kamp
248e1fe3dbaSRuslan Ermilov.if ${MK_BIND_UTILS} != "no"
249d10a8d6cSRuslan Ermilov_dig=		dig
250d10a8d6cSRuslan Ermilov_host=		host
251cd3ee173SDag-Erling Smørgrav_nslookup=	nslookup
252cd3ee173SDag-Erling Smørgrav_nsupdate=	nsupdate
25371990d3dSPeter Wemm.endif
25471990d3dSPeter Wemm
255e1fe3dbaSRuslan Ermilov.if ${MK_BLUETOOTH} != "no"
25623d1e148SMaksim Yevmenkin_bluetooth=	bluetooth
25723d1e148SMaksim Yevmenkin.endif
25823d1e148SMaksim Yevmenkin
259e1fe3dbaSRuslan Ermilov.if ${MK_CALENDAR} != "no"
260642268f4SPoul-Henning Kamp_calendar=	calendar
261642268f4SPoul-Henning Kamp.endif
262642268f4SPoul-Henning Kamp
263e1fe3dbaSRuslan Ermilov.if ${MK_OPENSSL} != "no"
264d10a8d6cSRuslan Ermilov_chkey=		chkey
265d10a8d6cSRuslan Ermilov_newkey=	newkey
266dbdb679cSRuslan Ermilov.if ${MK_LIBTHR} != "no"
267a50767ebSRuslan Ermilov_csup=		csup
268a50767ebSRuslan Ermilov.endif
269a50767ebSRuslan Ermilov.endif
270d10a8d6cSRuslan Ermilov
271e1fe3dbaSRuslan Ermilov.if ${MK_HESIOD} != "no"
272f7ab1209SPoul-Henning Kamp_hesinfo=	hesinfo
273f7ab1209SPoul-Henning Kamp.endif
274f7ab1209SPoul-Henning Kamp
275e1fe3dbaSRuslan Ermilov.if ${MK_NETCAT} != "no"
276a1635c68SXin LI_nc=		nc
2774457bf03SXin LI.endif
2784457bf03SXin LI
279e1fe3dbaSRuslan Ermilov.if ${MK_NIS} != "no"
2806c58990dSBjoern A. Zeeb_ypcat=		ypcat
2816c58990dSBjoern A. Zeeb_ypmatch=	ypmatch
2826c58990dSBjoern A. Zeeb_ypwhich=	ypwhich
2836c58990dSBjoern A. Zeeb.endif
2846c58990dSBjoern A. Zeeb
285e1fe3dbaSRuslan Ermilov.if ${MK_RCMDS} != "no"
286c71158d4STom Rhodes_rlogin=	rlogin
287c71158d4STom Rhodes_rsh=		rsh
288c71158d4STom Rhodes.endif
289c71158d4STom Rhodes
290e1fe3dbaSRuslan Ermilov.if ${MK_SENDMAIL} != "no"
291d10a8d6cSRuslan Ermilov_vacation=	vacation
292d10a8d6cSRuslan Ermilov.endif
293d10a8d6cSRuslan Ermilov
294e1fe3dbaSRuslan Ermilov.if ${MK_TOOLCHAIN} != "no"
295da9b9cd9SRuslan Ermilov_ar=		ar
296d10a8d6cSRuslan Ermilov_c89=		c89
297d10a8d6cSRuslan Ermilov_c99=		c99
298d10a8d6cSRuslan Ermilov_gprof=		gprof
299d10a8d6cSRuslan Ermilov_lex=		lex
300d10a8d6cSRuslan Ermilov_xlint=		xlint
301d10a8d6cSRuslan Ermilov_yacc=		yacc
302d10a8d6cSRuslan Ermilov.endif
303d10a8d6cSRuslan Ermilov
304e1fe3dbaSRuslan Ermilov.if ${MK_USB} != "no"
305d10a8d6cSRuslan Ermilov_usbhidaction=	usbhidaction
306d10a8d6cSRuslan Ermilov_usbhidctl=	usbhidctl
307d10a8d6cSRuslan Ermilov.endif
308d10a8d6cSRuslan Ermilov
309d10a8d6cSRuslan Ermilov.if ${MACHINE_ARCH} == "i386"
310cea557adSRuslan Ermilov.if ${MK_NCP} != "no"
311d10a8d6cSRuslan Ermilov_ncplist=	ncplist
312d10a8d6cSRuslan Ermilov_ncplogin=	ncplogin
313cea557adSRuslan Ermilov.endif
314d10a8d6cSRuslan Ermilov_smbutil=	smbutil
315d10a8d6cSRuslan Ermilov.endif
316d10a8d6cSRuslan Ermilov
317e108ac65SMarcel Moolenaar.if ${MACHINE_ARCH} == "ia64"
318e108ac65SMarcel Moolenaar_smbutil=	smbutil
319e108ac65SMarcel Moolenaar.endif
320e108ac65SMarcel Moolenaar
321d10a8d6cSRuslan Ermilov.if ${MACHINE_ARCH} == "amd64"
322cea557adSRuslan Ermilov.if ${MK_NCP} != "no"
323d10a8d6cSRuslan Ermilov_ncplist=	ncplist
324d10a8d6cSRuslan Ermilov_ncplogin=	ncplogin
325cea557adSRuslan Ermilov.endif
326d10a8d6cSRuslan Ermilov_smbutil=	smbutil
327a8ec1b48SMaxim Sobolev.endif
328a8ec1b48SMaxim Sobolev
32959fa7082SR. Imura.if ${MACHINE_ARCH} == "powerpc"
33059fa7082SR. Imura_smbutil=	smbutil
33159fa7082SR. Imura.endif
33259fa7082SR. Imura
3339b50d902SRodney W. Grimes.include <bsd.subdir.mk>
334