xref: /freebsd/usr.sbin/Makefile (revision 4ec234c813eed05c166859bba82c882e40826eb9)
1#	From: @(#)Makefile	5.20 (Berkeley) 6/12/93
2# $FreeBSD$
3
4.include <bsd.own.mk>
5
6SUBDIR=	adduser \
7	arp \
8	bootparamd \
9	bsdconfig \
10	bsdinstall \
11	cdcontrol \
12	chkgrp \
13	chown \
14	chroot \
15	ckdist \
16	clear_locks \
17	crashinfo \
18	cron \
19	ctladm \
20	ctld \
21	daemon \
22	dconschat \
23	devinfo \
24	digictl \
25	diskinfo \
26	dumpcis \
27	etcupdate \
28	extattr \
29	extattrctl \
30	fifolog \
31	fwcontrol \
32	getfmac \
33	getpmac \
34	gstat \
35	i2c \
36	ifmcstat \
37	inetd \
38	iostat \
39	iscsid \
40	kldxref \
41	mailwrapper \
42	makefs \
43	memcontrol \
44	mergemaster \
45	mfiutil \
46	mixer \
47	mlxcontrol \
48	mountd \
49	mptutil \
50	mtest \
51	mtree \
52	newsyslog \
53	nfscbd \
54	nfsd \
55	nfsdumpstate \
56	nfsrevoke \
57	nfsuserd \
58	nmtree \
59	nologin \
60	${_pc_sysinstall} \
61	pciconf \
62	periodic \
63	powerd \
64	procctl \
65	pstat \
66	pw \
67	pwd_mkdb \
68	quot \
69	rarpd \
70	rmt \
71	rpcbind \
72	rpc.lockd \
73	rpc.statd \
74	rpc.umntall \
75	rtprio \
76	service \
77	services_mkdb \
78	setfib \
79	setfmac \
80	setpmac \
81	smbmsg \
82	snapinfo \
83	spray \
84	syslogd \
85	sysrc \
86	tcpdchk \
87	tcpdmatch \
88	tcpdrop \
89	tcpdump \
90	timed \
91	traceroute \
92	trpt \
93	tzsetup \
94	ugidfw \
95	vipw \
96	wake \
97	watch \
98	watchdogd \
99	zic
100
101# NB: keep these sorted by MK_* knobs
102
103.if ${MK_ACCT} != "no"
104SUBDIR+=	accton
105SUBDIR+=	sa
106.endif
107
108.if ${MK_AMD} != "no"
109SUBDIR+=	amd
110.endif
111
112.if ${MK_AUDIT} != "no"
113SUBDIR+=	audit
114SUBDIR+=	auditd
115.if ${MK_OPENSSL} != "no"
116SUBDIR+=	auditdistd
117.endif
118SUBDIR+=	auditreduce
119SUBDIR+=	praudit
120.endif
121
122.if ${MK_AUTHPF} != "no"
123SUBDIR+=	authpf
124.endif
125
126.if ${MK_BLUETOOTH} != "no"
127SUBDIR+=	bluetooth
128.endif
129
130.if ${MK_BSNMP} != "no"
131SUBDIR+=	bsnmpd
132.endif
133
134.if ${MK_CTM} != "no"
135SUBDIR+=	ctm
136.endif
137
138.if ${MK_FLOPPY} != "no"
139SUBDIR+=	fdcontrol
140SUBDIR+=	fdformat
141SUBDIR+=	fdread
142SUBDIR+=	fdwrite
143.endif
144
145.if ${MK_FREEBSD_UPDATE} != "no"
146SUBDIR+=	freebsd-update
147.endif
148
149.if ${MK_GSSAPI} != "no"
150SUBDIR+=	gssd
151.endif
152
153.if ${MK_GPIO} != "no"
154SUBDIR+=	gpioctl
155.endif
156
157.if ${MK_INET6} != "no"
158SUBDIR+=	faithd
159SUBDIR+=	ip6addrctl
160SUBDIR+=	mld6query
161SUBDIR+=	ndp
162SUBDIR+=	rip6query
163SUBDIR+=	route6d
164SUBDIR+=	rrenumd
165SUBDIR+=	rtadvctl
166SUBDIR+=	rtadvd
167SUBDIR+=	rtsold
168SUBDIR+=	traceroute6
169.endif
170
171.if ${MK_IPFW} != "no"
172SUBDIR+=	ipfwpcap
173.endif
174
175.if ${MK_IPX} != "no"
176SUBDIR+=	IPXrouted
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_SENDMAIL} != "no"
280SUBDIR+=	editmap
281SUBDIR+=	mailstats
282SUBDIR+=	makemap
283SUBDIR+=	praliases
284SUBDIR+=	sendmail
285.endif
286
287.if ${MK_TOOLCHAIN} != "no"
288SUBDIR+=	config
289SUBDIR+=	crunch
290.endif
291
292.if ${MK_UNBOUND} != "no"
293SUBDIR+=	unbound
294.endif
295
296.if ${MK_USB} != "no"
297SUBDIR+=	uathload
298SUBDIR+=	uhsoctl
299SUBDIR+=	usbconfig
300SUBDIR+=	usbdump
301.endif
302
303.if ${MK_UTMPX} != "no"
304SUBDIR+=	ac
305SUBDIR+=	lastlogin
306SUBDIR+=	utx
307.endif
308
309.if ${MK_WIRELESS} != "no"
310SUBDIR+=	ancontrol
311SUBDIR+=	wlandebug
312SUBDIR+=	wpa
313.endif
314
315.include <bsd.arch.inc.mk>
316
317SUBDIR:=	${SUBDIR:O}
318
319.include <bsd.subdir.mk>
320