xref: /freebsd/usr.bin/Makefile (revision 3823d5e198425b4f5e5a80267d195769d1063773)
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=	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	ctlstat \
37	cut \
38	dirname \
39	du \
40	ee \
41	elf2aout \
42	elfdump \
43	enigma \
44	env \
45	expand \
46	false \
47	fetch \
48	file \
49	find \
50	finger \
51	fmt \
52	fold \
53	fstat \
54	fsync \
55	ftp \
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	iscsictl \
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	mkimg \
109	mklocale \
110	mktemp \
111	mkulzma \
112	mkuzip \
113	mt \
114	ncal \
115	netstat \
116	newgrp \
117	nfsstat \
118	nice \
119	nl \
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	sockstat \
151	sort \
152	split \
153	stat \
154	stdbuf \
155	su \
156	systat \
157	tabs \
158	tail \
159	talk \
160	tar \
161	tcopy \
162	tee \
163	${_tests} \
164	tftp \
165	time \
166	timeout \
167	tip \
168	top \
169	touch \
170	tput \
171	tr \
172	true \
173	truncate \
174	${_truss} \
175	tset \
176	tsort \
177	tty \
178	uname \
179	unexpand \
180	uniq \
181	unzip \
182	units \
183	unvis \
184	uudecode \
185	uuencode \
186	vis \
187	vmstat \
188	w \
189	wall \
190	wc \
191	what \
192	whereis \
193	which \
194	whois \
195	write \
196	xargs \
197	xinstall \
198	${_xlint} \
199	xo \
200	${_xstr} \
201	xz \
202	xzdec \
203	${_yacc} \
204	yes \
205	${_ypcat} \
206	${_ypmatch} \
207	${_ypwhich}
208
209# NB: keep these sorted by MK_* knobs
210
211.if ${MK_AT} != "no"
212SUBDIR+=	at
213.endif
214
215.if ${MK_ATM} != "no"
216SUBDIR+=	atm
217.endif
218
219.if ${MK_BLUETOOTH} != "no"
220SUBDIR+=	bluetooth
221.endif
222
223.if ${MK_BSD_CPIO} != "no"
224SUBDIR+=	cpio
225.endif
226
227.if ${MK_CALENDAR} != "no"
228SUBDIR+=	calendar
229.endif
230
231.if ${MK_CLANG} != "no"
232_clang=		clang
233.endif
234
235.if ${MK_FMAKE} != "no"
236SUBDIR+=	make
237.endif
238
239.if ${MK_GPL_DTC} != "yes"
240SUBDIR+=	dtc
241.endif
242
243.if ${MK_GROFF} != "no"
244SUBDIR+=	vgrind
245.endif
246
247.if ${MK_HESIOD} != "no"
248SUBDIR+=	hesinfo
249.endif
250
251.if ${MK_ICONV} != "no"
252_iconv=		iconv
253_mkcsmapper=	mkcsmapper
254_mkesdb=	mkesdb
255.endif
256
257.if ${MK_KDUMP} != "no"
258SUBDIR+=        kdump
259SUBDIR+=        truss
260.endif
261
262.if ${MK_KERBEROS_SUPPORT} != "no"
263SUBDIR+=	compile_et
264.endif
265
266.if ${MK_LDNS_UTILS} != "no"
267SUBDIR+=	drill
268SUBDIR+=	host
269.endif
270
271.if ${MK_LOCATE} != "no"
272SUBDIR+=	locate
273.endif
274
275# XXX msgs?
276.if ${MK_MAIL} != "no"
277SUBDIR+=	biff
278SUBDIR+=	from
279SUBDIR+=	mail
280SUBDIR+=	msgs
281.endif
282
283.if ${MK_MAKE} != "no"
284SUBDIR+=	bmake
285.endif
286
287.if ${MK_MAN_UTILS} != "no"
288SUBDIR+=	catman
289_makewhatis=	makewhatis
290_man=		man
291.endif
292
293.if ${MK_NETCAT} != "no"
294SUBDIR+=	nc
295.endif
296
297.if ${MK_NIS} != "no"
298SUBDIR+=	ypcat
299SUBDIR+=	ypmatch
300SUBDIR+=	ypwhich
301.endif
302
303.if ${MK_OPENSSH} != "no"
304SUBDIR+=	ssh-copy-id
305.endif
306
307.if ${MK_OPENSSL} != "no"
308SUBDIR+=	bc
309SUBDIR+=	chkey
310SUBDIR+=	dc
311SUBDIR+=	newkey
312.endif
313
314.if ${MK_QUOTAS} != "no"
315SUBDIR+=	quota
316.endif
317
318.if ${MK_RCMDS} != "no"
319SUBDIR+=	rlogin
320SUBDIR+=	rsh
321SUBDIR+=	ruptime
322SUBDIR+=	rwho
323.endif
324
325.if ${MK_SENDMAIL} != "no"
326SUBDIR+=	vacation
327.endif
328
329.if ${MK_TELNET} != "no"
330SUBDIR+=	telnet
331.endif
332
333.if ${MK_TESTS} != "no"
334_tests=		tests
335.endif
336
337.if ${MK_TEXTPROC} != "no"
338SUBDIR+=	checknr
339SUBDIR+=	colcrt
340SUBDIR+=	ul
341.endif
342
343.if ${MK_TOOLCHAIN} != "no"
344SUBDIR+=	ar
345SUBDIR+=	c89
346SUBDIR+=	c99
347SUBDIR+=	ctags
348SUBDIR+=	file2c
349SUBDIR+=	gprof
350SUBDIR+=	indent
351SUBDIR+=	lex
352SUBDIR+=	mkstr
353SUBDIR+=	rpcgen
354SUBDIR+=	unifdef
355SUBDIR+=	xlint
356SUBDIR+=	xstr
357SUBDIR+=	yacc
358.endif
359
360.if ${MK_VI} != "no"
361SUBDIR+=	vi
362.endif
363
364.if ${MK_VT} != "no"
365SUBDIR+=	vtfontcvt
366.endif
367
368.if ${MK_USB} != "no"
369SUBDIR+=	usbhidaction
370SUBDIR+=	usbhidctl
371.endif
372
373.if ${MK_UTMPX} != "no"
374SUBDIR+=	last
375SUBDIR+=	users
376SUBDIR+=	who
377.endif
378
379.if ${MK_SVN} == "yes" || ${MK_SVNLITE} == "yes"
380SUBDIR+=	svn
381.endif
382
383.include <bsd.arch.inc.mk>
384
385SUBDIR:=	${SUBDIR:O}
386
387SUBDIR_PARALLEL=
388
389.include <bsd.subdir.mk>
390