xref: /freebsd/usr.sbin/Makefile (revision 38f0b757fd84d17d0fc24739a7cda160c4516d81)
1#	From: @(#)Makefile	5.20 (Berkeley) 6/12/93
2# $FreeBSD$
3
4.include <bsd.own.mk>
5
6SUBDIR=	adduser \
7	arp \
8	binmiscctl \
9	bootparamd \
10	bsdconfig \
11	bsdinstall \
12	cdcontrol \
13	chkgrp \
14	chown \
15	chroot \
16	ckdist \
17	clear_locks \
18	crashinfo \
19	cron \
20	ctladm \
21	ctld \
22	daemon \
23	dconschat \
24	devinfo \
25	digictl \
26	diskinfo \
27	dumpcis \
28	etcupdate \
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_SENDMAIL} != "no"
281SUBDIR+=	editmap
282SUBDIR+=	mailstats
283SUBDIR+=	makemap
284SUBDIR+=	praliases
285SUBDIR+=	sendmail
286.endif
287
288.if ${MK_TESTS} != "no"
289SUBDIR+=	tests
290.endif
291
292.if ${MK_TOOLCHAIN} != "no"
293SUBDIR+=	config
294SUBDIR+=	crunch
295.endif
296
297.if ${MK_UNBOUND} != "no"
298SUBDIR+=	unbound
299.endif
300
301.if ${MK_USB} != "no"
302SUBDIR+=	uathload
303SUBDIR+=	uhsoctl
304SUBDIR+=	usbconfig
305SUBDIR+=	usbdump
306.endif
307
308.if ${MK_UTMPX} != "no"
309SUBDIR+=	ac
310SUBDIR+=	lastlogin
311SUBDIR+=	utx
312.endif
313
314.if ${MK_WIRELESS} != "no"
315SUBDIR+=	ancontrol
316SUBDIR+=	wlandebug
317SUBDIR+=	wpa
318.endif
319
320.include <bsd.arch.inc.mk>
321
322SUBDIR:=	${SUBDIR:O}
323
324SUBDIR_PARALLEL=
325
326.include <bsd.subdir.mk>
327