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