xref: /freebsd/usr.sbin/Makefile (revision fb47a3769c514735bceb2822a64e5e70c3d2f7a4)
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	camdd \
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	diskinfo \
25	dumpcis \
26	etcupdate \
27	extattr \
28	extattrctl \
29	fifolog \
30	fstyp \
31	fwcontrol \
32	getfmac \
33	getpmac \
34	gstat \
35	i2c \
36	ifmcstat \
37	iostat \
38	iovctl \
39	kldxref \
40	mailwrapper \
41	makefs \
42	memcontrol \
43	mergemaster \
44	mfiutil \
45	mixer \
46	mlxcontrol \
47	mountd \
48	mount_smbfs \
49	mpsutil \
50	mptutil \
51	mtest \
52	newsyslog \
53	nfscbd \
54	nfsd \
55	nfsdumpstate \
56	nfsrevoke \
57	nfsuserd \
58	nmtree \
59	nologin \
60	pciconf \
61	periodic \
62	pnfsdscopymr \
63	pnfsdsfile \
64	pnfsdskill \
65	powerd \
66	prometheus_sysctl_exporter \
67	pstat \
68	pw \
69	pwd_mkdb \
70	quot \
71	rarpd \
72	rmt \
73	rpcbind \
74	rpc.lockd \
75	rpc.statd \
76	rpc.umntall \
77	rtprio \
78	rwhod \
79	service \
80	services_mkdb \
81	sesutil \
82	setfib \
83	setfmac \
84	setpmac \
85	smbmsg \
86	snapinfo \
87	spray \
88	syslogd \
89	sysrc \
90	tcpdrop \
91	tcpdump \
92	traceroute \
93	trpt \
94	tzsetup \
95	ugidfw \
96	vigr \
97	vipw \
98	wake \
99	watch \
100	watchdogd \
101	zic \
102	zonectl
103
104# NB: keep these sorted by MK_* knobs
105
106SUBDIR.${MK_ACCT}+=	accton
107SUBDIR.${MK_ACCT}+=	sa
108SUBDIR.${MK_AMD}+=	amd
109SUBDIR.${MK_AUDIT}+=	audit
110SUBDIR.${MK_AUDIT}+=	auditd
111.if ${MK_OPENSSL} != "no"
112SUBDIR.${MK_AUDIT}+=	auditdistd
113.endif
114SUBDIR.${MK_AUDIT}+=	auditreduce
115SUBDIR.${MK_AUDIT}+=	praudit
116SUBDIR.${MK_AUTHPF}+=	authpf
117SUBDIR.${MK_AUTOFS}+=	autofs
118SUBDIR.${MK_BLACKLIST}+=	blacklistctl
119SUBDIR.${MK_BLACKLIST}+=	blacklistd
120SUBDIR.${MK_BLUETOOTH}+=	bluetooth
121SUBDIR.${MK_BOOTPARAMD}+=	bootparamd
122SUBDIR.${MK_BSDINSTALL}+=	bsdinstall
123SUBDIR.${MK_BSNMP}+=	bsnmpd
124SUBDIR.${MK_CTM}+=	ctm
125SUBDIR.${MK_CXGBETOOL}+=	cxgbetool
126SUBDIR.${MK_DIALOG}+=	bsdconfig
127SUBDIR.${MK_EFI}+=	efivar efidp efibootmgr
128.if ${MK_OPENSSL} != "no"
129SUBDIR.${MK_EFI}+=	uefisign
130.endif
131SUBDIR.${MK_FLOPPY}+=	fdcontrol
132SUBDIR.${MK_FLOPPY}+=	fdformat
133SUBDIR.${MK_FLOPPY}+=	fdread
134SUBDIR.${MK_FLOPPY}+=	fdwrite
135SUBDIR.${MK_FMTREE}+=	fmtree
136SUBDIR.${MK_FREEBSD_UPDATE}+=	freebsd-update
137SUBDIR.${MK_GSSAPI}+=	gssd
138SUBDIR.${MK_GPIO}+=	gpioctl
139SUBDIR.${MK_INET6}+=	ip6addrctl
140SUBDIR.${MK_INET6}+=	mld6query
141SUBDIR.${MK_INET6}+=	ndp
142SUBDIR.${MK_INET6}+=	rip6query
143SUBDIR.${MK_INET6}+=	route6d
144SUBDIR.${MK_INET6}+=	rrenumd
145SUBDIR.${MK_INET6}+=	rtadvctl
146SUBDIR.${MK_INET6}+=	rtadvd
147SUBDIR.${MK_INET6}+=	rtsold
148SUBDIR.${MK_INET6}+=	traceroute6
149SUBDIR.${MK_INETD}+=	inetd
150SUBDIR.${MK_IPFW}+=	ipfwpcap
151SUBDIR.${MK_ISCSI}+=	iscsid
152SUBDIR.${MK_JAIL}+=	jail
153SUBDIR.${MK_JAIL}+=	jexec
154SUBDIR.${MK_JAIL}+=	jls
155# XXX MK_SYSCONS
156SUBDIR.${MK_LEGACY_CONSOLE}+=	kbdcontrol
157SUBDIR.${MK_LEGACY_CONSOLE}+=	kbdmap
158SUBDIR.${MK_LEGACY_CONSOLE}+=	moused
159SUBDIR.${MK_LEGACY_CONSOLE}+=	vidcontrol
160.if ${MK_LIBTHR} != "no" || ${MK_LIBPTHREAD} != "no"
161SUBDIR.${MK_PPP}+=	pppctl
162SUBDIR.${MK_NS_CACHING}+=	nscd
163.endif
164SUBDIR.${MK_LPR}+=	lpr
165SUBDIR.${MK_MAN_UTILS}+=	manctl
166SUBDIR.${MK_MLX5TOOL}+=	mlx5tool
167SUBDIR.${MK_NAND}+=	nandsim
168SUBDIR.${MK_NAND}+=	nandtool
169SUBDIR.${MK_NETGRAPH}+=	flowctl
170SUBDIR.${MK_NETGRAPH}+=	ngctl
171SUBDIR.${MK_NETGRAPH}+=	nghook
172SUBDIR.${MK_NIS}+=	rpc.yppasswdd
173SUBDIR.${MK_NIS}+=	rpc.ypupdated
174SUBDIR.${MK_NIS}+=	rpc.ypxfrd
175SUBDIR.${MK_NIS}+=	ypbind
176SUBDIR.${MK_NIS}+=	ypldap
177SUBDIR.${MK_NIS}+=	yp_mkdb
178SUBDIR.${MK_NIS}+=	yppoll
179SUBDIR.${MK_NIS}+=	yppush
180SUBDIR.${MK_NIS}+=	ypserv
181SUBDIR.${MK_NIS}+=	ypset
182SUBDIR.${MK_NTP}+=	ntp
183SUBDIR.${MK_OPENSSL}+=	keyserv
184SUBDIR.${MK_PC_SYSINSTALL}+=	pc-sysinstall
185SUBDIR.${MK_PF}+=	ftp-proxy
186SUBDIR.${MK_PKGBOOTSTRAP}+=	pkg
187.if (${COMPILER_TYPE} == "clang" || (${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} >= 60100 && ${MACHINE_CPUARCH} != "riscv"))
188SUBDIR.${MK_PMC}+=	pmc
189SUBDIR.${MK_PMC}+=	pmcannotate
190SUBDIR.${MK_PMC}+=	pmccontrol
191SUBDIR.${MK_PMC}+=	pmcstat
192.endif
193SUBDIR.${MK_PMC}+=	pmcstudy
194SUBDIR.${MK_PORTSNAP}+=	portsnap
195SUBDIR.${MK_PPP}+=	ppp
196SUBDIR.${MK_QUOTAS}+=	edquota
197SUBDIR.${MK_QUOTAS}+=	quotaon
198SUBDIR.${MK_QUOTAS}+=	repquota
199SUBDIR.${MK_SENDMAIL}+=	editmap
200SUBDIR.${MK_SENDMAIL}+=	mailstats
201SUBDIR.${MK_SENDMAIL}+=	makemap
202SUBDIR.${MK_SENDMAIL}+=	praliases
203SUBDIR.${MK_SENDMAIL}+=	sendmail
204SUBDIR.${MK_TCP_WRAPPERS}+=	tcpdchk
205SUBDIR.${MK_TCP_WRAPPERS}+=	tcpdmatch
206SUBDIR.${MK_TIMED}+=	timed
207SUBDIR.${MK_TOOLCHAIN}+=	config
208SUBDIR.${MK_TOOLCHAIN}+=	crunch
209SUBDIR.${MK_UNBOUND}+=	unbound
210SUBDIR.${MK_USB}+=	uathload
211SUBDIR.${MK_USB}+=	uhsoctl
212SUBDIR.${MK_USB}+=	usbconfig
213SUBDIR.${MK_USB}+=	usbdump
214SUBDIR.${MK_UTMPX}+=	ac
215SUBDIR.${MK_UTMPX}+=	lastlogin
216SUBDIR.${MK_UTMPX}+=	utx
217SUBDIR.${MK_WIRELESS}+=	ancontrol
218SUBDIR.${MK_WIRELESS}+=	wlandebug
219SUBDIR.${MK_WIRELESS}+=	wpa
220
221SUBDIR.${MK_TESTS}+=	tests
222
223.include <bsd.arch.inc.mk>
224
225SUBDIR_PARALLEL=
226
227.include <bsd.subdir.mk>
228