xref: /freebsd/usr.bin/Makefile (revision ed7a104f0220ac9333ffde0e66c433ad5a91c837)
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 \
129a1523bcSDavid E. O'Brien	awk \
13cb7f1224SGary Palmer	banner \
14cb7f1224SGary Palmer	basename \
15cb7f1224SGary Palmer	biff \
166eea92a4SDavid E. O'Brien	brandelf \
17d6a9fd06SDavid E. O'Brien	bzip2 \
18cb7f1224SGary Palmer	c89 \
19cb7f1224SGary Palmer	calendar \
20cb7f1224SGary Palmer	cap_mkdb \
21cb7f1224SGary Palmer	chat \
22cb7f1224SGary Palmer	checknr \
23cb7f1224SGary Palmer	chflags \
24cb7f1224SGary Palmer	chpass \
25cb7f1224SGary Palmer	cksum \
26cb7f1224SGary Palmer	cmp \
27cb7f1224SGary Palmer	col \
28cb7f1224SGary Palmer	colcrt \
29cb7f1224SGary Palmer	colldef \
30cb7f1224SGary Palmer	colrm \
31cb7f1224SGary Palmer	column \
32cb7f1224SGary Palmer	comm \
33cb7f1224SGary Palmer	compile_et \
34cb7f1224SGary Palmer	compress \
35cb7f1224SGary Palmer	ctags \
36cb7f1224SGary Palmer	cut \
37cb7f1224SGary Palmer	dirname \
38cb7f1224SGary Palmer	du \
39cb7f1224SGary Palmer	ee \
40489c66feSJoerg Wunsch	enigma \
41cb7f1224SGary Palmer	env \
42cb7f1224SGary Palmer	expand \
43cb7f1224SGary Palmer	false \
44cb7f1224SGary Palmer	fetch \
45cb7f1224SGary Palmer	file \
46cb7f1224SGary Palmer	file2c \
47cb7f1224SGary Palmer	find \
48cb7f1224SGary Palmer	finger \
49cb7f1224SGary Palmer	fmt \
50cb7f1224SGary Palmer	fold \
51cb7f1224SGary Palmer	from \
5287bc830fSDima Ruban	fstat \
534aeb1c05SPaul Saab	fsync \
54cb7f1224SGary Palmer	ftp \
55cb7f1224SGary Palmer	gencat \
568c6bd995SGarrett Wollman	getconf \
57cb7f1224SGary Palmer	getopt \
5813a29a8aSHidetoshi Shimokawa	gprof \
59cb7f1224SGary Palmer	head \
6061a35ccdSJacques Vidrine	hesinfo \
61cb7f1224SGary Palmer	hexdump \
62cb7f1224SGary Palmer	id \
63cb7f1224SGary Palmer	indent \
64cb7f1224SGary Palmer	ipcrm \
65cb7f1224SGary Palmer	ipcs \
66cb7f1224SGary Palmer	join \
67cb7f1224SGary Palmer	jot \
68cb7f1224SGary Palmer	kdump \
69c87a63c1SPeter Wemm	kenv \
70cb7f1224SGary Palmer	keylogin \
71cb7f1224SGary Palmer	keylogout \
72cb7f1224SGary Palmer	killall \
73cb7f1224SGary Palmer	ktrace \
74ed7a104fSJake Burkholder	ktrdump \
75cb7f1224SGary Palmer	lam \
76cb7f1224SGary Palmer	last \
77cb7f1224SGary Palmer	lastcomm \
78aaa41712SDoug Rabson	ldd \
799106cde5SBruce Evans	leave \
806f7d2d90SPaul Saab	less \
816f7d2d90SPaul Saab	lessecho \
826f7d2d90SPaul Saab	lesskey \
83cb7f1224SGary Palmer	lex \
84cb7f1224SGary Palmer	limits \
85cb7f1224SGary Palmer	locate \
86cb7f1224SGary Palmer	lock \
87cb7f1224SGary Palmer	lockf \
88cb7f1224SGary Palmer	logger \
89cb7f1224SGary Palmer	login \
90cb7f1224SGary Palmer	logname \
91cb7f1224SGary Palmer	look \
92cb7f1224SGary Palmer	lorder \
93cb7f1224SGary Palmer	lsvfs \
94cb7f1224SGary Palmer	m4 \
95cb7f1224SGary Palmer	mail \
96cb7f1224SGary Palmer	make \
97cb7f1224SGary Palmer	mesg \
989106cde5SBruce Evans	minigzip \
99cb7f1224SGary Palmer	mkdep \
100cb7f1224SGary Palmer	mkfifo \
101cb7f1224SGary Palmer	mklocale \
102cb7f1224SGary Palmer	mkstr \
103cb7f1224SGary Palmer	mktemp \
104cb7f1224SGary Palmer	msgs \
105e4dc55c3SDoug Rabson	mt \
106cb7f1224SGary Palmer	ncal \
107cb7f1224SGary Palmer	netstat \
108cb7f1224SGary Palmer	nfsstat \
109cb7f1224SGary Palmer	nice \
110f2155981SBrian Somers	nl \
111cb7f1224SGary Palmer	nohup \
112cb7f1224SGary Palmer	objformat \
113cb7f1224SGary Palmer	opieinfo \
114cb7f1224SGary Palmer	opiekey \
115cb7f1224SGary Palmer	opiepasswd \
116cb7f1224SGary Palmer	pagesize \
117cb7f1224SGary Palmer	passwd \
118cb7f1224SGary Palmer	paste \
119cb7f1224SGary Palmer	pr \
120cb7f1224SGary Palmer	printenv \
121cb7f1224SGary Palmer	printf \
122cb7f1224SGary Palmer	quota \
123cb7f1224SGary Palmer	renice \
124cb7f1224SGary Palmer	rev \
125cb7f1224SGary Palmer	rlogin \
126cb7f1224SGary Palmer	rpcgen \
127cb7f1224SGary Palmer	rpcinfo \
128cb7f1224SGary Palmer	rs \
129cb7f1224SGary Palmer	rsh \
130cb7f1224SGary Palmer	rup \
131cb7f1224SGary Palmer	ruptime \
132cb7f1224SGary Palmer	rusers \
133cb7f1224SGary Palmer	rwall \
134cb7f1224SGary Palmer	rwho \
135cb7f1224SGary Palmer	script \
136cb7f1224SGary Palmer	sed \
137cb7f1224SGary Palmer	shar \
138cb7f1224SGary Palmer	showmount \
13928bfda34SDag-Erling Smørgrav	sockstat \
140cb7f1224SGary Palmer	soelim \
141a2e0c81eSMark Murray	sort \
142cb7f1224SGary Palmer	split \
143cb7f1224SGary Palmer	su \
144cb7f1224SGary Palmer	symorder \
1458df85cf6SDima Ruban	systat \
146cb7f1224SGary Palmer	tail \
147cb7f1224SGary Palmer	talk \
148cb7f1224SGary Palmer	tcopy \
149cb7f1224SGary Palmer	tee \
150cb7f1224SGary Palmer	tftp \
151cb7f1224SGary Palmer	time \
152afb5951fSMark Murray	tip \
153cb7f1224SGary Palmer	top \
154cb7f1224SGary Palmer	touch \
155cb7f1224SGary Palmer	tput \
156cb7f1224SGary Palmer	tr \
157cb7f1224SGary Palmer	true \
158edeb84a1SSheldon Hearn	truncate \
159c3b3cd1bSSean Eric Fagan	truss \
160cb7f1224SGary Palmer	tset \
161cb7f1224SGary Palmer	tsort \
162cb7f1224SGary Palmer	tty \
163cb7f1224SGary Palmer	ul \
164cb7f1224SGary Palmer	uname \
165cb7f1224SGary Palmer	unexpand \
166cb7f1224SGary Palmer	unifdef \
167cb7f1224SGary Palmer	uniq \
168cb7f1224SGary Palmer	units \
169cb7f1224SGary Palmer	unvis \
17009d308a8SNick Hibma	usbhidctl \
171cb7f1224SGary Palmer	users \
172cb7f1224SGary Palmer	uudecode \
173cb7f1224SGary Palmer	uuencode \
174cb7f1224SGary Palmer	vgrind \
175cb7f1224SGary Palmer	vi \
176cb7f1224SGary Palmer	vis \
1770600c890SBruce Evans	vmstat \
178cb7f1224SGary Palmer	w \
179cb7f1224SGary Palmer	wall \
180cb7f1224SGary Palmer	wc \
181cb7f1224SGary Palmer	what \
182cb7f1224SGary Palmer	whereis \
183cb7f1224SGary Palmer	which \
184cb7f1224SGary Palmer	who \
185cb7f1224SGary Palmer	whois \
186cb7f1224SGary Palmer	window \
187cb7f1224SGary Palmer	write \
188cb7f1224SGary Palmer	xargs \
189cb7f1224SGary Palmer	xinstall \
1902bfd7df3SMark Murray	xlint \
191cb7f1224SGary Palmer	xstr \
192cb7f1224SGary Palmer	yacc \
193cb7f1224SGary Palmer	yes \
194cb7f1224SGary Palmer	ypcat \
195cb7f1224SGary Palmer	ypmatch \
196cb7f1224SGary Palmer	ypwhich
1975c931089SJohn Birrell
1980dc44b5aSRuslan Ermilov.if defined(RELEASEDIR) || \
1990dc44b5aSRuslan Ermilov    (!exists(${.CURDIR}/../kerberosIV) && !exists(${.CURDIR}/../secure)) || \
2000dc44b5aSRuslan Ermilov    defined(NOCRYPT) || (defined(NOSECURE) && !defined(MAKE_KERBEROS4))
2019106cde5SBruce Evans# Releases need both this non-crypt telnet and the crypt telnet.
2025c931089SJohn BirrellSUBDIR+=telnet
2035c931089SJohn Birrell.endif
2045c931089SJohn Birrell
2059db938c3SPeter Wemm.if !defined(NO_BIND)
206fe6d3fe5SPeter WemmSUBDIR+=dig \
2079db938c3SPeter Wemm	dnskeygen \
208fe6d3fe5SPeter Wemm	dnsquery \
209fe6d3fe5SPeter Wemm	host
210fe6d3fe5SPeter Wemm.endif
211fe6d3fe5SPeter Wemm
2126dbfffa3SGregory Neil Shapiro.if !defined(NO_SENDMAIL)
2136dbfffa3SGregory Neil ShapiroSUBDIR+=vacation
2146dbfffa3SGregory Neil Shapiro.endif
2156dbfffa3SGregory Neil Shapiro
2165c931089SJohn Birrell.if ${MACHINE_ARCH} == "i386"
2174d47d82dSJohn Birrell# Things that don't compile on alpha or are aout specific:
218cb7f1224SGary PalmerSUBDIR+=ar \
2197256d29cSMarcel Moolenaar	doscmd \
220cb7f1224SGary Palmer	gcore \
221e0812b58SBoris Popov	ncplist \
22227490905SBoris Popov	ncplogin \
223cb7f1224SGary Palmer	nm \
224cb7f1224SGary Palmer	ranlib \
225cb7f1224SGary Palmer	sasc \
226cb7f1224SGary Palmer	size \
22723eb26faSSheldon Hearn	smbutil \
228cb7f1224SGary Palmer	strings \
2298df85cf6SDima Ruban	strip
2304d47d82dSJohn Birrell.endif
2319b50d902SRodney W. Grimes
232bcbd27beSDavid E. O'Brien.if ${MACHINE_ARCH} == "alpha"
233bcbd27beSDavid E. O'BrienSUBDIR+=uac
234bcbd27beSDavid E. O'Brien.endif
235bcbd27beSDavid E. O'Brien
236cccce27aSPeter Wemm.if exists(${.CURDIR}/../crypto) && !defined(NOCRYPT) && !defined(NO_OPENSSL)
237a8ec1b48SMaxim SobolevSUBDIR+=chkey newkey
238a8ec1b48SMaxim Sobolev.endif
239a8ec1b48SMaxim Sobolev
2409b50d902SRodney W. Grimes.include <bsd.subdir.mk>
241