xref: /freebsd/usr.sbin/Makefile (revision 40a8ac8f62b535d30349faf28cf47106b7041b83)
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+=	faithd
164SUBDIR+=	ip6addrctl
165SUBDIR+=	mld6query
166SUBDIR+=	ndp
167SUBDIR+=	rip6query
168SUBDIR+=	route6d
169SUBDIR+=	rrenumd
170SUBDIR+=	rtadvctl
171SUBDIR+=	rtadvd
172SUBDIR+=	rtsold
173SUBDIR+=	traceroute6
174.endif
175
176.if ${MK_IPFW} != "no"
177SUBDIR+=	ipfwpcap
178.endif
179
180.if ${MK_JAIL} != "no"
181SUBDIR+=	jail
182SUBDIR+=	jexec
183SUBDIR+=	jls
184.endif
185
186# XXX MK_SYSCONS
187.if ${MK_LEGACY_CONSOLE} != "no"
188SUBDIR+=	kbdcontrol
189SUBDIR+=	kbdmap
190SUBDIR+=	moused
191SUBDIR+=	vidcontrol
192.endif
193
194.if ${MK_LIBTHR} != "no" || ${MK_LIBPTHREAD} != "no"
195.if ${MK_PPP} != "no"
196SUBDIR+=	pppctl
197.endif
198.if ${MK_NS_CACHING} != "no"
199SUBDIR+=	nscd
200.endif
201.endif
202
203.if ${MK_LPR} != "no"
204SUBDIR+=	lpr
205.endif
206
207.if ${MK_MAN_UTILS} != "no"
208SUBDIR+=	manctl
209.endif
210
211.if ${MK_NAND} != "no"
212SUBDIR+=	nandsim
213SUBDIR+=	nandtool
214.endif
215
216.if ${MK_NETGRAPH} != "no"
217SUBDIR+=	flowctl
218SUBDIR+=	lmcconfig
219SUBDIR+=	ngctl
220SUBDIR+=	nghook
221.endif
222
223.if ${MK_NIS} != "no"
224SUBDIR+=	rpc.yppasswdd
225SUBDIR+=	rpc.ypupdated
226SUBDIR+=	rpc.ypxfrd
227SUBDIR+=	ypbind
228SUBDIR+=	yp_mkdb
229SUBDIR+=	yppoll
230SUBDIR+=	yppush
231SUBDIR+=	ypserv
232SUBDIR+=	ypset
233.endif
234
235.if ${MK_NTP} != "no"
236SUBDIR+=	ntp
237.endif
238
239.if ${MK_OPENSSL} != "no"
240SUBDIR+=	keyserv
241.endif
242
243.if ${MK_PC_SYSINSTALL} != "no"
244_pc_sysinstall=	pc-sysinstall
245.endif
246
247.if ${MK_PF} != "no"
248SUBDIR+=	ftp-proxy
249.endif
250
251.if ${MK_PKGBOOTSTRAP} != "no"
252SUBDIR+=	pkg
253.endif
254
255# XXX MK_TOOLCHAIN?
256.if ${MK_PMC} != "no"
257SUBDIR+=	pmcannotate
258SUBDIR+=	pmccontrol
259SUBDIR+=	pmcstat
260.endif
261
262.if ${MK_PORTSNAP} != "no"
263SUBDIR+=	portsnap
264.endif
265
266.if ${MK_PPP} != "no"
267SUBDIR+=	ppp
268.endif
269
270.if ${MK_QUOTAS} != "no"
271SUBDIR+=	edquota
272SUBDIR+=	quotaon
273SUBDIR+=	repquota
274.endif
275
276.if ${MK_RCMDS} != "no"
277SUBDIR+=	rwhod
278.endif
279
280.if ${MK_RCS} != "no"
281SUBDIR+=	etcupdate
282.endif
283
284.if ${MK_SENDMAIL} != "no"
285SUBDIR+=	editmap
286SUBDIR+=	mailstats
287SUBDIR+=	makemap
288SUBDIR+=	praliases
289SUBDIR+=	sendmail
290.endif
291
292.if ${MK_TESTS} != "no"
293SUBDIR+=	tests
294.endif
295
296.if ${MK_TOOLCHAIN} != "no"
297SUBDIR+=	config
298SUBDIR+=	crunch
299.endif
300
301.if ${MK_UNBOUND} != "no"
302SUBDIR+=	unbound
303.endif
304
305.if ${MK_USB} != "no"
306SUBDIR+=	uathload
307SUBDIR+=	uhsoctl
308SUBDIR+=	usbconfig
309SUBDIR+=	usbdump
310.endif
311
312.if ${MK_UTMPX} != "no"
313SUBDIR+=	ac
314SUBDIR+=	lastlogin
315SUBDIR+=	utx
316.endif
317
318.if ${MK_WIRELESS} != "no"
319SUBDIR+=	ancontrol
320SUBDIR+=	wlandebug
321SUBDIR+=	wpa
322.endif
323
324.include <bsd.arch.inc.mk>
325
326SUBDIR:=	${SUBDIR:O}
327
328SUBDIR_PARALLEL=
329
330.include <bsd.subdir.mk>
331