xref: /freebsd/usr.bin/Makefile (revision 23eb26fa510bdb924754ec3c898c76b31cfaabc8)
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
7dd22788aSMark Murray# XXX Use GNU versions: apropos bc dc diff grep ld man patch ptx whatis
873407b34SGarrett Wollman# Moved to secure: bdes
973407b34SGarrett Wollman#
10cb7f1224SGary PalmerSUBDIR=	apply \
11cb7f1224SGary Palmer	at \
12cb7f1224SGary Palmer	banner \
13cb7f1224SGary Palmer	basename \
14cb7f1224SGary Palmer	biff \
156eea92a4SDavid E. O'Brien	brandelf \
16d6a9fd06SDavid E. O'Brien	bzip2 \
17cb7f1224SGary Palmer	c89 \
18cb7f1224SGary Palmer	calendar \
19cb7f1224SGary Palmer	cap_mkdb \
20cb7f1224SGary Palmer	chat \
21cb7f1224SGary Palmer	checknr \
22cb7f1224SGary Palmer	chflags \
23cb7f1224SGary Palmer	chpass \
24cb7f1224SGary Palmer	cksum \
25cb7f1224SGary Palmer	cmp \
26cb7f1224SGary Palmer	col \
27cb7f1224SGary Palmer	colcrt \
28cb7f1224SGary Palmer	colldef \
29cb7f1224SGary Palmer	colrm \
30cb7f1224SGary Palmer	column \
31cb7f1224SGary Palmer	comm \
32cb7f1224SGary Palmer	compile_et \
33cb7f1224SGary Palmer	compress \
34cb7f1224SGary Palmer	ctags \
35cb7f1224SGary Palmer	cut \
36cb7f1224SGary Palmer	dirname \
37cb7f1224SGary Palmer	du \
38cb7f1224SGary Palmer	ee \
39489c66feSJoerg Wunsch	enigma \
40cb7f1224SGary Palmer	env \
41cb7f1224SGary Palmer	expand \
42cb7f1224SGary Palmer	false \
43cb7f1224SGary Palmer	fetch \
44cb7f1224SGary Palmer	file \
45cb7f1224SGary Palmer	file2c \
46cb7f1224SGary Palmer	find \
47cb7f1224SGary Palmer	finger \
48cb7f1224SGary Palmer	fmt \
49cb7f1224SGary Palmer	fold \
50cb7f1224SGary Palmer	from \
5187bc830fSDima Ruban	fstat \
524aeb1c05SPaul Saab	fsync \
53cb7f1224SGary Palmer	ftp \
54cb7f1224SGary Palmer	gencat \
558c6bd995SGarrett Wollman	getconf \
56cb7f1224SGary Palmer	getopt \
5713a29a8aSHidetoshi Shimokawa	gprof \
58cb7f1224SGary Palmer	head \
5961a35ccdSJacques Vidrine	hesinfo \
60cb7f1224SGary Palmer	hexdump \
61cb7f1224SGary Palmer	id \
62cb7f1224SGary Palmer	indent \
63cb7f1224SGary Palmer	ipcrm \
64cb7f1224SGary Palmer	ipcs \
65cb7f1224SGary Palmer	join \
66cb7f1224SGary Palmer	jot \
67cb7f1224SGary Palmer	kdump \
68c87a63c1SPeter Wemm	kenv \
69cb7f1224SGary Palmer	keylogin \
70cb7f1224SGary Palmer	keylogout \
71cb7f1224SGary Palmer	killall \
72cb7f1224SGary Palmer	ktrace \
73cb7f1224SGary Palmer	lam \
74cb7f1224SGary Palmer	last \
75cb7f1224SGary Palmer	lastcomm \
76aaa41712SDoug Rabson	ldd \
779106cde5SBruce Evans	leave \
786f7d2d90SPaul Saab	less \
796f7d2d90SPaul Saab	lessecho \
806f7d2d90SPaul Saab	lesskey \
81cb7f1224SGary Palmer	lex \
82cb7f1224SGary Palmer	limits \
83cb7f1224SGary Palmer	locate \
84cb7f1224SGary Palmer	lock \
85cb7f1224SGary Palmer	lockf \
86cb7f1224SGary Palmer	logger \
87cb7f1224SGary Palmer	login \
88cb7f1224SGary Palmer	logname \
89cb7f1224SGary Palmer	look \
90cb7f1224SGary Palmer	lorder \
91cb7f1224SGary Palmer	lsvfs \
92cb7f1224SGary Palmer	m4 \
93cb7f1224SGary Palmer	mail \
94cb7f1224SGary Palmer	make \
95cb7f1224SGary Palmer	mesg \
969106cde5SBruce Evans	minigzip \
97cb7f1224SGary Palmer	mkdep \
98cb7f1224SGary Palmer	mkfifo \
99cb7f1224SGary Palmer	mklocale \
100cb7f1224SGary Palmer	mkstr \
101cb7f1224SGary Palmer	mktemp \
102cb7f1224SGary Palmer	msgs \
103e4dc55c3SDoug Rabson	mt \
104cb7f1224SGary Palmer	ncal \
105cb7f1224SGary Palmer	netstat \
106cb7f1224SGary Palmer	nfsstat \
107cb7f1224SGary Palmer	nice \
108f2155981SBrian Somers	nl \
109cb7f1224SGary Palmer	nohup \
110cb7f1224SGary Palmer	objformat \
111cb7f1224SGary Palmer	opieinfo \
112cb7f1224SGary Palmer	opiekey \
113cb7f1224SGary Palmer	opiepasswd \
114cb7f1224SGary Palmer	pagesize \
115cb7f1224SGary Palmer	passwd \
116cb7f1224SGary Palmer	paste \
117cb7f1224SGary Palmer	pr \
118cb7f1224SGary Palmer	printenv \
119cb7f1224SGary Palmer	printf \
120cb7f1224SGary Palmer	quota \
121cb7f1224SGary Palmer	renice \
122cb7f1224SGary Palmer	rev \
123cb7f1224SGary Palmer	rlogin \
124cb7f1224SGary Palmer	rpcgen \
125cb7f1224SGary Palmer	rpcinfo \
126cb7f1224SGary Palmer	rs \
127cb7f1224SGary Palmer	rsh \
128cb7f1224SGary Palmer	rup \
129cb7f1224SGary Palmer	ruptime \
130cb7f1224SGary Palmer	rusers \
131cb7f1224SGary Palmer	rwall \
132cb7f1224SGary Palmer	rwho \
133cb7f1224SGary Palmer	script \
134cb7f1224SGary Palmer	sed \
135cb7f1224SGary Palmer	shar \
136cb7f1224SGary Palmer	showmount \
13728bfda34SDag-Erling Smørgrav	sockstat \
138cb7f1224SGary Palmer	soelim \
139cb7f1224SGary Palmer	split \
140cb7f1224SGary Palmer	su \
141cb7f1224SGary Palmer	symorder \
1428df85cf6SDima Ruban	systat \
143cb7f1224SGary Palmer	tail \
144cb7f1224SGary Palmer	talk \
145cb7f1224SGary Palmer	tcopy \
146cb7f1224SGary Palmer	tee \
147cb7f1224SGary Palmer	tftp \
148cb7f1224SGary Palmer	time \
149703407b6SRuslan Ermilov	tip \
150cb7f1224SGary Palmer	top \
151cb7f1224SGary Palmer	touch \
152cb7f1224SGary Palmer	tput \
153cb7f1224SGary Palmer	tr \
154cb7f1224SGary Palmer	true \
155edeb84a1SSheldon Hearn	truncate \
156c3b3cd1bSSean Eric Fagan	truss \
157cb7f1224SGary Palmer	tset \
158cb7f1224SGary Palmer	tsort \
159cb7f1224SGary Palmer	tty \
160cb7f1224SGary Palmer	ul \
161cb7f1224SGary Palmer	uname \
162cb7f1224SGary Palmer	unexpand \
163cb7f1224SGary Palmer	unifdef \
164cb7f1224SGary Palmer	uniq \
165cb7f1224SGary Palmer	units \
166cb7f1224SGary Palmer	unvis \
16709d308a8SNick Hibma	usbhidctl \
168cb7f1224SGary Palmer	users \
169cb7f1224SGary Palmer	uudecode \
170cb7f1224SGary Palmer	uuencode \
171cb7f1224SGary Palmer	vgrind \
172cb7f1224SGary Palmer	vi \
173cb7f1224SGary Palmer	vis \
1740600c890SBruce Evans	vmstat \
175cb7f1224SGary Palmer	w \
176cb7f1224SGary Palmer	wall \
177cb7f1224SGary Palmer	wc \
178cb7f1224SGary Palmer	what \
179cb7f1224SGary Palmer	whereis \
180cb7f1224SGary Palmer	which \
181cb7f1224SGary Palmer	who \
182cb7f1224SGary Palmer	whois \
183cb7f1224SGary Palmer	window \
184cb7f1224SGary Palmer	write \
185cb7f1224SGary Palmer	xargs \
186cb7f1224SGary Palmer	xinstall \
187cb7f1224SGary Palmer	xlint \
188cb7f1224SGary Palmer	xstr \
189cb7f1224SGary Palmer	yacc \
190cb7f1224SGary Palmer	yes \
191cb7f1224SGary Palmer	ypcat \
192cb7f1224SGary Palmer	ypmatch \
193cb7f1224SGary Palmer	ypwhich
1945c931089SJohn Birrell
1950dc44b5aSRuslan Ermilov.if defined(RELEASEDIR) || \
1960dc44b5aSRuslan Ermilov    (!exists(${.CURDIR}/../kerberosIV) && !exists(${.CURDIR}/../secure)) || \
1970dc44b5aSRuslan Ermilov    defined(NOCRYPT) || (defined(NOSECURE) && !defined(MAKE_KERBEROS4))
1989106cde5SBruce Evans# Releases need both this non-crypt telnet and the crypt telnet.
1995c931089SJohn BirrellSUBDIR+=telnet
2005c931089SJohn Birrell.endif
2015c931089SJohn Birrell
2029db938c3SPeter Wemm.if !defined(NO_BIND)
203fe6d3fe5SPeter WemmSUBDIR+=dig \
2049db938c3SPeter Wemm	dnskeygen \
205fe6d3fe5SPeter Wemm	dnsquery \
206fe6d3fe5SPeter Wemm	host
207fe6d3fe5SPeter Wemm.endif
208fe6d3fe5SPeter Wemm
2096dbfffa3SGregory Neil Shapiro.if !defined(NO_SENDMAIL)
2106dbfffa3SGregory Neil ShapiroSUBDIR+=vacation
2116dbfffa3SGregory Neil Shapiro.endif
2126dbfffa3SGregory Neil Shapiro
2135c931089SJohn Birrell.if ${MACHINE_ARCH} == "i386"
2144d47d82dSJohn Birrell# Things that don't compile on alpha or are aout specific:
215cb7f1224SGary PalmerSUBDIR+=ar \
2167256d29cSMarcel Moolenaar	doscmd \
217cb7f1224SGary Palmer	gcore \
218cb7f1224SGary Palmer	gprof4 \
219e0812b58SBoris Popov	ncplist \
22027490905SBoris Popov	ncplogin \
221cb7f1224SGary Palmer	nm \
222cb7f1224SGary Palmer	ranlib \
223cb7f1224SGary Palmer	sasc \
224cb7f1224SGary Palmer	size \
22523eb26faSSheldon Hearn	smbutil \
226cb7f1224SGary Palmer	strings \
2278df85cf6SDima Ruban	strip
2284d47d82dSJohn Birrell.endif
2299b50d902SRodney W. Grimes
230bcbd27beSDavid E. O'Brien.if ${MACHINE_ARCH} == "alpha"
231bcbd27beSDavid E. O'BrienSUBDIR+=uac
232bcbd27beSDavid E. O'Brien.endif
233bcbd27beSDavid E. O'Brien
234cccce27aSPeter Wemm.if exists(${.CURDIR}/../crypto) && !defined(NOCRYPT) && !defined(NO_OPENSSL)
235a8ec1b48SMaxim SobolevSUBDIR+=chkey newkey
236a8ec1b48SMaxim Sobolev.endif
237a8ec1b48SMaxim Sobolev
2389b50d902SRodney W. Grimes.include <bsd.subdir.mk>
239