xref: /freebsd/usr.bin/Makefile (revision a812392203d7c4c3f0db9d8a0f3391374c49c71f)
1#	From: @(#)Makefile	8.3 (Berkeley) 1/7/94
2# $FreeBSD$
3
4.include <src.opts.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=	${_addr2line} \
13	alias \
14	apply \
15	asa \
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	demandoc \
40	dirname \
41	dpv \
42	du \
43	ee \
44	elf2aout \
45	${_elfcopy} \
46	elfdump \
47	enigma \
48	env \
49	expand \
50	false \
51	fetch \
52	file \
53	find \
54	finger \
55	fmt \
56	fold \
57	fstat \
58	fsync \
59	ftp \
60	gcore \
61	gencat \
62	getconf \
63	getent \
64	getopt \
65	grep \
66	gzip \
67	head \
68	hexdump \
69	${_iconv} \
70	id \
71	ipcrm \
72	ipcs \
73	iscsictl \
74	join \
75	jot \
76	${_kdump} \
77	keylogin \
78	keylogout \
79	killall \
80	ktrace \
81	ktrdump \
82	lam \
83	lastcomm \
84	ldd \
85	leave \
86	less \
87	lessecho \
88	lesskey \
89	limits \
90	locale \
91	lock \
92	lockf \
93	logger \
94	login \
95	logins \
96	logname \
97	look \
98	lorder \
99	lsvfs \
100	lzmainfo \
101	m4 \
102	${_makewhatis} \
103	${_man} \
104	mandoc \
105	mesg \
106	minigzip \
107	ministat \
108	${_mkcsmapper} \
109	mkdep \
110	${_mkesdb} \
111	mkfifo \
112	mkimg \
113	mklocale \
114	mktemp \
115	mkulzma \
116	mkuzip \
117	mt \
118	ncal \
119	netstat \
120	newgrp \
121	nfsstat \
122	nice \
123	nl \
124	${_nm} \
125	nohup \
126	opieinfo \
127	opiekey \
128	opiepasswd \
129	pagesize \
130	passwd \
131	paste \
132	patch \
133	pathchk \
134	perror \
135	pr \
136	printenv \
137	printf \
138	procstat \
139	protect \
140	rctl \
141	renice \
142	rev \
143	revoke \
144	rpcinfo \
145	rs \
146	rup \
147	rusers \
148	rwall \
149	script \
150	sed \
151	send-pr \
152	seq \
153	shar \
154	showmount \
155	${_size} \
156	sockstat \
157	soeliminate \
158	sort \
159	split \
160	stat \
161	stdbuf \
162	${_strings} \
163	su \
164	systat \
165	tabs \
166	tail \
167	talk \
168	tar \
169	tcopy \
170	tee \
171	${_tests} \
172	tftp \
173	time \
174	timeout \
175	tip \
176	top \
177	touch \
178	tput \
179	tr \
180	true \
181	truncate \
182	${_truss} \
183	tset \
184	tsort \
185	tty \
186	uname \
187	unexpand \
188	uniq \
189	unzip \
190	units \
191	unvis \
192	uudecode \
193	uuencode \
194	vis \
195	vmstat \
196	w \
197	wall \
198	wc \
199	what \
200	whereis \
201	which \
202	whois \
203	write \
204	xargs \
205	xinstall \
206	${_xlint} \
207	xo \
208	${_xstr} \
209	xz \
210	xzdec \
211	${_yacc} \
212	yes \
213	${_ypcat} \
214	${_ypmatch} \
215	${_ypwhich}
216
217# NB: keep these sorted by MK_* knobs
218
219.if ${MK_AT} != "no"
220SUBDIR+=	at
221.endif
222
223.if ${MK_ATM} != "no"
224SUBDIR+=	atm
225.endif
226
227.if ${MK_BLUETOOTH} != "no"
228SUBDIR+=	bluetooth
229.endif
230
231.if ${MK_BSD_CPIO} != "no"
232SUBDIR+=	cpio
233.endif
234
235.if ${MK_CALENDAR} != "no"
236SUBDIR+=	calendar
237.endif
238
239.if ${MK_CLANG} != "no"
240_clang=		clang
241.endif
242
243.if ${MK_ELFTOOLCHAIN_TOOLS} != "no"
244_addr2line=	addr2line
245_elfcopy=	elfcopy
246_nm=		nm
247_size=		size
248_strings=	strings
249.endif
250
251.if ${MK_FMAKE} != "no"
252SUBDIR+=	make
253.endif
254
255.if ${MK_GPL_DTC} != "yes"
256SUBDIR+=	dtc
257.endif
258
259.if ${MK_GROFF} != "no"
260SUBDIR+=	vgrind
261.endif
262
263.if ${MK_HESIOD} != "no"
264SUBDIR+=	hesinfo
265.endif
266
267.if ${MK_ICONV} != "no"
268_iconv=		iconv
269_mkcsmapper=	mkcsmapper
270_mkesdb=	mkesdb
271.endif
272
273.if ${MK_KDUMP} != "no"
274SUBDIR+=        kdump
275SUBDIR+=        truss
276.endif
277
278.if ${MK_KERBEROS_SUPPORT} != "no"
279SUBDIR+=	compile_et
280.endif
281
282.if ${MK_LDNS_UTILS} != "no"
283SUBDIR+=	drill
284SUBDIR+=	host
285.endif
286
287.if ${MK_LOCATE} != "no"
288SUBDIR+=	locate
289.endif
290
291# XXX msgs?
292.if ${MK_MAIL} != "no"
293SUBDIR+=	biff
294SUBDIR+=	from
295SUBDIR+=	mail
296SUBDIR+=	msgs
297.endif
298
299.if ${MK_MAKE} != "no"
300SUBDIR+=	bmake
301.endif
302
303.if ${MK_MAN_UTILS} != "no"
304SUBDIR+=	catman
305_makewhatis=	makewhatis
306_man=		man
307.endif
308
309.if ${MK_NETCAT} != "no"
310SUBDIR+=	nc
311.endif
312
313.if ${MK_NIS} != "no"
314SUBDIR+=	ypcat
315SUBDIR+=	ypmatch
316SUBDIR+=	ypwhich
317.endif
318
319.if ${MK_OPENSSH} != "no"
320SUBDIR+=	ssh-copy-id
321.endif
322
323.if ${MK_OPENSSL} != "no"
324SUBDIR+=	bc
325SUBDIR+=	chkey
326SUBDIR+=	dc
327SUBDIR+=	newkey
328.endif
329
330.if ${MK_QUOTAS} != "no"
331SUBDIR+=	quota
332.endif
333
334.if ${MK_RCMDS} != "no"
335SUBDIR+=	rlogin
336SUBDIR+=	rsh
337SUBDIR+=	ruptime
338SUBDIR+=	rwho
339.endif
340
341.if ${MK_SENDMAIL} != "no"
342SUBDIR+=	vacation
343.endif
344
345.if ${MK_TELNET} != "no"
346SUBDIR+=	telnet
347.endif
348
349.if ${MK_TESTS} != "no"
350_tests=		tests
351.endif
352
353.if ${MK_TEXTPROC} != "no"
354SUBDIR+=	checknr
355SUBDIR+=	colcrt
356SUBDIR+=	ul
357.endif
358
359.if ${MK_TOOLCHAIN} != "no"
360SUBDIR+=	ar
361SUBDIR+=	c89
362SUBDIR+=	c99
363SUBDIR+=	ctags
364SUBDIR+=	file2c
365SUBDIR+=	gprof
366SUBDIR+=	indent
367SUBDIR+=	lex
368SUBDIR+=	mkstr
369SUBDIR+=	rpcgen
370SUBDIR+=	unifdef
371SUBDIR+=	xlint
372SUBDIR+=	xstr
373SUBDIR+=	yacc
374.endif
375
376.if ${MK_VI} != "no"
377SUBDIR+=	vi
378.endif
379
380.if ${MK_VT} != "no"
381SUBDIR+=	vtfontcvt
382.endif
383
384.if ${MK_USB} != "no"
385SUBDIR+=	usbhidaction
386SUBDIR+=	usbhidctl
387.endif
388
389.if ${MK_UTMPX} != "no"
390SUBDIR+=	last
391SUBDIR+=	users
392SUBDIR+=	who
393.endif
394
395.if ${MK_SVN} == "yes" || ${MK_SVNLITE} == "yes"
396SUBDIR+=	svn
397.endif
398
399.include <bsd.arch.inc.mk>
400
401SUBDIR:=	${SUBDIR:O}
402
403SUBDIR_PARALLEL=
404
405.include <bsd.subdir.mk>
406