xref: /freebsd/usr.bin/Makefile (revision 298f4dc3a274a12391a51b2958beb7c105302d35)
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
6c7096a25SPeter Wemm# XXX broken:		tconv
7fb22fc68SJuli Mallett# XXX Use GNU versions: apropos bc dc diff grep ld man patch whatis
873407b34SGarrett Wollman# Moved to secure: bdes
973407b34SGarrett Wollman#
105cd19a3cSGarrett WollmanSUBDIR=	alias \
115cd19a3cSGarrett Wollman	apply \
12cba9c8bdSTim J. Robbins	asa \
13cb7f1224SGary Palmer	at \
149a1523bcSDavid E. O'Brien	awk \
15cb7f1224SGary Palmer	banner \
16cb7f1224SGary Palmer	basename \
17cb7f1224SGary Palmer	biff \
186eea92a4SDavid E. O'Brien	brandelf \
19d6a9fd06SDavid E. O'Brien	bzip2 \
20cb7f1224SGary Palmer	c89 \
21cb7f1224SGary Palmer	calendar \
22cb7f1224SGary Palmer	cap_mkdb \
23bf7bec33SMark Murray	catman \
24cb7f1224SGary Palmer	chat \
25cb7f1224SGary Palmer	checknr \
26cb7f1224SGary Palmer	chflags \
27cb7f1224SGary Palmer	chpass \
28cb7f1224SGary Palmer	cksum \
29cb7f1224SGary Palmer	cmp \
30cb7f1224SGary Palmer	col \
31cb7f1224SGary Palmer	colcrt \
32cb7f1224SGary Palmer	colldef \
33cb7f1224SGary Palmer	colrm \
34cb7f1224SGary Palmer	column \
35cb7f1224SGary Palmer	comm \
36cb7f1224SGary Palmer	compile_et \
37cb7f1224SGary Palmer	compress \
38ea9e961cSTim J. Robbins	csplit \
39cb7f1224SGary Palmer	ctags \
40cb7f1224SGary Palmer	cut \
41cb7f1224SGary Palmer	dirname \
42cb7f1224SGary Palmer	du \
43cb7f1224SGary Palmer	ee \
44489c66feSJoerg Wunsch	enigma \
45cb7f1224SGary Palmer	env \
46cb7f1224SGary Palmer	expand \
47cb7f1224SGary Palmer	false \
48cb7f1224SGary Palmer	fetch \
49cb7f1224SGary Palmer	file \
50cb7f1224SGary Palmer	file2c \
51cb7f1224SGary Palmer	find \
52cb7f1224SGary Palmer	finger \
53cb7f1224SGary Palmer	fmt \
54cb7f1224SGary Palmer	fold \
55cb7f1224SGary Palmer	from \
5687bc830fSDima Ruban	fstat \
574aeb1c05SPaul Saab	fsync \
58cb7f1224SGary Palmer	ftp \
59cb7f1224SGary Palmer	gencat \
60298f4dc3SJake Burkholder	getconf \
61cb7f1224SGary Palmer	getopt \
6213a29a8aSHidetoshi Shimokawa	gprof \
63cb7f1224SGary Palmer	head \
6461a35ccdSJacques Vidrine	hesinfo \
65cb7f1224SGary Palmer	hexdump \
66cb7f1224SGary Palmer	id \
67cb7f1224SGary Palmer	indent \
68cb7f1224SGary Palmer	ipcrm \
69cb7f1224SGary Palmer	ipcs \
70cb7f1224SGary Palmer	join \
71cb7f1224SGary Palmer	jot \
72cb7f1224SGary Palmer	kdump \
73c87a63c1SPeter Wemm	kenv \
74cb7f1224SGary Palmer	keylogin \
75cb7f1224SGary Palmer	keylogout \
76cb7f1224SGary Palmer	killall \
77cb7f1224SGary Palmer	ktrace \
78ed7a104fSJake Burkholder	ktrdump \
79cb7f1224SGary Palmer	lam \
80cb7f1224SGary Palmer	last \
81cb7f1224SGary Palmer	lastcomm \
82aaa41712SDoug Rabson	ldd \
839106cde5SBruce Evans	leave \
846f7d2d90SPaul Saab	less \
856f7d2d90SPaul Saab	lessecho \
866f7d2d90SPaul Saab	lesskey \
87cb7f1224SGary Palmer	lex \
88cb7f1224SGary Palmer	limits \
89cb7f1224SGary Palmer	locate \
90cb7f1224SGary Palmer	lock \
91cb7f1224SGary Palmer	lockf \
92cb7f1224SGary Palmer	logger \
93cb7f1224SGary Palmer	login \
94cb7f1224SGary Palmer	logname \
95cb7f1224SGary Palmer	look \
96cb7f1224SGary Palmer	lorder \
97cb7f1224SGary Palmer	lsvfs \
98cb7f1224SGary Palmer	m4 \
99cb7f1224SGary Palmer	mail \
100cb7f1224SGary Palmer	make \
101bf7bec33SMark Murray	makewhatis \
102cb7f1224SGary Palmer	mesg \
1039106cde5SBruce Evans	minigzip \
104cb7f1224SGary Palmer	mkdep \
105cb7f1224SGary Palmer	mkfifo \
106cb7f1224SGary Palmer	mklocale \
107cb7f1224SGary Palmer	mkstr \
108cb7f1224SGary Palmer	mktemp \
109cb7f1224SGary Palmer	msgs \
110e4dc55c3SDoug Rabson	mt \
111cb7f1224SGary Palmer	ncal \
112cb7f1224SGary Palmer	netstat \
113776c387aSTim J. Robbins	newgrp \
114cb7f1224SGary Palmer	nfsstat \
115cb7f1224SGary Palmer	nice \
116f2155981SBrian Somers	nl \
117cb7f1224SGary Palmer	nohup \
118cb7f1224SGary Palmer	objformat \
119cb7f1224SGary Palmer	opieinfo \
120cb7f1224SGary Palmer	opiekey \
121cb7f1224SGary Palmer	opiepasswd \
122cb7f1224SGary Palmer	pagesize \
123cb7f1224SGary Palmer	passwd \
124cb7f1224SGary Palmer	paste \
125b9f63041STim J. Robbins	pathchk \
126cb7f1224SGary Palmer	pr \
127cb7f1224SGary Palmer	printenv \
128cb7f1224SGary Palmer	printf \
129cb7f1224SGary Palmer	quota \
130cb7f1224SGary Palmer	renice \
131cb7f1224SGary Palmer	rev \
132788fcec0SDavid E. O'Brien	rlogin \
133cb7f1224SGary Palmer	rpcgen \
134cb7f1224SGary Palmer	rpcinfo \
135cb7f1224SGary Palmer	rs \
136788fcec0SDavid E. O'Brien	rsh \
137cb7f1224SGary Palmer	rup \
138cb7f1224SGary Palmer	ruptime \
139cb7f1224SGary Palmer	rusers \
140cb7f1224SGary Palmer	rwall \
141cb7f1224SGary Palmer	rwho \
142cb7f1224SGary Palmer	script \
143cb7f1224SGary Palmer	sed \
144cb7f1224SGary Palmer	shar \
145cb7f1224SGary Palmer	showmount \
14628bfda34SDag-Erling Smørgrav	sockstat \
147cb7f1224SGary Palmer	soelim \
148cb7f1224SGary Palmer	split \
149d4d239aeSDoug Barton	stat \
150cb7f1224SGary Palmer	su \
151cb7f1224SGary Palmer	symorder \
1528df85cf6SDima Ruban	systat \
153743f138eSTim J. Robbins	tabs \
154cb7f1224SGary Palmer	tail \
155cb7f1224SGary Palmer	talk \
156cb7f1224SGary Palmer	tcopy \
157cb7f1224SGary Palmer	tee \
158cb7f1224SGary Palmer	tftp \
159cb7f1224SGary Palmer	time \
160afb5951fSMark Murray	tip \
161cb7f1224SGary Palmer	top \
162cb7f1224SGary Palmer	touch \
163cb7f1224SGary Palmer	tput \
164cb7f1224SGary Palmer	tr \
165cb7f1224SGary Palmer	true \
166edeb84a1SSheldon Hearn	truncate \
167c3b3cd1bSSean Eric Fagan	truss \
168cb7f1224SGary Palmer	tset \
169cb7f1224SGary Palmer	tsort \
170cb7f1224SGary Palmer	tty \
171cb7f1224SGary Palmer	ul \
172cb7f1224SGary Palmer	uname \
173cb7f1224SGary Palmer	unexpand \
174cb7f1224SGary Palmer	unifdef \
175cb7f1224SGary Palmer	uniq \
176cb7f1224SGary Palmer	units \
177cb7f1224SGary Palmer	unvis \
17809d308a8SNick Hibma	usbhidctl \
179cb7f1224SGary Palmer	users \
180cb7f1224SGary Palmer	uudecode \
181cb7f1224SGary Palmer	uuencode \
18252183d01SMarcel Moolenaar	uuidgen \
183cb7f1224SGary Palmer	vgrind \
184cb7f1224SGary Palmer	vi \
185cb7f1224SGary Palmer	vis \
1860600c890SBruce Evans	vmstat \
187cb7f1224SGary Palmer	w \
188cb7f1224SGary Palmer	wall \
189cb7f1224SGary Palmer	wc \
190cb7f1224SGary Palmer	what \
191e9a55423SJohan Karlsson	whereis \
192cb7f1224SGary Palmer	which \
193cb7f1224SGary Palmer	who \
194cb7f1224SGary Palmer	whois \
195cb7f1224SGary Palmer	window \
196cb7f1224SGary Palmer	write \
197cb7f1224SGary Palmer	xargs \
198cb7f1224SGary Palmer	xinstall \
199cb7f1224SGary Palmer	xstr \
200cb7f1224SGary Palmer	yacc \
201cb7f1224SGary Palmer	yes \
202cb7f1224SGary Palmer	ypcat \
203cb7f1224SGary Palmer	ypmatch \
204cb7f1224SGary Palmer	ypwhich
2055c931089SJohn Birrell
2060dc44b5aSRuslan Ermilov.if defined(RELEASEDIR) || \
2070dc44b5aSRuslan Ermilov    (!exists(${.CURDIR}/../kerberosIV) && !exists(${.CURDIR}/../secure)) || \
2080dc44b5aSRuslan Ermilov    defined(NOCRYPT) || (defined(NOSECURE) && !defined(MAKE_KERBEROS4))
2099106cde5SBruce Evans# Releases need both this non-crypt telnet and the crypt telnet.
2105c931089SJohn BirrellSUBDIR+=telnet
2115c931089SJohn Birrell.endif
2125c931089SJohn Birrell
2139db938c3SPeter Wemm.if !defined(NO_BIND)
214fe6d3fe5SPeter WemmSUBDIR+=dig \
2159db938c3SPeter Wemm	dnskeygen \
216fe6d3fe5SPeter Wemm	dnsquery \
217fe6d3fe5SPeter Wemm	host
218fe6d3fe5SPeter Wemm.endif
219fe6d3fe5SPeter Wemm
220b075c273SDoug Barton.if !defined(NO_PERL_WRAPPER)
221fc281c61SDag-Erling SmørgravSUBDIR+=perl
222fc281c61SDag-Erling Smørgrav.endif
223fc281c61SDag-Erling Smørgrav
2246dbfffa3SGregory Neil Shapiro.if !defined(NO_SENDMAIL)
2256dbfffa3SGregory Neil ShapiroSUBDIR+=vacation
2266dbfffa3SGregory Neil Shapiro.endif
2276dbfffa3SGregory Neil Shapiro
2285c931089SJohn Birrell.if ${MACHINE_ARCH} == "i386"
2294d47d82dSJohn Birrell# Things that don't compile on alpha or are aout specific:
230cb7f1224SGary PalmerSUBDIR+=ar \
231733bc907SRuslan Ermilov	doscmd \
232cb7f1224SGary Palmer	gcore \
233e0812b58SBoris Popov	ncplist \
23427490905SBoris Popov	ncplogin \
235cb7f1224SGary Palmer	nm \
236cb7f1224SGary Palmer	ranlib \
237cb7f1224SGary Palmer	sasc \
238cb7f1224SGary Palmer	size \
23923eb26faSSheldon Hearn	smbutil \
240cb7f1224SGary Palmer	strings \
2418df85cf6SDima Ruban	strip
2424d47d82dSJohn Birrell.endif
2439b50d902SRodney W. Grimes
244bcbd27beSDavid E. O'Brien.if ${MACHINE_ARCH} == "alpha"
245bcbd27beSDavid E. O'BrienSUBDIR+=uac
246bcbd27beSDavid E. O'Brien.endif
247bcbd27beSDavid E. O'Brien
24828def05cSDavid E. O'Brien# Things which don't compile on new platforms yet:
24928def05cSDavid E. O'Brien.if ${MACHINE_ARCH} != "sparc64" && ${MACHINE_ARCH} != "ia64"
25012aee77eSPeter WemmSUBDIR+=xlint
25112aee77eSPeter Wemm.endif
25212aee77eSPeter Wemm
253cccce27aSPeter Wemm.if exists(${.CURDIR}/../crypto) && !defined(NOCRYPT) && !defined(NO_OPENSSL)
254a8ec1b48SMaxim SobolevSUBDIR+=chkey newkey
255a8ec1b48SMaxim Sobolev.endif
256a8ec1b48SMaxim Sobolev
2579b50d902SRodney W. Grimes.include <bsd.subdir.mk>
258