xref: /freebsd/usr.sbin/Makefile (revision 145992504973bd16cf3518af9ba5ce185fefa82a)
1#	From: @(#)Makefile	5.20 (Berkeley) 6/12/93
2# $FreeBSD$
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	isfctl \
39	kldxref \
40	mailwrapper \
41	makefs \
42	manctl \
43	memcontrol \
44	mergemaster \
45	mfiutil \
46	mixer \
47	mlxcontrol \
48	mountd \
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
149SUBDIR+=	sysrc
150.endif
151
152.if ${MK_BSNMP} != "no"
153SUBDIR+=	bsnmpd
154.endif
155
156.if ${MK_CTM} != "no"
157SUBDIR+=	ctm
158.endif
159
160.if ${MK_FLOPPY} != "no"
161SUBDIR+=	fdcontrol
162SUBDIR+=	fdformat
163SUBDIR+=	fdread
164SUBDIR+=	fdwrite
165.endif
166
167.if ${MK_FREEBSD_UPDATE} != "no"
168SUBDIR+=	freebsd-update
169.endif
170
171.if ${MK_GSSAPI} != "no"
172SUBDIR+=	gssd
173.endif
174
175.if ${MK_GPIO} != "no"
176SUBDIR+=	gpioctl
177.endif
178
179.if ${MK_INET6} != "no"
180SUBDIR+=	faithd
181SUBDIR+=	ip6addrctl
182SUBDIR+=	mld6query
183SUBDIR+=	ndp
184SUBDIR+=	rip6query
185SUBDIR+=	route6d
186SUBDIR+=	rrenumd
187SUBDIR+=	rtadvctl
188SUBDIR+=	rtadvd
189SUBDIR+=	rtsold
190SUBDIR+=	traceroute6
191.endif
192
193.if ${MK_IPFW} != "no"
194SUBDIR+=	ipfwpcap
195.endif
196
197.if ${MK_IPX} != "no"
198SUBDIR+=	IPXrouted
199.endif
200
201.if ${MK_JAIL} != "no"
202SUBDIR+=	jail
203SUBDIR+=	jexec
204SUBDIR+=	jls
205.endif
206
207# XXX MK_SYSCONS
208.if ${MK_LEGACY_CONSOLE} != "no"
209SUBDIR+=	kbdcontrol
210SUBDIR+=	kbdmap
211SUBDIR+=	moused
212SUBDIR+=	vidcontrol
213.endif
214
215.if ${MK_LIBTHR} != "no" || ${MK_LIBPTHREAD} != "no"
216.if ${MK_PPP} != "no"
217SUBDIR+=	pppctl
218.endif
219.if ${MK_NS_CACHING} != "no"
220SUBDIR+=	nscd
221.endif
222.endif
223
224.if ${MK_LPR} != "no"
225SUBDIR+=	lpr
226.endif
227
228.if ${MK_MAN_UTILS} != "no"
229SUBDIR+=	manctl
230.endif
231
232.if ${MK_NAND} != "no"
233SUBDIR+=	nandsim
234SUBDIR+=	nandtool
235.endif
236
237.if ${MK_NETGRAPH} != "no"
238SUBDIR+=	flowctl
239SUBDIR+=	lmcconfig
240SUBDIR+=	ngctl
241SUBDIR+=	nghook
242.endif
243
244.if ${MK_NIS} != "no"
245SUBDIR+=	rpc.yppasswdd
246SUBDIR+=	rpc.ypupdated
247SUBDIR+=	rpc.ypxfrd
248SUBDIR+=	ypbind
249SUBDIR+=	yp_mkdb
250SUBDIR+=	yppoll
251SUBDIR+=	yppush
252SUBDIR+=	ypserv
253SUBDIR+=	ypset
254.endif
255
256.if ${MK_NTP} != "no"
257SUBDIR+=	ntp
258.endif
259
260.if ${MK_OPENSSL} != "no"
261SUBDIR+=	keyserv
262.endif
263
264.if ${MK_PF} != "no"
265SUBDIR+=	ftp-proxy
266.endif
267
268.if ${MK_PKGBOOTSTRAP} != "no"
269SUBDIR+=	pkg
270.endif
271
272.if ${MK_PKGTOOLS} != "no"
273SUBDIR+=	pkg_install
274.endif
275
276# XXX MK_TOOLCHAIN?
277.if ${MK_PMC} != "no"
278SUBDIR+=	pmcannotate
279SUBDIR+=	pmccontrol
280SUBDIR+=	pmcstat
281.endif
282
283.if ${MK_PORTSNAP} != "no"
284SUBDIR+=	portsnap
285.endif
286
287.if ${MK_PPP} != "no"
288SUBDIR+=	ppp
289.endif
290
291.if ${MK_QUOTAS} != "no"
292SUBDIR+=	edquota
293SUBDIR+=	quotaon
294SUBDIR+=	repquota
295.endif
296
297.if ${MK_RCMDS} != "no"
298SUBDIR+=	rwhod
299.endif
300
301.if ${MK_SENDMAIL} != "no"
302SUBDIR+=	editmap
303SUBDIR+=	mailstats
304SUBDIR+=	makemap
305SUBDIR+=	praliases
306SUBDIR+=	sendmail
307.endif
308
309.if ${MK_TOOLCHAIN} != "no"
310SUBDIR+=	config
311SUBDIR+=	crunch
312.endif
313
314.if ${MK_USB} != "no"
315SUBDIR+=	uathload
316SUBDIR+=	uhsoctl
317SUBDIR+=	usbconfig
318SUBDIR+=	usbdump
319.endif
320
321.if ${MK_UTMPX} != "no"
322SUBDIR+=	ac
323SUBDIR+=	lastlogin
324SUBDIR+=	utx
325.endif
326
327.if ${MK_WIRELESS} != "no"
328SUBDIR+=	ancontrol
329SUBDIR+=	wlandebug
330SUBDIR+=	wpa
331.endif
332
333.include <bsd.arch.inc.mk>
334
335SUBDIR:=	${SUBDIR:O}
336
337.include <bsd.subdir.mk>
338