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