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