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