Makefile revision 116781
1164426Ssam#	From: @(#)Makefile	8.3 (Berkeley) 1/7/94
2164426Ssam# $FreeBSD: head/usr.bin/Makefile 116781 2003-06-24 13:25:24Z julian $
3164426Ssam
4164426Ssam# XXX MISSING:		deroff diction graph learn plot
5164426Ssam#			spell spline struct xsend
6164426Ssam# XXX Use GNU versions: apropos bc dc diff grep ld man patch whatis
7164426Ssam# Moved to secure: bdes
8164426Ssam#
9164426Ssam
10164426Ssam.if ${MACHINE_ARCH} != "ia64"
11164426Ssam_xlint=	xlint
12164426Ssam.endif
13164426Ssam
14164426Ssam.if ${MACHINE_ARCH} != "powerpc" && ${MACHINE_ARCH} != "amd64"
15164426Ssam_gprof=	gprof
16164426Ssam_truss=	truss
17164426Ssam.endif
18164426Ssam
19164426SsamSUBDIR=	alias \
20164426Ssam	apply \
21164426Ssam	asa \
22164426Ssam	at \
23164426Ssam	awk \
24164426Ssam	banner \
25164426Ssam	basename \
26164426Ssam	biff \
27164426Ssam	brandelf \
28164426Ssam	bzip2 \
29164426Ssam	bzip2recover \
30164426Ssam	c89 \
31164426Ssam	c99 \
32164426Ssam	calendar \
33164426Ssam	cap_mkdb \
34164426Ssam	catman \
35164426Ssam	chat \
36164426Ssam	checknr \
37164426Ssam	chpass \
38164426Ssam	cksum \
39164426Ssam	cmp \
40164426Ssam	col \
41164426Ssam	colcrt \
42164426Ssam	colldef \
43164426Ssam	colrm \
44164426Ssam	column \
45164426Ssam	comm \
46164426Ssam	compile_et \
47164426Ssam	compress \
48164426Ssam	csplit \
49164426Ssam	ctags \
50186352Ssam	cut \
51186418Ssam	dirname \
52186352Ssam	du \
53186352Ssam	ee \
54186352Ssam	elf2aout \
55164426Ssam	elfdump \
56164426Ssam	enigma \
57164426Ssam	env \
58164426Ssam	expand \
59164426Ssam	false \
60164426Ssam	fetch \
61164426Ssam	file \
62164426Ssam	file2c \
63164426Ssam	find \
64164426Ssam	finger \
65166064Scognet	fmt \
66164426Ssam	fold \
67164426Ssam	from \
68194653Ssam	fstat \
69194653Ssam	fsync \
70164426Ssam	ftp \
71164426Ssam	gcore \
72164426Ssam	gencat \
73164426Ssam	getconf \
74164426Ssam	getopt \
75164426Ssam	${_gprof} \
76164426Ssam	head \
77164426Ssam	hesinfo \
78164426Ssam	hexdump \
79164426Ssam	id \
80164426Ssam	indent \
81164426Ssam	ipcrm \
82164426Ssam	ipcs \
83164426Ssam	join \
84166064Scognet	jot \
85164426Ssam	kdump \
86164426Ssam	keylogin \
87164426Ssam	keylogout \
88164426Ssam	killall \
89164426Ssam	ktrace \
90164426Ssam	ktrdump \
91164426Ssam	lam \
92164426Ssam	last \
93164426Ssam	lastcomm \
94164426Ssam	ldd \
95164426Ssam	leave \
96164426Ssam	less \
97164426Ssam	lessecho \
98164426Ssam	lesskey \
99164426Ssam	lex \
100164426Ssam	limits \
101164426Ssam	locale \
102164426Ssam	locate \
103164426Ssam	lock \
104186352Ssam	lockf \
105186418Ssam	logger \
106194319Ssam	login \
107164426Ssam	logname \
108164426Ssam	look \
109164426Ssam	lorder \
110164426Ssam	lsvfs \
111170109Sjhay	m4 \
112170109Sjhay	mail \
113169952Ssam	make \
114169952Ssam	makewhatis \
115169952Ssam	mesg \
116169952Ssam	minigzip \
117169952Ssam	mkdep \
118169952Ssam	mkfifo \
119169952Ssam	mklocale \
120169952Ssam	mkstr \
121169952Ssam	mktemp \
122169952Ssam	msgs \
123164426Ssam	mt \
124	ncal \
125	netstat \
126	newgrp \
127	nfsstat \
128	nice \
129	nl \
130	nohup \
131	objformat \
132	opieinfo \
133	opiekey \
134	opiepasswd \
135	pagesize \
136	passwd \
137	paste \
138	pathchk \
139	pr \
140	printenv \
141	printf \
142	quota \
143	renice \
144	rev \
145	rlogin \
146	rpcgen \
147	rpcinfo \
148	rs \
149	rsh \
150	rup \
151	ruptime \
152	rusers \
153	rwall \
154	rwho \
155	script \
156	sed \
157	shar \
158	showmount \
159	sockstat \
160	split \
161	stat \
162	su \
163	symorder \
164	systat \
165	tabs \
166	tail \
167	talk \
168	tcopy \
169	tee \
170	tftp \
171	time \
172	tip \
173	top \
174	touch \
175	tput \
176	tr \
177	true \
178	truncate \
179	${_truss} \
180	tset \
181	tsort \
182	tty \
183	ul \
184	uname \
185	unexpand \
186	unifdef \
187	uniq \
188	units \
189	unvis \
190	usbhidaction \
191	usbhidctl \
192	users \
193	uudecode \
194	uuencode \
195	uuidgen \
196	vgrind \
197	vi \
198	vis \
199	vmstat \
200	w \
201	wall \
202	wc \
203	what \
204	whereis \
205	which \
206	who \
207	whois \
208	window \
209	write \
210	xargs \
211	xinstall \
212	${_xlint} \
213	xstr \
214	yacc \
215	yes \
216	ypcat \
217	ypmatch \
218	ypwhich
219
220.if defined(RELEASEDIR) || \
221    (!exists(${.CURDIR}/../secure) && !exists(${.CURDIR}/../kerberos5)) || \
222    defined(NOCRYPT) || defined(NO_OPENSSL) || defined(NO_KERBEROS)
223# make release needs both
224SUBDIR+=telnet
225.endif
226
227.if !defined(NO_BIND)
228SUBDIR+=dig \
229	dnskeygen \
230	dnsquery \
231	host
232.endif
233
234.if !defined(NO_SENDMAIL)
235SUBDIR+=vacation
236.endif
237
238.if ${MACHINE_ARCH} == "i386"
239# Things that don't compile on alpha or are aout specific:
240# move bluetooth when tested on other architectures
241SUBDIR+=doscmd \
242	bluetooth \
243	ncplist \
244	ncplogin \
245	sasc \
246	smbutil
247.endif
248
249.if ${MACHINE_ARCH} == "alpha"
250SUBDIR+=uac
251.endif
252
253.if exists(${.CURDIR}/../crypto) && !defined(NOCRYPT) && !defined(NO_OPENSSL)
254SUBDIR+=chkey newkey
255.endif
256
257.include <bsd.subdir.mk>
258