xref: /freebsd/usr.bin/Makefile (revision 52183d0145e4ff7e32191569a7325e7fe6ca9090)
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#
10cb7f1224SGary PalmerSUBDIR=	apply \
11cba9c8bdSTim J. Robbins	asa \
12cb7f1224SGary Palmer	at \
139a1523bcSDavid E. O'Brien	awk \
14cb7f1224SGary Palmer	banner \
15cb7f1224SGary Palmer	basename \
16cb7f1224SGary Palmer	biff \
176eea92a4SDavid E. O'Brien	brandelf \
18d6a9fd06SDavid E. O'Brien	bzip2 \
19cb7f1224SGary Palmer	c89 \
20cb7f1224SGary Palmer	calendar \
21cb7f1224SGary Palmer	cap_mkdb \
22bf7bec33SMark Murray	catman \
23cb7f1224SGary Palmer	chat \
24cb7f1224SGary Palmer	checknr \
25cb7f1224SGary Palmer	chflags \
26cb7f1224SGary Palmer	chpass \
27cb7f1224SGary Palmer	cksum \
28cb7f1224SGary Palmer	cmp \
29cb7f1224SGary Palmer	col \
30cb7f1224SGary Palmer	colcrt \
31cb7f1224SGary Palmer	colldef \
32cb7f1224SGary Palmer	colrm \
33cb7f1224SGary Palmer	column \
34cb7f1224SGary Palmer	comm \
35cb7f1224SGary Palmer	compile_et \
36cb7f1224SGary Palmer	compress \
37ea9e961cSTim J. Robbins	csplit \
38cb7f1224SGary Palmer	ctags \
39cb7f1224SGary Palmer	cut \
40cb7f1224SGary Palmer	dirname \
41cb7f1224SGary Palmer	du \
42cb7f1224SGary Palmer	ee \
43489c66feSJoerg Wunsch	enigma \
44cb7f1224SGary Palmer	env \
45cb7f1224SGary Palmer	expand \
46cb7f1224SGary Palmer	false \
47cb7f1224SGary Palmer	fetch \
48cb7f1224SGary Palmer	file \
49cb7f1224SGary Palmer	file2c \
50cb7f1224SGary Palmer	find \
51cb7f1224SGary Palmer	finger \
52cb7f1224SGary Palmer	fmt \
53cb7f1224SGary Palmer	fold \
54cb7f1224SGary Palmer	from \
5587bc830fSDima Ruban	fstat \
564aeb1c05SPaul Saab	fsync \
57cb7f1224SGary Palmer	ftp \
58cb7f1224SGary Palmer	gencat \
59cb7f1224SGary Palmer	getopt \
6013a29a8aSHidetoshi Shimokawa	gprof \
61cb7f1224SGary Palmer	head \
6235498596SJuli Mallett	help \
6361a35ccdSJacques Vidrine	hesinfo \
64cb7f1224SGary Palmer	hexdump \
65cb7f1224SGary Palmer	id \
66cb7f1224SGary Palmer	indent \
67cb7f1224SGary Palmer	ipcrm \
68cb7f1224SGary Palmer	ipcs \
69cb7f1224SGary Palmer	join \
70cb7f1224SGary Palmer	jot \
71cb7f1224SGary Palmer	kdump \
72c87a63c1SPeter Wemm	kenv \
73cb7f1224SGary Palmer	keylogin \
74cb7f1224SGary Palmer	keylogout \
75cb7f1224SGary Palmer	killall \
76cb7f1224SGary Palmer	ktrace \
77ed7a104fSJake Burkholder	ktrdump \
78cb7f1224SGary Palmer	lam \
79cb7f1224SGary Palmer	last \
80cb7f1224SGary Palmer	lastcomm \
81aaa41712SDoug Rabson	ldd \
829106cde5SBruce Evans	leave \
836f7d2d90SPaul Saab	less \
846f7d2d90SPaul Saab	lessecho \
856f7d2d90SPaul Saab	lesskey \
86cb7f1224SGary Palmer	lex \
87cb7f1224SGary Palmer	limits \
88cb7f1224SGary Palmer	locate \
89cb7f1224SGary Palmer	lock \
90cb7f1224SGary Palmer	lockf \
91cb7f1224SGary Palmer	logger \
92cb7f1224SGary Palmer	login \
93cb7f1224SGary Palmer	logname \
94cb7f1224SGary Palmer	look \
95cb7f1224SGary Palmer	lorder \
96cb7f1224SGary Palmer	lsvfs \
97cb7f1224SGary Palmer	m4 \
98cb7f1224SGary Palmer	mail \
99cb7f1224SGary Palmer	make \
100bf7bec33SMark Murray	makewhatis \
101cb7f1224SGary Palmer	mesg \
1029106cde5SBruce Evans	minigzip \
103cb7f1224SGary Palmer	mkdep \
104cb7f1224SGary Palmer	mkfifo \
105cb7f1224SGary Palmer	mklocale \
106cb7f1224SGary Palmer	mkstr \
107cb7f1224SGary Palmer	mktemp \
108cb7f1224SGary Palmer	msgs \
109e4dc55c3SDoug Rabson	mt \
110cb7f1224SGary Palmer	ncal \
111cb7f1224SGary Palmer	netstat \
112776c387aSTim J. Robbins	newgrp \
113cb7f1224SGary Palmer	nfsstat \
114cb7f1224SGary Palmer	nice \
115f2155981SBrian Somers	nl \
116cb7f1224SGary Palmer	nohup \
117cb7f1224SGary Palmer	objformat \
118cb7f1224SGary Palmer	opieinfo \
119cb7f1224SGary Palmer	opiekey \
120cb7f1224SGary Palmer	opiepasswd \
121cb7f1224SGary Palmer	pagesize \
122cb7f1224SGary Palmer	passwd \
123cb7f1224SGary Palmer	paste \
124b9f63041STim J. Robbins	pathchk \
125cb7f1224SGary Palmer	pr \
126cb7f1224SGary Palmer	printenv \
127cb7f1224SGary Palmer	printf \
128cb7f1224SGary Palmer	quota \
129cb7f1224SGary Palmer	renice \
130cb7f1224SGary Palmer	rev \
131788fcec0SDavid E. O'Brien	rlogin \
132cb7f1224SGary Palmer	rpcgen \
133cb7f1224SGary Palmer	rpcinfo \
134cb7f1224SGary Palmer	rs \
135788fcec0SDavid E. O'Brien	rsh \
136cb7f1224SGary Palmer	rup \
137cb7f1224SGary Palmer	ruptime \
138cb7f1224SGary Palmer	rusers \
139cb7f1224SGary Palmer	rwall \
140cb7f1224SGary Palmer	rwho \
141a0304d80SJuli Mallett	sccs \
142cb7f1224SGary Palmer	script \
143cb7f1224SGary Palmer	sed \
144cb7f1224SGary Palmer	shar \
145cb7f1224SGary Palmer	showmount \
14628bfda34SDag-Erling Smørgrav	sockstat \
147cb7f1224SGary Palmer	soelim \
148cb7f1224SGary Palmer	split \
149cb7f1224SGary Palmer	su \
150cb7f1224SGary Palmer	symorder \
1518df85cf6SDima Ruban	systat \
152743f138eSTim J. Robbins	tabs \
153cb7f1224SGary Palmer	tail \
154cb7f1224SGary Palmer	talk \
155cb7f1224SGary Palmer	tcopy \
156cb7f1224SGary Palmer	tee \
157cb7f1224SGary Palmer	tftp \
158cb7f1224SGary Palmer	time \
159afb5951fSMark Murray	tip \
160cb7f1224SGary Palmer	top \
161cb7f1224SGary Palmer	touch \
162cb7f1224SGary Palmer	tput \
163cb7f1224SGary Palmer	tr \
164cb7f1224SGary Palmer	true \
165edeb84a1SSheldon Hearn	truncate \
166c3b3cd1bSSean Eric Fagan	truss \
167cb7f1224SGary Palmer	tset \
168cb7f1224SGary Palmer	tsort \
169cb7f1224SGary Palmer	tty \
170cb7f1224SGary Palmer	ul \
171cb7f1224SGary Palmer	uname \
172cb7f1224SGary Palmer	unexpand \
173cb7f1224SGary Palmer	unifdef \
174cb7f1224SGary Palmer	uniq \
175cb7f1224SGary Palmer	units \
176cb7f1224SGary Palmer	unvis \
17709d308a8SNick Hibma	usbhidctl \
178cb7f1224SGary Palmer	users \
179cb7f1224SGary Palmer	uudecode \
180cb7f1224SGary Palmer	uuencode \
18152183d01SMarcel Moolenaar	uuidgen \
182cb7f1224SGary Palmer	vgrind \
183cb7f1224SGary Palmer	vi \
184cb7f1224SGary Palmer	vis \
1850600c890SBruce Evans	vmstat \
186cb7f1224SGary Palmer	w \
187cb7f1224SGary Palmer	wall \
188cb7f1224SGary Palmer	wc \
189cb7f1224SGary Palmer	what \
190cb7f1224SGary Palmer	whereis \
191cb7f1224SGary Palmer	which \
192cb7f1224SGary Palmer	who \
193cb7f1224SGary Palmer	whois \
194cb7f1224SGary Palmer	window \
195cb7f1224SGary Palmer	write \
196cb7f1224SGary Palmer	xargs \
197cb7f1224SGary Palmer	xinstall \
198cb7f1224SGary Palmer	xstr \
199cb7f1224SGary Palmer	yacc \
200cb7f1224SGary Palmer	yes \
201cb7f1224SGary Palmer	ypcat \
202cb7f1224SGary Palmer	ypmatch \
203cb7f1224SGary Palmer	ypwhich
2045c931089SJohn Birrell
2050dc44b5aSRuslan Ermilov.if defined(RELEASEDIR) || \
2060dc44b5aSRuslan Ermilov    (!exists(${.CURDIR}/../kerberosIV) && !exists(${.CURDIR}/../secure)) || \
2070dc44b5aSRuslan Ermilov    defined(NOCRYPT) || (defined(NOSECURE) && !defined(MAKE_KERBEROS4))
2089106cde5SBruce Evans# Releases need both this non-crypt telnet and the crypt telnet.
2095c931089SJohn BirrellSUBDIR+=telnet
2105c931089SJohn Birrell.endif
2115c931089SJohn Birrell
2129db938c3SPeter Wemm.if !defined(NO_BIND)
213fe6d3fe5SPeter WemmSUBDIR+=dig \
2149db938c3SPeter Wemm	dnskeygen \
215fe6d3fe5SPeter Wemm	dnsquery \
216fe6d3fe5SPeter Wemm	host
217fe6d3fe5SPeter Wemm.endif
218fe6d3fe5SPeter Wemm
2196dbfffa3SGregory Neil Shapiro.if !defined(NO_SENDMAIL)
2206dbfffa3SGregory Neil ShapiroSUBDIR+=vacation
2216dbfffa3SGregory Neil Shapiro.endif
2226dbfffa3SGregory Neil Shapiro
2235c931089SJohn Birrell.if ${MACHINE_ARCH} == "i386"
2244d47d82dSJohn Birrell# Things that don't compile on alpha or are aout specific:
225cb7f1224SGary PalmerSUBDIR+=ar \
226733bc907SRuslan Ermilov	doscmd \
227cb7f1224SGary Palmer	gcore \
228e0812b58SBoris Popov	ncplist \
22927490905SBoris Popov	ncplogin \
230cb7f1224SGary Palmer	nm \
231cb7f1224SGary Palmer	ranlib \
232cb7f1224SGary Palmer	sasc \
233cb7f1224SGary Palmer	size \
23423eb26faSSheldon Hearn	smbutil \
235cb7f1224SGary Palmer	strings \
2368df85cf6SDima Ruban	strip
2374d47d82dSJohn Birrell.endif
2389b50d902SRodney W. Grimes
239bcbd27beSDavid E. O'Brien.if ${MACHINE_ARCH} == "alpha"
240bcbd27beSDavid E. O'BrienSUBDIR+=uac
241bcbd27beSDavid E. O'Brien.endif
242bcbd27beSDavid E. O'Brien
24328def05cSDavid E. O'Brien# Things which don't compile on new platforms yet:
24428def05cSDavid E. O'Brien.if ${MACHINE_ARCH} != "sparc64" && ${MACHINE_ARCH} != "ia64"
24512aee77eSPeter WemmSUBDIR+=xlint
24612aee77eSPeter Wemm.endif
2476639a24dSDavid E. O'Brien.if ${CXX:T} != "c++"
24828def05cSDavid E. O'BrienSUBDIR+=getconf
24928def05cSDavid E. O'Brien.endif
25012aee77eSPeter Wemm
251cccce27aSPeter Wemm.if exists(${.CURDIR}/../crypto) && !defined(NOCRYPT) && !defined(NO_OPENSSL)
252a8ec1b48SMaxim SobolevSUBDIR+=chkey newkey
253a8ec1b48SMaxim Sobolev.endif
254a8ec1b48SMaxim Sobolev
2559b50d902SRodney W. Grimes.include <bsd.subdir.mk>
256