xref: /freebsd/usr.sbin/Makefile (revision 98e0ffaefb0f241cda3a72395d3be04192ae0d47)
1#	From: @(#)Makefile	5.20 (Berkeley) 6/12/93
2# $FreeBSD$
3
4.include <src.opts.mk>
5
6SUBDIR=	adduser \
7	arp \
8	binmiscctl \
9	bsdconfig \
10	cdcontrol \
11	chkgrp \
12	chown \
13	chroot \
14	ckdist \
15	clear_locks \
16	crashinfo \
17	cron \
18	ctladm \
19	ctld \
20	daemon \
21	dconschat \
22	devctl \
23	devinfo \
24	digictl \
25	diskinfo \
26	dumpcis \
27	extattr \
28	extattrctl \
29	fifolog \
30	fstyp \
31	fwcontrol \
32	getfmac \
33	getpmac \
34	gstat \
35	i2c \
36	ifmcstat \
37	iostat \
38	iovctl \
39	kldxref \
40	mailwrapper \
41	makefs \
42	memcontrol \
43	mergemaster \
44	mfiutil \
45	mixer \
46	mlxcontrol \
47	mountd \
48	mptutil \
49	mtest \
50	${_mtree} \
51	newsyslog \
52	nfscbd \
53	nfsd \
54	nfsdumpstate \
55	nfsrevoke \
56	nfsuserd \
57	nmtree \
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	sysrc \
85	tcpdrop \
86	tcpdump \
87	traceroute \
88	trpt \
89	tzsetup \
90	uefisign \
91	ugidfw \
92	vigr \
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
113.if ${MK_OPENSSL} != "no"
114SUBDIR+=	auditdistd
115.endif
116SUBDIR+=	auditreduce
117SUBDIR+=	praudit
118.endif
119
120.if ${MK_AUTHPF} != "no"
121SUBDIR+=	authpf
122.endif
123
124.if ${MK_AUTOFS} != "no"
125SUBDIR+=	autofs
126.endif
127
128.if ${MK_BLUETOOTH} != "no"
129SUBDIR+=	bluetooth
130.endif
131
132.if ${MK_BOOTPARAMD} != "no"
133SUBDIR+=	bootparamd
134.endif
135
136.if ${MK_BSDINSTALL} != "no"
137SUBDIR+=	bsdinstall
138.endif
139
140.if ${MK_BSNMP} != "no"
141SUBDIR+=	bsnmpd
142.endif
143
144.if ${MK_CTM} != "no"
145SUBDIR+=	ctm
146.endif
147
148.if ${MK_FLOPPY} != "no"
149SUBDIR+=	fdcontrol
150SUBDIR+=	fdformat
151SUBDIR+=	fdread
152SUBDIR+=	fdwrite
153.endif
154
155.if ${MK_FMTREE} != "no"
156SUBDIR+=	mtree
157.endif
158
159.if ${MK_FREEBSD_UPDATE} != "no"
160SUBDIR+=	freebsd-update
161.endif
162
163.if ${MK_GSSAPI} != "no"
164SUBDIR+=	gssd
165.endif
166
167.if ${MK_GPIO} != "no"
168SUBDIR+=	gpioctl
169.endif
170
171.if ${MK_INET6} != "no"
172SUBDIR+=	ip6addrctl
173SUBDIR+=	mld6query
174SUBDIR+=	ndp
175SUBDIR+=	rip6query
176SUBDIR+=	route6d
177SUBDIR+=	rrenumd
178SUBDIR+=	rtadvctl
179SUBDIR+=	rtadvd
180SUBDIR+=	rtsold
181SUBDIR+=	traceroute6
182.endif
183
184.if ${MK_INETD} != "no"
185SUBDIR+=	inetd
186.endif
187
188.if ${MK_IPFW} != "no"
189SUBDIR+=	ipfwpcap
190.endif
191
192.if ${MK_ISCSI} != "no"
193SUBDIR+=	iscsid
194.endif
195
196.if ${MK_JAIL} != "no"
197SUBDIR+=	jail
198SUBDIR+=	jexec
199SUBDIR+=	jls
200.endif
201
202# XXX MK_SYSCONS
203.if ${MK_LEGACY_CONSOLE} != "no"
204SUBDIR+=	kbdcontrol
205SUBDIR+=	kbdmap
206SUBDIR+=	moused
207SUBDIR+=	vidcontrol
208.endif
209
210.if ${MK_LIBTHR} != "no" || ${MK_LIBPTHREAD} != "no"
211.if ${MK_PPP} != "no"
212SUBDIR+=	pppctl
213.endif
214.if ${MK_NS_CACHING} != "no"
215SUBDIR+=	nscd
216.endif
217.endif
218
219.if ${MK_LPR} != "no"
220SUBDIR+=	lpr
221.endif
222
223.if ${MK_MAN_UTILS} != "no"
224SUBDIR+=	manctl
225.endif
226
227.if ${MK_NAND} != "no"
228SUBDIR+=	nandsim
229SUBDIR+=	nandtool
230.endif
231
232.if ${MK_NETGRAPH} != "no"
233SUBDIR+=	flowctl
234SUBDIR+=	lmcconfig
235SUBDIR+=	ngctl
236SUBDIR+=	nghook
237.endif
238
239.if ${MK_NIS} != "no"
240SUBDIR+=	rpc.yppasswdd
241SUBDIR+=	rpc.ypupdated
242SUBDIR+=	rpc.ypxfrd
243SUBDIR+=	ypbind
244SUBDIR+=	yp_mkdb
245SUBDIR+=	yppoll
246SUBDIR+=	yppush
247SUBDIR+=	ypserv
248SUBDIR+=	ypset
249.endif
250
251.if ${MK_NTP} != "no"
252SUBDIR+=	ntp
253.endif
254
255.if ${MK_OPENSSL} != "no"
256SUBDIR+=	keyserv
257.endif
258
259.if ${MK_PC_SYSINSTALL} != "no"
260_pc_sysinstall=	pc-sysinstall
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# XXX MK_TOOLCHAIN?
272.if ${MK_PMC} != "no"
273SUBDIR+=	pmcannotate
274SUBDIR+=	pmccontrol
275SUBDIR+=	pmcstat
276SUBDIR+=	pmcstudy
277.endif
278
279.if ${MK_PORTSNAP} != "no"
280SUBDIR+=	portsnap
281.endif
282
283.if ${MK_PPP} != "no"
284SUBDIR+=	ppp
285.endif
286
287.if ${MK_QUOTAS} != "no"
288SUBDIR+=	edquota
289SUBDIR+=	quotaon
290SUBDIR+=	repquota
291.endif
292
293.if ${MK_RCMDS} != "no"
294SUBDIR+=	rwhod
295.endif
296
297.if ${MK_RCS} != "no"
298SUBDIR+=	etcupdate
299.endif
300
301.if ${MK_SENDMAIL} != "no"
302SUBDIR+=	editmap
303SUBDIR+=	mailstats
304SUBDIR+=	makemap
305SUBDIR+=	praliases
306SUBDIR+=	sendmail
307.endif
308
309.if ${MK_TCP_WRAPPERS} != "no"
310SUBDIR+=	tcpdchk
311SUBDIR+=	tcpdmatch
312.endif
313
314.if ${MK_TESTS} != "no"
315SUBDIR+=	tests
316.endif
317
318.if ${MK_TIMED} != "no"
319SUBDIR+=	timed
320.endif
321
322.if ${MK_TOOLCHAIN} != "no"
323SUBDIR+=	config
324SUBDIR+=	crunch
325.endif
326
327.if ${MK_UNBOUND} != "no"
328SUBDIR+=	unbound
329.endif
330
331.if ${MK_USB} != "no"
332SUBDIR+=	uathload
333SUBDIR+=	uhsoctl
334SUBDIR+=	usbconfig
335SUBDIR+=	usbdump
336.endif
337
338.if ${MK_UTMPX} != "no"
339SUBDIR+=	ac
340SUBDIR+=	lastlogin
341SUBDIR+=	utx
342.endif
343
344.if ${MK_WIRELESS} != "no"
345SUBDIR+=	ancontrol
346SUBDIR+=	wlandebug
347SUBDIR+=	wpa
348.endif
349
350.include <bsd.arch.inc.mk>
351
352SUBDIR:=	${SUBDIR:O}
353
354SUBDIR_PARALLEL=
355
356.include <bsd.subdir.mk>
357