xref: /freebsd/usr.bin/Makefile (revision c6ec7d31830ab1c80edae95ad5e4b9dba10c47ac)
1#	From: @(#)Makefile	8.3 (Berkeley) 1/7/94
2# $FreeBSD$
3
4.include <bsd.own.mk>
5
6# XXX MISSING:		deroff diction graph learn plot
7#			spell spline struct xsend
8# XXX Use GNU versions: diff ld patch
9# Moved to secure: bdes
10#
11
12SUBDIR=	alias \
13	apply \
14	asa \
15	${_atf} \
16	awk \
17	banner \
18	basename \
19	brandelf \
20	bsdiff \
21	bzip2 \
22	bzip2recover \
23	cap_mkdb \
24	chat \
25	chpass \
26	cksum \
27	${_clang} \
28	cmp \
29	col \
30	colldef \
31	colrm \
32	column \
33	comm \
34	compress \
35	cpuset \
36	csplit \
37	ctlstat \
38	cut \
39	dirname \
40	du \
41	ee \
42	elf2aout \
43	elfdump \
44	enigma \
45	env \
46	expand \
47	false \
48	fetch \
49	file \
50	find \
51	finger \
52	fmt \
53	fold \
54	fstat \
55	fsync \
56	ftp \
57	gcore \
58	gencat \
59	getconf \
60	getent \
61	getopt \
62	grep \
63	gzip \
64	head \
65	hexdump \
66	${_iconv} \
67	id \
68	ipcrm \
69	ipcs \
70	join \
71	jot \
72	${_kdump} \
73	keylogin \
74	keylogout \
75	killall \
76	ktrace \
77	ktrdump \
78	lam \
79	lastcomm \
80	ldd \
81	leave \
82	less \
83	lessecho \
84	lesskey \
85	limits \
86	locale \
87	lock \
88	lockf \
89	logger \
90	login \
91	logins \
92	logname \
93	look \
94	lorder \
95	lsvfs \
96	lzmainfo \
97	m4 \
98	${_makewhatis} \
99	${_man} \
100	mandoc \
101	mesg \
102	minigzip \
103	ministat \
104	${_mkcsmapper} \
105	mkdep \
106	${_mkesdb} \
107	mkfifo \
108	mklocale \
109	mktemp \
110	mkulzma \
111	mkuzip \
112	mt \
113	ncal \
114	netstat \
115	newgrp \
116	nfsstat \
117	nice \
118	nl \
119	nohup \
120	opieinfo \
121	opiekey \
122	opiepasswd \
123	pagesize \
124	passwd \
125	paste \
126	pathchk \
127	perror \
128	pr \
129	printenv \
130	printf \
131	procstat \
132	rctl \
133	renice \
134	rev \
135	revoke \
136	rpcinfo \
137	rs \
138	rup \
139	rusers \
140	rwall \
141	script \
142	sed \
143	seq \
144	shar \
145	showmount \
146	sockstat \
147	sort \
148	split \
149	ssh-copy-id \
150	stat \
151	stdbuf \
152	su \
153	systat \
154	tabs \
155	tail \
156	talk \
157	tar \
158	tcopy \
159	tee \
160	tftp \
161	time \
162	tip \
163	top \
164	touch \
165	tput \
166	tr \
167	true \
168	truncate \
169	${_truss} \
170	tset \
171	tsort \
172	tty \
173	uname \
174	unexpand \
175	uniq \
176	unzip \
177	units \
178	unvis \
179	uudecode \
180	uuencode \
181	vi \
182	vis \
183	vmstat \
184	w \
185	wall \
186	wc \
187	what \
188	whereis \
189	which \
190	whois \
191	write \
192	xargs \
193	xinstall \
194	${_xlint} \
195	${_xstr} \
196	xz \
197	xzdec \
198	${_yacc} \
199	yes \
200	${_ypcat} \
201	${_ypmatch} \
202	${_ypwhich}
203
204# NB: keep these sorted by MK_* knobs
205
206.if ${MK_AT} != "no"
207SUBDIR+=	at
208.endif
209
210.if ${MK_ATF} != "no"
211_atf=		atf
212.endif
213
214.if ${MK_ATM} != "no"
215SUBDIR+=	atm
216.endif
217
218.if ${MK_BIND_UTILS} != "no"
219SUBDIR+=	dig
220SUBDIR+=	host
221SUBDIR+=	nslookup
222SUBDIR+=	nsupdate
223.endif
224
225.if ${MK_BLUETOOTH} != "no"
226SUBDIR+=	bluetooth
227.endif
228
229.if ${MK_BSD_CPIO} != "no"
230SUBDIR+=	cpio
231.endif
232
233.if ${MK_CALENDAR} != "no"
234SUBDIR+=	calendar
235.endif
236
237.if ${MK_CLANG} != "no"
238_clang=		clang
239.endif
240
241.if ${MK_GROFF} != "no"
242SUBDIR+=	vgrind
243.endif
244
245.if ${MK_HESIOD} != "no"
246SUBDIR+=	hesinfo
247.endif
248
249.if ${MK_ICONV} != "no"
250_iconv=		iconv
251_mkcsmapper=	mkcsmapper
252_mkesdb=	mkesdb
253.endif
254
255.if ${MK_KDUMP} != "no"
256SUBDIR+=        kdump
257SUBDIR+=        truss
258.endif
259
260.if ${MK_KERBEROS_SUPPORT} != "no"
261SUBDIR+=	compile_et
262.endif
263
264.if ${MK_LIBTHR} != "no"
265SUBDIR+=	csup
266.endif
267
268.if ${MK_LOCATE} != "no"
269SUBDIR+=	locate
270.endif
271
272# XXX msgs?
273.if ${MK_MAIL} != "no"
274SUBDIR+=	biff
275SUBDIR+=	from
276SUBDIR+=	mail
277SUBDIR+=	msgs
278.endif
279
280.if ${MK_MAKE} != "no"
281.if ${MK_BMAKE} != "no"
282SUBDIR+=	bmake
283.else
284SUBDIR+=	make
285.endif
286.endif
287
288.if ${MK_MAN_UTILS} != "no"
289SUBDIR+=	catman
290_makewhatis=	makewhatis
291_man=		man
292.endif
293
294.if ${MK_NETCAT} != "no"
295SUBDIR+=	nc
296.endif
297
298.if ${MK_NIS} != "no"
299SUBDIR+=	ypcat
300SUBDIR+=	ypmatch
301SUBDIR+=	ypwhich
302.endif
303
304.if ${MK_OPENSSL} != "no"
305SUBDIR+=	bc
306SUBDIR+=	chkey
307SUBDIR+=	dc
308SUBDIR+=	newkey
309.endif
310
311.if ${MK_QUOTAS} != "no"
312SUBDIR+=	quota
313.endif
314
315.if ${MK_RCMDS} != "no"
316SUBDIR+=	rlogin
317SUBDIR+=	rsh
318SUBDIR+=	ruptime
319SUBDIR+=	rwho
320.endif
321
322.if ${MK_SENDMAIL} != "no"
323SUBDIR+=	vacation
324.endif
325
326.if ${MK_TELNET} != "no"
327SUBDIR+=	telnet
328.endif
329
330.if ${MK_TEXTPROC} != "no"
331SUBDIR+=	checknr
332SUBDIR+=	colcrt
333SUBDIR+=	ul
334.endif
335
336.if ${MK_TOOLCHAIN} != "no"
337SUBDIR+=	ar
338SUBDIR+=	c89
339SUBDIR+=	c99
340SUBDIR+=	ctags
341SUBDIR+=	file2c
342SUBDIR+=	gprof
343SUBDIR+=	indent
344SUBDIR+=	lex
345SUBDIR+=	mkstr
346SUBDIR+=	rpcgen
347SUBDIR+=	unifdef
348SUBDIR+=	xlint
349SUBDIR+=	xstr
350SUBDIR+=	yacc
351.endif
352
353.if ${MK_USB} != "no"
354SUBDIR+=	usbhidaction
355SUBDIR+=	usbhidctl
356.endif
357
358.if ${MK_UTMPX} != "no"
359SUBDIR+=	last
360SUBDIR+=	users
361SUBDIR+=	who
362.endif
363
364.include <bsd.arch.inc.mk>
365
366SUBDIR:=	${SUBDIR:O}
367
368.include <bsd.subdir.mk>
369