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