xref: /freebsd/usr.bin/Makefile (revision fb22fc68e447128452369797fdee47cf29cf2419)
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 \
43c345c0daSDavid E. O'Brien	elf2aout \
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 \
60cb7f1224SGary Palmer	getopt \
6113a29a8aSHidetoshi Shimokawa	gprof \
62cb7f1224SGary Palmer	head \
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 \
112cb7f1224SGary Palmer	nfsstat \
113cb7f1224SGary Palmer	nice \
114f2155981SBrian Somers	nl \
115cb7f1224SGary Palmer	nohup \
116cb7f1224SGary Palmer	objformat \
117cb7f1224SGary Palmer	opieinfo \
118cb7f1224SGary Palmer	opiekey \
119cb7f1224SGary Palmer	opiepasswd \
120cb7f1224SGary Palmer	pagesize \
121cb7f1224SGary Palmer	passwd \
122cb7f1224SGary Palmer	paste \
123b9f63041STim J. Robbins	pathchk \
124cb7f1224SGary Palmer	pr \
125cb7f1224SGary Palmer	printenv \
126cb7f1224SGary Palmer	printf \
127cb7f1224SGary Palmer	quota \
128cb7f1224SGary Palmer	renice \
129cb7f1224SGary Palmer	rev \
130788fcec0SDavid E. O'Brien	rlogin \
131cb7f1224SGary Palmer	rpcgen \
132cb7f1224SGary Palmer	rpcinfo \
133cb7f1224SGary Palmer	rs \
134788fcec0SDavid E. O'Brien	rsh \
135cb7f1224SGary Palmer	rup \
136cb7f1224SGary Palmer	ruptime \
137cb7f1224SGary Palmer	rusers \
138cb7f1224SGary Palmer	rwall \
139cb7f1224SGary Palmer	rwho \
140cb7f1224SGary Palmer	script \
141cb7f1224SGary Palmer	sed \
142cb7f1224SGary Palmer	shar \
143cb7f1224SGary Palmer	showmount \
14428bfda34SDag-Erling Smørgrav	sockstat \
145cb7f1224SGary Palmer	soelim \
146cb7f1224SGary Palmer	split \
147cb7f1224SGary Palmer	su \
148cb7f1224SGary Palmer	symorder \
1498df85cf6SDima Ruban	systat \
150743f138eSTim J. Robbins	tabs \
151cb7f1224SGary Palmer	tail \
152cb7f1224SGary Palmer	talk \
153cb7f1224SGary Palmer	tcopy \
154cb7f1224SGary Palmer	tee \
155cb7f1224SGary Palmer	tftp \
156cb7f1224SGary Palmer	time \
157afb5951fSMark Murray	tip \
158cb7f1224SGary Palmer	top \
159cb7f1224SGary Palmer	touch \
160cb7f1224SGary Palmer	tput \
161cb7f1224SGary Palmer	tr \
162cb7f1224SGary Palmer	true \
163edeb84a1SSheldon Hearn	truncate \
164c3b3cd1bSSean Eric Fagan	truss \
165cb7f1224SGary Palmer	tset \
166cb7f1224SGary Palmer	tsort \
167cb7f1224SGary Palmer	tty \
168cb7f1224SGary Palmer	ul \
169cb7f1224SGary Palmer	uname \
170cb7f1224SGary Palmer	unexpand \
171cb7f1224SGary Palmer	unifdef \
172cb7f1224SGary Palmer	uniq \
173cb7f1224SGary Palmer	units \
174cb7f1224SGary Palmer	unvis \
17509d308a8SNick Hibma	usbhidctl \
176cb7f1224SGary Palmer	users \
177cb7f1224SGary Palmer	uudecode \
178cb7f1224SGary Palmer	uuencode \
179cb7f1224SGary Palmer	vgrind \
180cb7f1224SGary Palmer	vi \
181cb7f1224SGary Palmer	vis \
1820600c890SBruce Evans	vmstat \
183cb7f1224SGary Palmer	w \
184cb7f1224SGary Palmer	wall \
185cb7f1224SGary Palmer	wc \
186cb7f1224SGary Palmer	what \
187cb7f1224SGary Palmer	whereis \
188cb7f1224SGary Palmer	which \
189cb7f1224SGary Palmer	who \
190cb7f1224SGary Palmer	whois \
191cb7f1224SGary Palmer	window \
192cb7f1224SGary Palmer	write \
193cb7f1224SGary Palmer	xargs \
194cb7f1224SGary Palmer	xinstall \
195cb7f1224SGary Palmer	xstr \
196cb7f1224SGary Palmer	yacc \
197cb7f1224SGary Palmer	yes \
198cb7f1224SGary Palmer	ypcat \
199cb7f1224SGary Palmer	ypmatch \
200cb7f1224SGary Palmer	ypwhich
2015c931089SJohn Birrell
2020dc44b5aSRuslan Ermilov.if defined(RELEASEDIR) || \
2030dc44b5aSRuslan Ermilov    (!exists(${.CURDIR}/../kerberosIV) && !exists(${.CURDIR}/../secure)) || \
2040dc44b5aSRuslan Ermilov    defined(NOCRYPT) || (defined(NOSECURE) && !defined(MAKE_KERBEROS4))
2059106cde5SBruce Evans# Releases need both this non-crypt telnet and the crypt telnet.
2065c931089SJohn BirrellSUBDIR+=telnet
2075c931089SJohn Birrell.endif
2085c931089SJohn Birrell
2099db938c3SPeter Wemm.if !defined(NO_BIND)
210fe6d3fe5SPeter WemmSUBDIR+=dig \
2119db938c3SPeter Wemm	dnskeygen \
212fe6d3fe5SPeter Wemm	dnsquery \
213fe6d3fe5SPeter Wemm	host
214fe6d3fe5SPeter Wemm.endif
215fe6d3fe5SPeter Wemm
2166dbfffa3SGregory Neil Shapiro.if !defined(NO_SENDMAIL)
2176dbfffa3SGregory Neil ShapiroSUBDIR+=vacation
2186dbfffa3SGregory Neil Shapiro.endif
2196dbfffa3SGregory Neil Shapiro
2205c931089SJohn Birrell.if ${MACHINE_ARCH} == "i386"
2214d47d82dSJohn Birrell# Things that don't compile on alpha or are aout specific:
222cb7f1224SGary PalmerSUBDIR+=ar \
223733bc907SRuslan Ermilov	doscmd \
224cb7f1224SGary Palmer	gcore \
225e0812b58SBoris Popov	ncplist \
22627490905SBoris Popov	ncplogin \
227cb7f1224SGary Palmer	nm \
228cb7f1224SGary Palmer	ranlib \
229cb7f1224SGary Palmer	sasc \
230cb7f1224SGary Palmer	size \
23123eb26faSSheldon Hearn	smbutil \
232cb7f1224SGary Palmer	strings \
2338df85cf6SDima Ruban	strip
2344d47d82dSJohn Birrell.endif
2359b50d902SRodney W. Grimes
236bcbd27beSDavid E. O'Brien.if ${MACHINE_ARCH} == "alpha"
237bcbd27beSDavid E. O'BrienSUBDIR+=uac
238bcbd27beSDavid E. O'Brien.endif
239bcbd27beSDavid E. O'Brien
24028def05cSDavid E. O'Brien# Things which don't compile on new platforms yet:
24128def05cSDavid E. O'Brien.if ${MACHINE_ARCH} != "sparc64" && ${MACHINE_ARCH} != "ia64"
24212aee77eSPeter WemmSUBDIR+=xlint
24312aee77eSPeter Wemm.endif
2446639a24dSDavid E. O'Brien.if ${CXX:T} != "c++"
24528def05cSDavid E. O'BrienSUBDIR+=getconf
24628def05cSDavid E. O'Brien.endif
24712aee77eSPeter Wemm
248cccce27aSPeter Wemm.if exists(${.CURDIR}/../crypto) && !defined(NOCRYPT) && !defined(NO_OPENSSL)
249a8ec1b48SMaxim SobolevSUBDIR+=chkey newkey
250a8ec1b48SMaxim Sobolev.endif
251a8ec1b48SMaxim Sobolev
2529b50d902SRodney W. Grimes.include <bsd.subdir.mk>
253