xref: /freebsd/usr.sbin/Makefile (revision 6ae1554a5d9b318f8ad53ccc39fa5a961403da73)
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	sesutil \
78	setfib \
79	setfmac \
80	setpmac \
81	smbmsg \
82	snapinfo \
83	spray \
84	syslogd \
85	sysrc \
86	tcpdrop \
87	tcpdump \
88	traceroute \
89	trpt \
90	tzsetup \
91	uefisign \
92	ugidfw \
93	vigr \
94	vipw \
95	wake \
96	watch \
97	watchdogd \
98	zic
99
100# NB: keep these sorted by MK_* knobs
101
102.if ${MK_ACCT} != "no"
103SUBDIR+=	accton
104SUBDIR+=	sa
105.endif
106
107.if ${MK_AMD} != "no"
108SUBDIR+=	amd
109.endif
110
111.if ${MK_AUDIT} != "no"
112SUBDIR+=	audit
113SUBDIR+=	auditd
114.if ${MK_OPENSSL} != "no"
115SUBDIR+=	auditdistd
116.endif
117SUBDIR+=	auditreduce
118SUBDIR+=	praudit
119.endif
120
121.if ${MK_AUTHPF} != "no"
122SUBDIR+=	authpf
123.endif
124
125.if ${MK_AUTOFS} != "no"
126SUBDIR+=	autofs
127.endif
128
129.if ${MK_BLUETOOTH} != "no"
130SUBDIR+=	bluetooth
131.endif
132
133.if ${MK_BOOTPARAMD} != "no"
134SUBDIR+=	bootparamd
135.endif
136
137.if ${MK_BSDINSTALL} != "no"
138SUBDIR+=	bsdinstall
139.endif
140
141.if ${MK_BSNMP} != "no"
142SUBDIR+=	bsnmpd
143.endif
144
145.if ${MK_CTM} != "no"
146SUBDIR+=	ctm
147.endif
148
149.if ${MK_FLOPPY} != "no"
150SUBDIR+=	fdcontrol
151SUBDIR+=	fdformat
152SUBDIR+=	fdread
153SUBDIR+=	fdwrite
154.endif
155
156.if ${MK_FMTREE} != "no"
157SUBDIR+=	mtree
158.endif
159
160.if ${MK_FREEBSD_UPDATE} != "no"
161SUBDIR+=	freebsd-update
162.endif
163
164.if ${MK_GSSAPI} != "no"
165SUBDIR+=	gssd
166.endif
167
168.if ${MK_GPIO} != "no"
169SUBDIR+=	gpioctl
170.endif
171
172.if ${MK_INET6} != "no"
173SUBDIR+=	ip6addrctl
174SUBDIR+=	mld6query
175SUBDIR+=	ndp
176SUBDIR+=	rip6query
177SUBDIR+=	route6d
178SUBDIR+=	rrenumd
179SUBDIR+=	rtadvctl
180SUBDIR+=	rtadvd
181SUBDIR+=	rtsold
182SUBDIR+=	traceroute6
183.endif
184
185.if ${MK_INETD} != "no"
186SUBDIR+=	inetd
187.endif
188
189.if ${MK_IPFW} != "no"
190SUBDIR+=	ipfwpcap
191.endif
192
193.if ${MK_ISCSI} != "no"
194SUBDIR+=	iscsid
195.endif
196
197.if ${MK_JAIL} != "no"
198SUBDIR+=	jail
199SUBDIR+=	jexec
200SUBDIR+=	jls
201.endif
202
203# XXX MK_SYSCONS
204.if ${MK_LEGACY_CONSOLE} != "no"
205SUBDIR+=	kbdcontrol
206SUBDIR+=	kbdmap
207SUBDIR+=	moused
208SUBDIR+=	vidcontrol
209.endif
210
211.if ${MK_LIBTHR} != "no" || ${MK_LIBPTHREAD} != "no"
212.if ${MK_PPP} != "no"
213SUBDIR+=	pppctl
214.endif
215.if ${MK_NS_CACHING} != "no"
216SUBDIR+=	nscd
217.endif
218.endif
219
220.if ${MK_LPR} != "no"
221SUBDIR+=	lpr
222.endif
223
224.if ${MK_MAN_UTILS} != "no"
225SUBDIR+=	manctl
226.endif
227
228.if ${MK_NAND} != "no"
229SUBDIR+=	nandsim
230SUBDIR+=	nandtool
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_PKGBOOTSTRAP} != "no"
269SUBDIR+=	pkg
270.endif
271
272# XXX MK_TOOLCHAIN?
273.if ${MK_PMC} != "no"
274SUBDIR+=	pmcannotate
275SUBDIR+=	pmccontrol
276SUBDIR+=	pmcstat
277SUBDIR+=	pmcstudy
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_RCS} != "no"
299SUBDIR+=	etcupdate
300.endif
301
302.if ${MK_SENDMAIL} != "no"
303SUBDIR+=	editmap
304SUBDIR+=	mailstats
305SUBDIR+=	makemap
306SUBDIR+=	praliases
307SUBDIR+=	sendmail
308.endif
309
310.if ${MK_TCP_WRAPPERS} != "no"
311SUBDIR+=	tcpdchk
312SUBDIR+=	tcpdmatch
313.endif
314
315.if ${MK_TESTS} != "no"
316SUBDIR+=	tests
317.endif
318
319.if ${MK_TIMED} != "no"
320SUBDIR+=	timed
321.endif
322
323.if ${MK_TOOLCHAIN} != "no"
324SUBDIR+=	config
325SUBDIR+=	crunch
326.endif
327
328.if ${MK_UNBOUND} != "no"
329SUBDIR+=	unbound
330.endif
331
332.if ${MK_USB} != "no"
333SUBDIR+=	uathload
334SUBDIR+=	uhsoctl
335SUBDIR+=	usbconfig
336SUBDIR+=	usbdump
337.endif
338
339.if ${MK_UTMPX} != "no"
340SUBDIR+=	ac
341SUBDIR+=	lastlogin
342SUBDIR+=	utx
343.endif
344
345.if ${MK_WIRELESS} != "no"
346SUBDIR+=	ancontrol
347SUBDIR+=	wlandebug
348SUBDIR+=	wpa
349.endif
350
351.include <bsd.arch.inc.mk>
352
353SUBDIR:=	${SUBDIR:O}
354
355SUBDIR_PARALLEL=
356
357.include <bsd.subdir.mk>
358