Makefile revision 213462
1239676Srwatson#	From: @(#)Makefile	5.20 (Berkeley) 6/12/93
2239676Srwatson# $FreeBSD: head/usr.sbin/Makefile 213462 2010-10-05 21:19:20Z gonzo $
3239676Srwatson
4239676Srwatson.include <bsd.own.mk>
5239676Srwatson
6239676SrwatsonSUBDIR= adduser \
7239676Srwatson	arp \
8239676Srwatson	bootparamd \
9239676Srwatson	burncd \
10239676Srwatson	cdcontrol \
11239676Srwatson	chkgrp \
12239676Srwatson	chown \
13239676Srwatson	chroot \
14239676Srwatson	ckdist \
15239676Srwatson	clear_locks \
16239676Srwatson	crashinfo \
17239676Srwatson	cron \
18239676Srwatson	daemon \
19239676Srwatson	dconschat \
20239676Srwatson	devinfo \
21239676Srwatson	digictl \
22239676Srwatson	diskinfo \
23239676Srwatson	dumpcis \
24239676Srwatson	extattr \
25239676Srwatson	extattrctl \
26239676Srwatson	fifolog \
27239676Srwatson	fwcontrol \
28239676Srwatson	getfmac \
29239676Srwatson	getpmac \
30239676Srwatson	gstat \
31239676Srwatson	i2c \
32239676Srwatson	ifmcstat \
33239676Srwatson	inetd \
34239676Srwatson	iostat \
35239676Srwatson	kldxref \
36239676Srwatson	lastlogin \
37239676Srwatson	mailwrapper \
38239676Srwatson	makefs \
39239676Srwatson	manctl \
40239676Srwatson	memcontrol \
41239676Srwatson	mergemaster \
42239676Srwatson	mfiutil \
43239676Srwatson	mixer \
44239676Srwatson	mlxcontrol \
45239676Srwatson	mountd \
46239676Srwatson	mount_portalfs \
47239676Srwatson	mptutil \
48239676Srwatson	mtest \
49239676Srwatson	mtree \
50239676Srwatson	newsyslog \
51239676Srwatson	nfscbd \
52239676Srwatson	nfsd \
53239676Srwatson	nfsdumpstate \
54239676Srwatson	nfsrevoke \
55239676Srwatson	nfsuserd \
56239676Srwatson	nologin \
57239676Srwatson	pc-sysinstall \
58239676Srwatson	pciconf \
59239676Srwatson	periodic \
60239676Srwatson	powerd \
61239676Srwatson	procctl \
62239676Srwatson	pstat \
63239676Srwatson	pw \
64239676Srwatson	pwd_mkdb \
65239676Srwatson	quot \
66239676Srwatson	rarpd \
67239676Srwatson	rmt \
68239676Srwatson	rpcbind \
69239676Srwatson	rpc.lockd \
70239676Srwatson	rpc.statd \
71239676Srwatson	rpc.umntall \
72239676Srwatson	rtprio \
73239676Srwatson	service \
74239676Srwatson	services_mkdb \
75239676Srwatson	setfib \
76239676Srwatson	setfmac \
77239676Srwatson	setpmac \
78239676Srwatson	smbmsg \
79239676Srwatson	snapinfo \
80239676Srwatson	spray \
81239676Srwatson	syslogd \
82239676Srwatson	tcpdchk \
83239676Srwatson	tcpdmatch \
84239676Srwatson	tcpdrop \
85239676Srwatson	tcpdump \
86239676Srwatson	timed \
87239676Srwatson	traceroute \
88239676Srwatson	trpt \
89239676Srwatson	tzsetup \
90239676Srwatson	ugidfw \
91239676Srwatson	vipw \
92239676Srwatson	wake \
93239676Srwatson	watch \
94239676Srwatson	watchdogd \
95239676Srwatson	zic
96239676Srwatson
97239676Srwatson# NB: keep these sorted by MK_* knobs
98239676Srwatson
99239676Srwatson.if ${MK_ACCT} != "no"
100239676SrwatsonSUBDIR+=	ac
101239676SrwatsonSUBDIR+=	accton
102239676SrwatsonSUBDIR+=	sa
103239676Srwatson.endif
104239676Srwatson
105239676Srwatson.if ${MK_AMD} != "no"
106239676SrwatsonSUBDIR+=	amd
107239676Srwatson.endif
108239676Srwatson
109239676Srwatson.if ${MK_AUDIT} != "no"
110239676SrwatsonSUBDIR+=	audit
111239676SrwatsonSUBDIR+=	auditd
112239676SrwatsonSUBDIR+=	auditreduce
113239676SrwatsonSUBDIR+=	praudit
114239676Srwatson.endif
115239676Srwatson
116239676Srwatson.if ${MK_AUTHPF} != "no"
117239676SrwatsonSUBDIR+=	authpf
118239676Srwatson.endif
119239676Srwatson
120239676Srwatson.if ${MK_BIND_DNSSEC} != "no" && ${MK_OPENSSL} != "no"
121239676SrwatsonSUBDIR+=	dnssec-dsfromkey
122239676SrwatsonSUBDIR+=	dnssec-keyfromlabel
123239676SrwatsonSUBDIR+=	dnssec-keygen
124239676SrwatsonSUBDIR+=	dnssec-signzone
125239676Srwatson.endif
126239676Srwatson.if ${MK_BIND_NAMED} != "no"
127239676SrwatsonSUBDIR+=	named
128239676SrwatsonSUBDIR+=	named-checkconf
129239676SrwatsonSUBDIR+=	named-checkzone
130239676SrwatsonSUBDIR+=	named.reload
131239676SrwatsonSUBDIR+=	rndc
132239676SrwatsonSUBDIR+=	rndc-confgen
133239676Srwatson.endif
134239676Srwatson
135239676Srwatson.if ${MK_BLUETOOTH} != "no"
136239676SrwatsonSUBDIR+=	bluetooth
137239676Srwatson.endif
138239676Srwatson
139239676Srwatson.if ${MK_BSNMP} != "no"
140239676SrwatsonSUBDIR+=	bsnmpd
141239676Srwatson.endif
142239676Srwatson
143239676Srwatson.if ${MK_CTM} != "no"
144SUBDIR+=	ctm
145.endif
146
147.if ${MK_FLOPPY} != "no"
148SUBDIR+=	fdcontrol
149SUBDIR+=	fdformat
150SUBDIR+=	fdread
151SUBDIR+=	fdwrite
152.endif
153
154.if ${MK_FREEBSD_UPDATE} != "no"
155SUBDIR+=	freebsd-update
156.endif
157
158.if ${MK_GSSAPI} != no
159SUBDIR+=	gssd
160.endif
161
162.if ${MK_GPIO} != "no"
163SUBDIR+=	gpioctl
164.endif
165
166.if ${MK_INET6} != "no"
167SUBDIR+=	faithd
168SUBDIR+=	ip6addrctl
169SUBDIR+=	mld6query
170SUBDIR+=	ndp
171SUBDIR+=	rip6query
172SUBDIR+=	route6d
173SUBDIR+=	rrenumd
174SUBDIR+=	rtadvd
175SUBDIR+=	rtsold
176SUBDIR+=	traceroute6
177.endif
178
179.if ${MK_IPFW} != "no"
180SUBDIR+=	ipfwpcap
181.endif
182
183.if ${MK_IPX} != "no"
184SUBDIR+=	IPXrouted
185.endif
186
187.if ${MK_JAIL} != "no"
188SUBDIR+=	jail
189SUBDIR+=	jexec
190SUBDIR+=	jls
191.endif
192
193# XXX MK_SYSCONS
194.if ${MK_LEGACY_CONSOLE} != "no"
195SUBDIR+=	kbdcontrol
196SUBDIR+=	kbdmap
197SUBDIR+=	moused
198SUBDIR+=	vidcontrol
199.endif
200
201.if ${MK_LIBTHR} != "no" || ${MK_LIBPTHREAD} != "no"
202.if ${MK_PPP} != "no"
203SUBDIR+=	pppctl
204.endif
205.if ${MK_NS_CACHING} != "no"
206SUBDIR+=	nscd
207.endif
208.endif
209
210.if ${MK_LPR} != "no"
211SUBDIR+=	lpr
212.endif
213
214.if ${MK_MAN_UTILS} != "no"
215SUBDIR+=	manctl
216.endif
217
218.if ${MK_NETGRAPH} != "no"
219SUBDIR+=	flowctl
220SUBDIR+=	lmcconfig
221SUBDIR+=	ngctl
222SUBDIR+=	nghook
223.endif
224
225.if ${MK_NIS} != "no"
226SUBDIR+=	rpc.yppasswdd
227SUBDIR+=	rpc.ypupdated
228SUBDIR+=	rpc.ypxfrd
229SUBDIR+=	ypbind
230SUBDIR+=	yp_mkdb
231SUBDIR+=	yppoll
232SUBDIR+=	yppush
233SUBDIR+=	ypserv
234SUBDIR+=	ypset
235.endif
236
237.if ${MK_NTP} != "no"
238SUBDIR+=	ntp
239.endif
240
241.if ${MK_OPENSSL} != "no"
242SUBDIR+=	keyserv
243.endif
244
245.if ${MK_PF} != "no"
246SUBDIR+=	ftp-proxy
247.endif
248
249.if ${MK_PKGTOOLS} != "no"
250SUBDIR+=	pkg_install
251.endif
252
253# XXX MK_TOOLCHAIN?
254.if ${MK_PMC} != "no"
255SUBDIR+=	pmcannotate
256SUBDIR+=	pmccontrol
257SUBDIR+=	pmcstat
258.endif
259
260.if ${MK_PORTSNAP} != "no"
261SUBDIR+=	portsnap
262.endif
263
264.if ${MK_PPP} != "no"
265SUBDIR+=	ppp
266.endif
267
268.if ${MK_QUOTAS} != "no"
269SUBDIR+=	edquota
270SUBDIR+=	quotaon
271SUBDIR+=	repquota
272.endif
273
274.if ${MK_RCMDS} != "no"
275SUBDIR+=	rwhod
276.endif
277
278.if ${MK_SENDMAIL} != "no"
279SUBDIR+=	editmap
280SUBDIR+=	mailstats
281SUBDIR+=	makemap
282SUBDIR+=	praliases
283SUBDIR+=	sendmail
284.endif
285
286SUBDIR+=	sysinstall
287
288.if ${MK_TOOLCHAIN} != "no"
289SUBDIR+=	config
290SUBDIR+=	crunch
291.endif
292
293.if ${MK_USB} != "no"
294SUBDIR+=	uathload
295SUBDIR+=	uhsoctl
296SUBDIR+=	usbconfig
297.endif
298
299.if ${MK_WIRELESS} != "no"
300SUBDIR+=	ancontrol
301SUBDIR+=	wlandebug
302SUBDIR+=	wpa
303.endif
304
305.include <bsd.arch.inc.mk>
306
307SUBDIR:=	${SUBDIR:O}
308
309.include <bsd.subdir.mk>
310