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