1#	From: @(#)Makefile	5.20 (Berkeley) 6/12/93
2# $FreeBSD$
3
4.include <bsd.own.mk>
5
6SUBDIR=	adduser \
7	arp \
8	autofs \
9	binmiscctl \
10	bootparamd \
11	bsdconfig \
12	bsdinstall \
13	cdcontrol \
14	chkgrp \
15	chown \
16	chroot \
17	ckdist \
18	clear_locks \
19	crashinfo \
20	cron \
21	ctladm \
22	ctld \
23	daemon \
24	dconschat \
25	devinfo \
26	digictl \
27	diskinfo \
28	dumpcis \
29	etcupdate \
30	extattr \
31	extattrctl \
32	fifolog \
33	fwcontrol \
34	getfmac \
35	getpmac \
36	gstat \
37	i2c \
38	ifmcstat \
39	inetd \
40	iostat \
41	iscsid \
42	kldxref \
43	mailwrapper \
44	makefs \
45	memcontrol \
46	mergemaster \
47	mfiutil \
48	mixer \
49	mlxcontrol \
50	mountd \
51	mptutil \
52	mtest \
53	${_mtree} \
54	newsyslog \
55	nfscbd \
56	nfsd \
57	nfsdumpstate \
58	nfsrevoke \
59	nfsuserd \
60	nmtree \
61	nologin \
62	${_pc_sysinstall} \
63	pciconf \
64	periodic \
65	powerd \
66	procctl \
67	pstat \
68	pw \
69	pwd_mkdb \
70	quot \
71	rarpd \
72	rmt \
73	rpcbind \
74	rpc.lockd \
75	rpc.statd \
76	rpc.umntall \
77	rtprio \
78	service \
79	services_mkdb \
80	setfib \
81	setfmac \
82	setpmac \
83	smbmsg \
84	snapinfo \
85	spray \
86	syslogd \
87	sysrc \
88	tcpdchk \
89	tcpdmatch \
90	tcpdrop \
91	tcpdump \
92	timed \
93	traceroute \
94	trpt \
95	tzsetup \
96	ugidfw \
97	vipw \
98	wake \
99	watch \
100	watchdogd \
101	zic
102
103# NB: keep these sorted by MK_* knobs
104
105.if ${MK_ACCT} != "no"
106SUBDIR+=	accton
107SUBDIR+=	sa
108.endif
109
110.if ${MK_AMD} != "no"
111SUBDIR+=	amd
112.endif
113
114.if ${MK_AUDIT} != "no"
115SUBDIR+=	audit
116SUBDIR+=	auditd
117.if ${MK_OPENSSL} != "no"
118SUBDIR+=	auditdistd
119.endif
120SUBDIR+=	auditreduce
121SUBDIR+=	praudit
122.endif
123
124.if ${MK_AUTHPF} != "no"
125SUBDIR+=	authpf
126.endif
127
128.if ${MK_BLUETOOTH} != "no"
129SUBDIR+=	bluetooth
130.endif
131
132.if ${MK_BSNMP} != "no"
133SUBDIR+=	bsnmpd
134.endif
135
136.if ${MK_CTM} != "no"
137SUBDIR+=	ctm
138.endif
139
140.if ${MK_FLOPPY} != "no"
141SUBDIR+=	fdcontrol
142SUBDIR+=	fdformat
143SUBDIR+=	fdread
144SUBDIR+=	fdwrite
145.endif
146
147.if ${MK_FMTREE} != "no"
148SUBDIR+=	mtree
149.endif
150
151.if ${MK_FREEBSD_UPDATE} != "no"
152SUBDIR+=	freebsd-update
153.endif
154
155.if ${MK_GSSAPI} != "no"
156SUBDIR+=	gssd
157.endif
158
159.if ${MK_GPIO} != "no"
160SUBDIR+=	gpioctl
161.endif
162
163.if ${MK_INET6} != "no"
164SUBDIR+=	faithd
165SUBDIR+=	ip6addrctl
166SUBDIR+=	mld6query
167SUBDIR+=	ndp
168SUBDIR+=	rip6query
169SUBDIR+=	route6d
170SUBDIR+=	rrenumd
171SUBDIR+=	rtadvctl
172SUBDIR+=	rtadvd
173SUBDIR+=	rtsold
174SUBDIR+=	traceroute6
175.endif
176
177.if ${MK_IPFW} != "no"
178SUBDIR+=	ipfwpcap
179.endif
180
181.if ${MK_IPX} != "no"
182SUBDIR+=	IPXrouted
183.endif
184
185.if ${MK_JAIL} != "no"
186SUBDIR+=	jail
187SUBDIR+=	jexec
188SUBDIR+=	jls
189.endif
190
191# XXX MK_SYSCONS
192.if ${MK_LEGACY_CONSOLE} != "no"
193SUBDIR+=	kbdcontrol
194SUBDIR+=	kbdmap
195SUBDIR+=	moused
196SUBDIR+=	vidcontrol
197.endif
198
199.if ${MK_LIBTHR} != "no" || ${MK_LIBPTHREAD} != "no"
200.if ${MK_PPP} != "no"
201SUBDIR+=	pppctl
202.endif
203.if ${MK_NS_CACHING} != "no"
204SUBDIR+=	nscd
205.endif
206.endif
207
208.if ${MK_LPR} != "no"
209SUBDIR+=	lpr
210.endif
211
212.if ${MK_MAN_UTILS} != "no"
213SUBDIR+=	manctl
214.endif
215
216.if ${MK_NAND} != "no"
217SUBDIR+=	nandsim
218SUBDIR+=	nandtool
219.endif
220
221.if ${MK_NETGRAPH} != "no"
222SUBDIR+=	flowctl
223SUBDIR+=	lmcconfig
224SUBDIR+=	ngctl
225SUBDIR+=	nghook
226.endif
227
228.if ${MK_NIS} != "no"
229SUBDIR+=	rpc.yppasswdd
230SUBDIR+=	rpc.ypupdated
231SUBDIR+=	rpc.ypxfrd
232SUBDIR+=	ypbind
233SUBDIR+=	yp_mkdb
234SUBDIR+=	yppoll
235SUBDIR+=	yppush
236SUBDIR+=	ypserv
237SUBDIR+=	ypset
238.endif
239
240.if ${MK_NTP} != "no"
241SUBDIR+=	ntp
242.endif
243
244.if ${MK_OPENSSL} != "no"
245SUBDIR+=	keyserv
246.endif
247
248.if ${MK_PC_SYSINSTALL} != "no"
249_pc_sysinstall=	pc-sysinstall
250.endif
251
252.if ${MK_PF} != "no"
253SUBDIR+=	ftp-proxy
254.endif
255
256.if ${MK_PKGBOOTSTRAP} != "no"
257SUBDIR+=	pkg
258.endif
259
260.if ${MK_PKGTOOLS} != "no"
261SUBDIR+=	pkg_install
262.endif
263
264# XXX MK_TOOLCHAIN?
265.if ${MK_PMC} != "no"
266SUBDIR+=	pmcannotate
267SUBDIR+=	pmccontrol
268SUBDIR+=	pmcstat
269.endif
270
271.if ${MK_PORTSNAP} != "no"
272SUBDIR+=	portsnap
273.endif
274
275.if ${MK_PPP} != "no"
276SUBDIR+=	ppp
277.endif
278
279.if ${MK_QUOTAS} != "no"
280SUBDIR+=	edquota
281SUBDIR+=	quotaon
282SUBDIR+=	repquota
283.endif
284
285.if ${MK_RCMDS} != "no"
286SUBDIR+=	rwhod
287.endif
288
289.if ${MK_SENDMAIL} != "no"
290SUBDIR+=	editmap
291SUBDIR+=	mailstats
292SUBDIR+=	makemap
293SUBDIR+=	praliases
294SUBDIR+=	sendmail
295.endif
296
297.if ${MK_TESTS} != "no"
298SUBDIR+=	tests
299.endif
300
301.if ${MK_TOOLCHAIN} != "no"
302SUBDIR+=	config
303SUBDIR+=	crunch
304.endif
305
306.if ${MK_UNBOUND} != "no"
307SUBDIR+=	unbound
308.endif
309
310.if ${MK_USB} != "no"
311SUBDIR+=	uathload
312SUBDIR+=	uhsoctl
313SUBDIR+=	usbconfig
314SUBDIR+=	usbdump
315.endif
316
317.if ${MK_UTMPX} != "no"
318SUBDIR+=	ac
319SUBDIR+=	lastlogin
320SUBDIR+=	utx
321.endif
322
323.if ${MK_WIRELESS} != "no"
324SUBDIR+=	ancontrol
325SUBDIR+=	wlandebug
326SUBDIR+=	wpa
327.endif
328
329.include <bsd.arch.inc.mk>
330
331SUBDIR:=	${SUBDIR:O}
332
333SUBDIR_PARALLEL=
334
335.include <bsd.subdir.mk>
336