xref: /freebsd/usr.bin/Makefile (revision a8ec1b48518ccc08d59e8cea9ff161aadeec0ef9)
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
7dd3d164fSBruce Evans# XXX Use GNU versions: apropos bc dc diff grep ld man patch ptx uucp 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 \
979106cde5SBruce Evans	mk_cmds \
98cb7f1224SGary Palmer	mkdep \
99cb7f1224SGary Palmer	mkfifo \
100cb7f1224SGary Palmer	mklocale \
101cb7f1224SGary Palmer	mkstr \
102cb7f1224SGary Palmer	mktemp \
103cb7f1224SGary Palmer	msgs \
104e4dc55c3SDoug Rabson	mt \
105cb7f1224SGary Palmer	ncal \
106cb7f1224SGary Palmer	netstat \
107cb7f1224SGary Palmer	nfsstat \
108cb7f1224SGary Palmer	nice \
109f2155981SBrian Somers	nl \
110cb7f1224SGary Palmer	nohup \
111cb7f1224SGary Palmer	objformat \
112cb7f1224SGary Palmer	opieinfo \
113cb7f1224SGary Palmer	opiekey \
114cb7f1224SGary Palmer	opiepasswd \
115cb7f1224SGary Palmer	pagesize \
116cb7f1224SGary Palmer	passwd \
117cb7f1224SGary Palmer	paste \
118cb7f1224SGary Palmer	pr \
119cb7f1224SGary Palmer	printenv \
120cb7f1224SGary Palmer	printf \
121cb7f1224SGary Palmer	quota \
122cb7f1224SGary Palmer	renice \
123cb7f1224SGary Palmer	rev \
124cb7f1224SGary Palmer	rlogin \
125cb7f1224SGary Palmer	rpcgen \
126cb7f1224SGary Palmer	rpcinfo \
127cb7f1224SGary Palmer	rs \
128cb7f1224SGary Palmer	rsh \
129cb7f1224SGary Palmer	rup \
130cb7f1224SGary Palmer	ruptime \
131cb7f1224SGary Palmer	rusers \
132cb7f1224SGary Palmer	rwall \
133cb7f1224SGary Palmer	rwho \
134cb7f1224SGary Palmer	script \
135cb7f1224SGary Palmer	sed \
136cb7f1224SGary Palmer	shar \
137cb7f1224SGary Palmer	showmount \
13828bfda34SDag-Erling Smørgrav	sockstat \
139cb7f1224SGary Palmer	soelim \
140cb7f1224SGary Palmer	split \
141cb7f1224SGary Palmer	su \
142cb7f1224SGary Palmer	symorder \
1438df85cf6SDima Ruban	systat \
144cb7f1224SGary Palmer	tail \
145cb7f1224SGary Palmer	talk \
146cb7f1224SGary Palmer	tcopy \
147cb7f1224SGary Palmer	tee \
148cb7f1224SGary Palmer	tftp \
149cb7f1224SGary Palmer	time \
150cb7f1224SGary Palmer	tip \
151cb7f1224SGary Palmer	top \
152cb7f1224SGary Palmer	touch \
153cb7f1224SGary Palmer	tput \
154cb7f1224SGary Palmer	tr \
155cb7f1224SGary Palmer	true \
156edeb84a1SSheldon Hearn	truncate \
157c3b3cd1bSSean Eric Fagan	truss \
158cb7f1224SGary Palmer	tset \
159cb7f1224SGary Palmer	tsort \
160cb7f1224SGary Palmer	tty \
161cb7f1224SGary Palmer	ul \
162cb7f1224SGary Palmer	uname \
163cb7f1224SGary Palmer	unexpand \
164cb7f1224SGary Palmer	unifdef \
165cb7f1224SGary Palmer	uniq \
166cb7f1224SGary Palmer	units \
167cb7f1224SGary Palmer	unvis \
16809d308a8SNick Hibma	usbhidctl \
169cb7f1224SGary Palmer	users \
170cb7f1224SGary Palmer	uudecode \
171cb7f1224SGary Palmer	uuencode \
172cb7f1224SGary Palmer	vacation \
173cb7f1224SGary Palmer	vgrind \
174cb7f1224SGary Palmer	vi \
175cb7f1224SGary Palmer	vis \
1760600c890SBruce Evans	vmstat \
177cb7f1224SGary Palmer	w \
178cb7f1224SGary Palmer	wall \
179cb7f1224SGary Palmer	wc \
180cb7f1224SGary Palmer	what \
181cb7f1224SGary Palmer	whereis \
182cb7f1224SGary Palmer	which \
183cb7f1224SGary Palmer	who \
184cb7f1224SGary Palmer	whois \
185cb7f1224SGary Palmer	window \
186cb7f1224SGary Palmer	write \
187cb7f1224SGary Palmer	xargs \
188cb7f1224SGary Palmer	xinstall \
189cb7f1224SGary Palmer	xlint \
190cb7f1224SGary Palmer	xstr \
191cb7f1224SGary Palmer	yacc \
192cb7f1224SGary Palmer	yes \
193cb7f1224SGary Palmer	ypcat \
194cb7f1224SGary Palmer	ypmatch \
195cb7f1224SGary Palmer	ypwhich
1965c931089SJohn Birrell
1970dc44b5aSRuslan Ermilov.if defined(RELEASEDIR) || \
1980dc44b5aSRuslan Ermilov    (!exists(${.CURDIR}/../kerberosIV) && !exists(${.CURDIR}/../secure)) || \
1990dc44b5aSRuslan Ermilov    defined(NOCRYPT) || (defined(NOSECURE) && !defined(MAKE_KERBEROS4))
2009106cde5SBruce Evans# Releases need both this non-crypt telnet and the crypt telnet.
2015c931089SJohn BirrellSUBDIR+=telnet
2025c931089SJohn Birrell.endif
2035c931089SJohn Birrell
2049db938c3SPeter Wemm.if !defined(NO_BIND)
205fe6d3fe5SPeter WemmSUBDIR+=dig \
2069db938c3SPeter Wemm	dnskeygen \
207fe6d3fe5SPeter Wemm	dnsquery \
208fe6d3fe5SPeter Wemm	host
209fe6d3fe5SPeter Wemm.endif
210fe6d3fe5SPeter Wemm
2115c931089SJohn Birrell.if ${MACHINE_ARCH} == "i386"
2124d47d82dSJohn Birrell# Things that don't compile on alpha or are aout specific:
213cb7f1224SGary PalmerSUBDIR+=ar \
2147256d29cSMarcel Moolenaar	doscmd \
215cb7f1224SGary Palmer	gcore \
216cb7f1224SGary Palmer	gprof4 \
217e0812b58SBoris Popov	ncplist \
21827490905SBoris Popov	ncplogin \
219cb7f1224SGary Palmer	nm \
220cb7f1224SGary Palmer	ranlib \
221cb7f1224SGary Palmer	sasc \
222cb7f1224SGary Palmer	size \
223cb7f1224SGary Palmer	strings \
2248df85cf6SDima Ruban	strip
2254d47d82dSJohn Birrell.endif
2269b50d902SRodney W. Grimes
227bcbd27beSDavid E. O'Brien.if ${MACHINE_ARCH} == "alpha"
228bcbd27beSDavid E. O'BrienSUBDIR+=uac
229bcbd27beSDavid E. O'Brien.endif
230bcbd27beSDavid E. O'Brien
231a8ec1b48SMaxim Sobolev.if exists(${.CURDIR}/../../crypto) && !defined(NOCRYPT) && !defined(NO_OPENSSL)
232a8ec1b48SMaxim SobolevSUBDIR+=chkey newkey
233a8ec1b48SMaxim Sobolev.endif
234a8ec1b48SMaxim Sobolev
2359b50d902SRodney W. Grimes.include <bsd.subdir.mk>
236