xref: /freebsd/usr.sbin/Makefile (revision fcb560670601b2a4d87bb31d7531c8dcc37ee71b)
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	kldxref \
39	mailwrapper \
40	makefs \
41	memcontrol \
42	mergemaster \
43	mfiutil \
44	mixer \
45	mlxcontrol \
46	mountd \
47	mptutil \
48	mtest \
49	${_mtree} \
50	newsyslog \
51	nfscbd \
52	nfsd \
53	nfsdumpstate \
54	nfsrevoke \
55	nfsuserd \
56	nmtree \
57	nologin \
58	${_pc_sysinstall} \
59	pciconf \
60	periodic \
61	powerd \
62	procctl \
63	pstat \
64	pw \
65	pwd_mkdb \
66	quot \
67	rarpd \
68	rmt \
69	rpcbind \
70	rpc.lockd \
71	rpc.statd \
72	rpc.umntall \
73	rtprio \
74	service \
75	services_mkdb \
76	setfib \
77	setfmac \
78	setpmac \
79	smbmsg \
80	snapinfo \
81	spray \
82	syslogd \
83	sysrc \
84	tcpdrop \
85	tcpdump \
86	traceroute \
87	trpt \
88	tzsetup \
89	ugidfw \
90	vigr \
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
111.if ${MK_OPENSSL} != "no"
112SUBDIR+=	auditdistd
113.endif
114SUBDIR+=	auditreduce
115SUBDIR+=	praudit
116.endif
117
118.if ${MK_AUTHPF} != "no"
119SUBDIR+=	authpf
120.endif
121
122.if ${MK_AUTOFS} != "no"
123SUBDIR+=	autofs
124.endif
125
126.if ${MK_BLUETOOTH} != "no"
127SUBDIR+=	bluetooth
128.endif
129
130.if ${MK_BOOTPARAMD} != "no"
131SUBDIR+=	bootparamd
132.endif
133
134.if ${MK_BSDINSTALL} != "no"
135SUBDIR+=	bsdinstall
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_FMTREE} != "no"
154SUBDIR+=	mtree
155.endif
156
157.if ${MK_FREEBSD_UPDATE} != "no"
158SUBDIR+=	freebsd-update
159.endif
160
161.if ${MK_GSSAPI} != "no"
162SUBDIR+=	gssd
163.endif
164
165.if ${MK_GPIO} != "no"
166SUBDIR+=	gpioctl
167.endif
168
169.if ${MK_INET6} != "no"
170SUBDIR+=	ip6addrctl
171SUBDIR+=	mld6query
172SUBDIR+=	ndp
173SUBDIR+=	rip6query
174SUBDIR+=	route6d
175SUBDIR+=	rrenumd
176SUBDIR+=	rtadvctl
177SUBDIR+=	rtadvd
178SUBDIR+=	rtsold
179SUBDIR+=	traceroute6
180.endif
181
182.if ${MK_INETD} != "no"
183SUBDIR+=	inetd
184.endif
185
186.if ${MK_IPFW} != "no"
187SUBDIR+=	ipfwpcap
188.endif
189
190.if ${MK_ISCSI} != "no"
191SUBDIR+=	iscsid
192.endif
193
194.if ${MK_JAIL} != "no"
195SUBDIR+=	jail
196SUBDIR+=	jexec
197SUBDIR+=	jls
198.endif
199
200# XXX MK_SYSCONS
201.if ${MK_LEGACY_CONSOLE} != "no"
202SUBDIR+=	kbdcontrol
203SUBDIR+=	kbdmap
204SUBDIR+=	moused
205SUBDIR+=	vidcontrol
206.endif
207
208.if ${MK_LIBTHR} != "no" || ${MK_LIBPTHREAD} != "no"
209.if ${MK_PPP} != "no"
210SUBDIR+=	pppctl
211.endif
212.if ${MK_NS_CACHING} != "no"
213SUBDIR+=	nscd
214.endif
215.endif
216
217.if ${MK_LPR} != "no"
218SUBDIR+=	lpr
219.endif
220
221.if ${MK_MAN_UTILS} != "no"
222SUBDIR+=	manctl
223.endif
224
225.if ${MK_NAND} != "no"
226SUBDIR+=	nandsim
227SUBDIR+=	nandtool
228.endif
229
230.if ${MK_NETGRAPH} != "no"
231SUBDIR+=	flowctl
232SUBDIR+=	lmcconfig
233SUBDIR+=	ngctl
234SUBDIR+=	nghook
235.endif
236
237.if ${MK_NIS} != "no"
238SUBDIR+=	rpc.yppasswdd
239SUBDIR+=	rpc.ypupdated
240SUBDIR+=	rpc.ypxfrd
241SUBDIR+=	ypbind
242SUBDIR+=	yp_mkdb
243SUBDIR+=	yppoll
244SUBDIR+=	yppush
245SUBDIR+=	ypserv
246SUBDIR+=	ypset
247.endif
248
249.if ${MK_NTP} != "no"
250SUBDIR+=	ntp
251.endif
252
253.if ${MK_OPENSSL} != "no"
254SUBDIR+=	keyserv
255.endif
256
257.if ${MK_PC_SYSINSTALL} != "no"
258_pc_sysinstall=	pc-sysinstall
259.endif
260
261.if ${MK_PF} != "no"
262SUBDIR+=	ftp-proxy
263.endif
264
265.if ${MK_PKGBOOTSTRAP} != "no"
266SUBDIR+=	pkg
267.endif
268
269# XXX MK_TOOLCHAIN?
270.if ${MK_PMC} != "no"
271SUBDIR+=	pmcannotate
272SUBDIR+=	pmccontrol
273SUBDIR+=	pmcstat
274SUBDIR+=	pmcstudy
275.endif
276
277.if ${MK_PORTSNAP} != "no"
278SUBDIR+=	portsnap
279.endif
280
281.if ${MK_PPP} != "no"
282SUBDIR+=	ppp
283.endif
284
285.if ${MK_QUOTAS} != "no"
286SUBDIR+=	edquota
287SUBDIR+=	quotaon
288SUBDIR+=	repquota
289.endif
290
291.if ${MK_RCMDS} != "no"
292SUBDIR+=	rwhod
293.endif
294
295.if ${MK_RCS} != "no"
296SUBDIR+=	etcupdate
297.endif
298
299.if ${MK_SENDMAIL} != "no"
300SUBDIR+=	editmap
301SUBDIR+=	mailstats
302SUBDIR+=	makemap
303SUBDIR+=	praliases
304SUBDIR+=	sendmail
305.endif
306
307.if ${MK_TCP_WRAPPERS} != "no"
308SUBDIR+=	tcpdchk
309SUBDIR+=	tcpdmatch
310.endif
311
312.if ${MK_TESTS} != "no"
313SUBDIR+=	tests
314.endif
315
316.if ${MK_TIMED} != "no"
317SUBDIR+=	timed
318.endif
319
320.if ${MK_TOOLCHAIN} != "no"
321SUBDIR+=	config
322SUBDIR+=	crunch
323.endif
324
325.if ${MK_UNBOUND} != "no"
326SUBDIR+=	unbound
327.endif
328
329.if ${MK_USB} != "no"
330SUBDIR+=	uathload
331SUBDIR+=	uhsoctl
332SUBDIR+=	usbconfig
333SUBDIR+=	usbdump
334.endif
335
336.if ${MK_UTMPX} != "no"
337SUBDIR+=	ac
338SUBDIR+=	lastlogin
339SUBDIR+=	utx
340.endif
341
342.if ${MK_WIRELESS} != "no"
343SUBDIR+=	ancontrol
344SUBDIR+=	wlandebug
345SUBDIR+=	wpa
346.endif
347
348.include <bsd.arch.inc.mk>
349
350SUBDIR:=	${SUBDIR:O}
351
352SUBDIR_PARALLEL=
353
354.include <bsd.subdir.mk>
355