xref: /freebsd/usr.sbin/Makefile (revision 4bbc5bd8e0133af466edb0c0d691588750267c6d)
1886e832bSGarrett Wollman#	From: @(#)Makefile	5.20 (Berkeley) 6/12/93
297d92980SPeter Wemm# $FreeBSD$
3dea673e9SRodney W. Grimes
4e1fe3dbaSRuslan Ermilov.include <bsd.own.mk>
5e1fe3dbaSRuslan Ermilov
6690f477dSSam LefflerSUBDIR=	${_ac} \
7690f477dSSam Leffler	${_accton} \
8d10a8d6cSRuslan Ermilov	${_acpi} \
90451ac36SGary Palmer	adduser \
10690f477dSSam Leffler	${_amd} \
11690f477dSSam Leffler	${_ancontrol} \
12d10a8d6cSRuslan Ermilov	${_apm} \
13d10a8d6cSRuslan Ermilov	${_apmd} \
140451ac36SGary Palmer	arp \
15c0f20e27SRuslan Ermilov	${_asf} \
16c0f20e27SRuslan Ermilov	${_atm} \
176470320fSRobert Watson	${_audit} \
186470320fSRobert Watson	${_auditd} \
196470320fSRobert Watson	${_auditreduce} \
208d69c48bSMax Laier	${_authpf} \
21d10a8d6cSRuslan Ermilov	${_bluetooth} \
22d10a8d6cSRuslan Ermilov	${_boot0cfg} \
23d10a8d6cSRuslan Ermilov	${_boot98cfg} \
240451ac36SGary Palmer	bootparamd \
25690f477dSSam Leffler	${_bsnmpd} \
26d10a8d6cSRuslan Ermilov	${_btxld} \
276d73a68aSSøren Schmidt	burncd \
280451ac36SGary Palmer	cdcontrol \
290451ac36SGary Palmer	chkgrp \
300451ac36SGary Palmer	chown \
310451ac36SGary Palmer	chroot \
320451ac36SGary Palmer	ckdist \
33dfdcada3SDoug Rabson	clear_locks \
34690f477dSSam Leffler	${_config} \
35e085f869SStanislav Sedov	${_cpucontrol} \
36a37f9716SJohn Baldwin	crashinfo \
370451ac36SGary Palmer	cron \
38690f477dSSam Leffler	${_crunch} \
39690f477dSSam Leffler	${_ctm} \
40bd06a3ecSMike Barcroft	daemon \
41869093b1SHidetoshi Shimokawa	dconschat \
420fb0f418SMike Smith	devinfo \
43ad01e0c8SBrian Somers	digictl \
44a362eb63SPoul-Henning Kamp	diskinfo \
456318052dSDoug Barton	${_dnssec-dsfromkey} \
466318052dSDoug Barton	${_dnssec-keyfromlabel} \
47cd3ee173SDag-Erling Smørgrav	${_dnssec-keygen} \
48cd3ee173SDag-Erling Smørgrav	${_dnssec-signzone} \
490738c00eSWarner Losh	dumpcis \
50d10a8d6cSRuslan Ermilov	${_editmap} \
51690f477dSSam Leffler	${_edquota} \
52156e1decSMarius Strobl	${_eeprom} \
53caefa400SPoul-Henning Kamp	extattr \
549754f5b6SRobert Watson	extattrctl \
55c42d8ce5SYaroslav Tykhiy	${_faithd} \
56690f477dSSam Leffler	${_fdcontrol} \
57690f477dSSam Leffler	${_fdformat} \
58690f477dSSam Leffler	${_fdread} \
59690f477dSSam Leffler	${_fdwrite} \
607825a6bdSPoul-Henning Kamp	fifolog \
61690f477dSSam Leffler	${_flowctl} \
62690f477dSSam Leffler	${_freebsd-update} \
6360ee3847SMax Laier	${_ftp-proxy} \
64a7a73b95SHidetoshi Shimokawa	fwcontrol \
655b38a427SRobert Watson	getfmac \
665b38a427SRobert Watson	getpmac \
6754a8adabSPoul-Henning Kamp	gstat \
68a9148abdSDoug Rabson	${_gssd} \
69477f656bSRafal Jaworowski	i2c \
70123689d3SYoshinobu Inoue	ifmcstat \
710451ac36SGary Palmer	inetd \
725c9036d5SDima Ruban	iostat \
73ad4c6857SYaroslav Tykhiy	${_ip6addrctl} \
74690f477dSSam Leffler	${_ipfwpcap} \
75cea557adSRuslan Ermilov	${_IPXrouted} \
76690f477dSSam Leffler	${_jail} \
77690f477dSSam Leffler	${_jexec} \
78690f477dSSam Leffler	${_jls} \
79690f477dSSam Leffler	${_kbdcontrol} \
80690f477dSSam Leffler	${_kbdmap} \
81d10a8d6cSRuslan Ermilov	${_keyserv} \
82d10a8d6cSRuslan Ermilov	${_kgmon} \
83d10a8d6cSRuslan Ermilov	${_kgzip} \
849c6f9240SPeter Wemm	kldxref \
85b3b01ff3SRuslan Ermilov	lastlogin \
86690f477dSSam Leffler	${_lmcconfig} \
87d10a8d6cSRuslan Ermilov	${_lpr} \
88d10a8d6cSRuslan Ermilov	${_lptcontrol} \
89d10a8d6cSRuslan Ermilov	${_mailstats} \
90cccce27aSPeter Wemm	mailwrapper \
91efc06131SSam Leffler	makefs \
92d10a8d6cSRuslan Ermilov	${_makemap} \
9307e547feSJung-uk Kim	${_manctl} \
940adc9d60SMike Smith	memcontrol \
9524ff9bb5SBill Fumerola	mergemaster \
96763fae79SScott Long	mfiutil \
97c7805c63SDoug Rabson	mixer \
98d10a8d6cSRuslan Ermilov	${_mld6query} \
99f6f23e2cSMike Smith	mlxcontrol \
1008f40768aSGordon Tetlow	mountd \
101d10a8d6cSRuslan Ermilov	${_mount_nwfs} \
102d10a8d6cSRuslan Ermilov	mount_portalfs \
103d10a8d6cSRuslan Ermilov	${_mount_smbfs} \
104690f477dSSam Leffler	${_moused} \
105d10a8d6cSRuslan Ermilov	${_mptable} \
106fc58801cSScott Long	mptutil \
1070451ac36SGary Palmer	mtest \
1080451ac36SGary Palmer	mtree \
109d10a8d6cSRuslan Ermilov	${_named} \
110cd3ee173SDag-Erling Smørgrav	${_named-checkconf} \
111cd3ee173SDag-Erling Smørgrav	${_named-checkzone} \
112161a5ba8SRuslan Ermilov	${_named.reload} \
113d10a8d6cSRuslan Ermilov	${_ndiscvt} \
114bc34ace3SYaroslav Tykhiy	${_ndp} \
1150451ac36SGary Palmer	newsyslog \
11603914b0bSRick Macklem	nfscbd \
1178f40768aSGordon Tetlow	nfsd \
11803914b0bSRick Macklem	nfsdumpstate \
11903914b0bSRick Macklem	nfsrevoke \
12003914b0bSRick Macklem	nfsuserd \
121690f477dSSam Leffler	${_ngctl} \
122690f477dSSam Leffler	${_nghook} \
1235de697a6SColin Percival	nologin \
124c97fe77dSMichael Bushkov	${_nscd} \
125690f477dSSam Leffler	${_ntp} \
126e5d34218SMaxim Sobolev	${_nvram} \
127d10a8d6cSRuslan Ermilov	${_ofwdump} \
128*4bbc5bd8SWarner Losh	pc-sysinstall \
1290451ac36SGary Palmer	pciconf \
1300451ac36SGary Palmer	periodic \
131690f477dSSam Leffler	${_pkg_install} \
1321b4822a4SAttilio Rao	${_pmcannotate} \
133690f477dSSam Leffler	${_pmccontrol} \
134690f477dSSam Leffler	${_pmcstat} \
135d10a8d6cSRuslan Ermilov	${_pnpinfo} \
136690f477dSSam Leffler	${_portsnap} \
137c3c5f9cdSNate Lawson	powerd \
138690f477dSSam Leffler	${_ppp} \
139d10a8d6cSRuslan Ermilov	${_pppctl} \
140d10a8d6cSRuslan Ermilov	${_praliases} \
1416470320fSRobert Watson	${_praudit} \
1420451ac36SGary Palmer	procctl \
1430451ac36SGary Palmer	pstat \
1440451ac36SGary Palmer	pw \
1450451ac36SGary Palmer	pwd_mkdb \
1460451ac36SGary Palmer	quot \
147690f477dSSam Leffler	${_quotaon} \
1480451ac36SGary Palmer	rarpd \
149690f477dSSam Leffler	${_repquota} \
150d10a8d6cSRuslan Ermilov	${_rip6query} \
1510451ac36SGary Palmer	rmt \
152cd3ee173SDag-Erling Smørgrav	${_rndc} \
153cd3ee173SDag-Erling Smørgrav	${_rndc-confgen} \
154d10a8d6cSRuslan Ermilov	${_route6d} \
1558360efbdSAlfred Perlstein	rpcbind \
1560451ac36SGary Palmer	rpc.lockd \
1570451ac36SGary Palmer	rpc.statd \
158c69a34d4SMatthew Dillon	rpc.umntall \
1596c58990dSBjoern A. Zeeb	${_rpc.yppasswdd} \
1606c58990dSBjoern A. Zeeb	${_rpc.ypupdated} \
1616c58990dSBjoern A. Zeeb	${_rpc.ypxfrd} \
162bc34ace3SYaroslav Tykhiy	${_rrenumd} \
163bc34ace3SYaroslav Tykhiy	${_rtadvd} \
1645c9036d5SDima Ruban	rtprio \
165bc34ace3SYaroslav Tykhiy	${_rtsold} \
166690f477dSSam Leffler	${_rwhod} \
167690f477dSSam Leffler	${_sa} \
16842f17e8cSMarcel Moolenaar	${_sade} \
169d10a8d6cSRuslan Ermilov	${_sendmail} \
1703d482827SDoug Barton	service \
1710b25da7eSHajimu UMEMOTO	services_mkdb \
172108e8dd9SJulian Elischer	setfib \
1735b38a427SRobert Watson	setfmac \
1745b38a427SRobert Watson	setpmac \
175d10a8d6cSRuslan Ermilov	${_sicontrol} \
17680cdf39aSJoerg Wunsch	smbmsg \
1778f61cf9cSMark Santcroos	snapinfo \
178d10a8d6cSRuslan Ermilov	${_spkrtest} \
1790451ac36SGary Palmer	spray \
1800bc81187SDavid E. O'Brien	${_sysinstall} \
1810451ac36SGary Palmer	syslogd \
1828d4b20e3SMark Murray	tcpdchk \
1838d4b20e3SMark Murray	tcpdmatch \
184212a79b0SMaxim Konovalov	tcpdrop \
1850acc1823SDavid E. O'Brien	tcpdump \
1860451ac36SGary Palmer	timed \
1870451ac36SGary Palmer	traceroute \
188d10a8d6cSRuslan Ermilov	${_traceroute6} \
1890451ac36SGary Palmer	trpt \
1900451ac36SGary Palmer	tzsetup \
191f561843cSWeongyo Jeong	${_uathload} \
19234d26f04SRobert Watson	ugidfw \
193941e2863SAndrew Thompson	${_uhsoctl} \
194d10a8d6cSRuslan Ermilov	${_usbdevs} \
1956f0e1ffdSAlfred Perlstein	${_usbconfig} \
196690f477dSSam Leffler	${_vidcontrol} \
1970451ac36SGary Palmer	vipw \
19858c6a70aSMartin Blapp	wake \
1990451ac36SGary Palmer	watch \
200370c3cb5SSean Kelly	watchdogd \
201690f477dSSam Leffler	${_wlandebug} \
202d10a8d6cSRuslan Ermilov	${_wlconfig} \
203690f477dSSam Leffler	${_wpa} \
2046c58990dSBjoern A. Zeeb	${_ypbind} \
2056c58990dSBjoern A. Zeeb	${_yp_mkdb} \
2066c58990dSBjoern A. Zeeb	${_yppoll} \
2076c58990dSBjoern A. Zeeb	${_yppush} \
2086c58990dSBjoern A. Zeeb	${_ypserv} \
2096c58990dSBjoern A. Zeeb	${_ypset} \
210d10a8d6cSRuslan Ermilov	zic \
211d10a8d6cSRuslan Ermilov	${_zzz}
212d10a8d6cSRuslan Ermilov
213690f477dSSam Leffler# NB: keep these sorted by MK_* knobs
214690f477dSSam Leffler
215690f477dSSam Leffler.if ${MK_ACCT} != "no"
216690f477dSSam Leffler_ac=		ac
217690f477dSSam Leffler_accton=	accton
218690f477dSSam Leffler_sa=		sa
219690f477dSSam Leffler.endif
220690f477dSSam Leffler
221690f477dSSam Leffler.if ${MK_AMD} != "no"
222690f477dSSam Leffler_amd=		amd
223d10a8d6cSRuslan Ermilov.endif
2245021f740SPeter Wemm
225e1fe3dbaSRuslan Ermilov.if ${MK_AUDIT} != "no"
2266470320fSRobert Watson_audit=		audit
2276470320fSRobert Watson_auditd=	auditd
2286470320fSRobert Watson_auditreduce=	auditreduce
2296470320fSRobert Watson_praudit=	praudit
2306470320fSRobert Watson.endif
2316470320fSRobert Watson
232690f477dSSam Leffler.if ${MK_AUTHPF} != "no"
233690f477dSSam Leffler_authpf=	authpf
234690f477dSSam Leffler.endif
235690f477dSSam Leffler
236e1fe3dbaSRuslan Ermilov.if ${MK_BIND_DNSSEC} != "no" && ${MK_OPENSSL} != "no"
2376318052dSDoug Barton_dnssec-dsfromkey=	dnssec-dsfromkey
2386318052dSDoug Barton_dnssec-keyfromlabel=	dnssec-keyfromlabel
23911d9d041SDag-Erling Smørgrav_dnssec-keygen=		dnssec-keygen
24011d9d041SDag-Erling Smørgrav_dnssec-signzone=	dnssec-signzone
24111d9d041SDag-Erling Smørgrav.endif
242e1fe3dbaSRuslan Ermilov.if ${MK_BIND_NAMED} != "no"
243d10a8d6cSRuslan Ermilov_named=			named
244cd3ee173SDag-Erling Smørgrav_named-checkconf=	named-checkconf
245cd3ee173SDag-Erling Smørgrav_named-checkzone=	named-checkzone
246161a5ba8SRuslan Ermilov_named.reload=		named.reload
247cd3ee173SDag-Erling Smørgrav_rndc=			rndc
248cd3ee173SDag-Erling Smørgrav_rndc-confgen=		rndc-confgen
249d10a8d6cSRuslan Ermilov.endif
250d10a8d6cSRuslan Ermilov
251e1fe3dbaSRuslan Ermilov.if ${MK_BLUETOOTH} != "no"
25223d1e148SMaksim Yevmenkin_bluetooth=	bluetooth
25323d1e148SMaksim Yevmenkin.endif
25423d1e148SMaksim Yevmenkin
255690f477dSSam Leffler.if ${MK_BSNMP} != "no"
256690f477dSSam Leffler_bsnmpd=	bsnmpd
257d10a8d6cSRuslan Ermilov.endif
258d10a8d6cSRuslan Ermilov
259690f477dSSam Leffler.if ${MK_CTM} != "no"
260690f477dSSam Leffler_ctm=		ctm
261690f477dSSam Leffler.endif
262690f477dSSam Leffler
263690f477dSSam Leffler.if ${MK_FLOPPY} != "no"
264690f477dSSam Leffler_fdcontrol=	fdcontrol
265690f477dSSam Leffler_fdformat=	fdformat
266690f477dSSam Leffler_fdread=	fdread
267690f477dSSam Leffler_fdwrite=	fdwrite
268690f477dSSam Leffler.endif
269690f477dSSam Leffler
270690f477dSSam Leffler.if ${MK_FREEBSD_UPDATE} != "no"
271690f477dSSam Leffler_freebsd-update= freebsd-update
27260ee3847SMax Laier.endif
27360ee3847SMax Laier
274a9148abdSDoug Rabson.if ${MK_GSSAPI} != no
275a9148abdSDoug Rabson_gssd=		gssd
276a9148abdSDoug Rabson.endif
277a9148abdSDoug Rabson
278e1fe3dbaSRuslan Ermilov.if ${MK_INET6} != "no"
279c42d8ce5SYaroslav Tykhiy_faithd=	faithd
280ad4c6857SYaroslav Tykhiy_ip6addrctl=	ip6addrctl
281d10a8d6cSRuslan Ermilov_mld6query=	mld6query
282bc34ace3SYaroslav Tykhiy_ndp=		ndp
283d10a8d6cSRuslan Ermilov_rip6query=	rip6query
284d10a8d6cSRuslan Ermilov_route6d=	route6d
285bc34ace3SYaroslav Tykhiy_rrenumd=	rrenumd
286bc34ace3SYaroslav Tykhiy_rtadvd=	rtadvd
287bc34ace3SYaroslav Tykhiy_rtsold=	rtsold
288d10a8d6cSRuslan Ermilov_traceroute6=	traceroute6
289d10a8d6cSRuslan Ermilov.endif
290d10a8d6cSRuslan Ermilov
291690f477dSSam Leffler.if ${MK_IPFW} != "no"
292690f477dSSam Leffler_ipfwpcap=	ipfwpcap
293690f477dSSam Leffler.endif
294690f477dSSam Leffler
295cea557adSRuslan Ermilov.if ${MK_IPX} != "no"
296cea557adSRuslan Ermilov_IPXrouted=	IPXrouted
297cea557adSRuslan Ermilov.endif
298cea557adSRuslan Ermilov
299690f477dSSam Leffler.if ${MK_JAIL} != "no"
300690f477dSSam Leffler_jail=		jail
30168c870abSAntoine Brodin_jexec=		jexec
302690f477dSSam Leffler_jls=		jls
303690f477dSSam Leffler.endif
304690f477dSSam Leffler
305690f477dSSam Leffler# XXX MK_SYSCONS
306690f477dSSam Leffler.if ${MK_LEGACY_CONSOLE} != "no"
307690f477dSSam Leffler_kbdcontrol=	kbdcontrol
308690f477dSSam Leffler_kbdmap=	kbdmap
309690f477dSSam Leffler_moused=	moused
310690f477dSSam Leffler_vidcontrol=	vidcontrol
311690f477dSSam Leffler.endif
312690f477dSSam Leffler
3131272ddb2SBjoern A. Zeeb.if ${MK_LIBTHR} != "no" || ${MK_LIBPTHREAD} != "no"
314690f477dSSam Leffler.if ${MK_PPP} != "no"
315690f477dSSam Leffler_pppctl=	pppctl
316690f477dSSam Leffler.endif
317690f477dSSam Leffler.if ${MK_NS_CACHING} != "no"
318690f477dSSam Leffler_nscd=		nscd
319690f477dSSam Leffler.endif
320690f477dSSam Leffler.endif
321690f477dSSam Leffler
322690f477dSSam Leffler.if ${MK_LPR} != "no"
323690f477dSSam Leffler_lpr=		lpr
324690f477dSSam Leffler.endif
325690f477dSSam Leffler
32607e547feSJung-uk Kim.if ${MK_MAN_UTILS} != "no"
32707e547feSJung-uk Kim_manctl=	manctl
32807e547feSJung-uk Kim.endif
32907e547feSJung-uk Kim
330690f477dSSam Leffler.if ${MK_NETGRAPH} != "no"
331690f477dSSam Leffler_flowctl=	flowctl
332690f477dSSam Leffler_lmcconfig=	lmcconfig
333690f477dSSam Leffler_ngctl=		ngctl
334690f477dSSam Leffler_nghook=	nghook
335690f477dSSam Leffler.endif
336690f477dSSam Leffler
337e1fe3dbaSRuslan Ermilov.if ${MK_NIS} != "no"
3386c58990dSBjoern A. Zeeb_rpc.yppasswdd=	rpc.yppasswdd
3396c58990dSBjoern A. Zeeb_rpc.ypupdated=	rpc.ypupdated
3406c58990dSBjoern A. Zeeb_rpc.ypxfrd=	rpc.ypxfrd
3416c58990dSBjoern A. Zeeb_ypbind=	ypbind
3426c58990dSBjoern A. Zeeb_yp_mkdb=	yp_mkdb
3436c58990dSBjoern A. Zeeb_yppoll=	yppoll
3446c58990dSBjoern A. Zeeb_yppush=	yppush
3456c58990dSBjoern A. Zeeb_ypserv=	ypserv
3466c58990dSBjoern A. Zeeb_ypset=		ypset
3476c58990dSBjoern A. Zeeb.endif
3486c58990dSBjoern A. Zeeb
349690f477dSSam Leffler.if ${MK_NTP} != "no"
350690f477dSSam Leffler_ntp=		ntp
3518d69c48bSMax Laier.endif
3528d69c48bSMax Laier
353690f477dSSam Leffler.if ${MK_OPENSSL} != "no"
354690f477dSSam Leffler_keyserv=	keyserv
355152f2a4aSRuslan Ermilov.endif
356152f2a4aSRuslan Ermilov
357690f477dSSam Leffler.if ${MK_PF} != "no"
358690f477dSSam Leffler_ftp-proxy=	ftp-proxy
3598c0e8d96STim Vanderhoek.endif
3608c0e8d96STim Vanderhoek
361690f477dSSam Leffler.if ${MK_PKGTOOLS} != "no"
362690f477dSSam Leffler_pkg_install=	pkg_install
3638af480aeSRuslan Ermilov.endif
364690f477dSSam Leffler
365690f477dSSam Leffler# XXX MK_TOOLCHAIN?
366690f477dSSam Leffler.if ${MK_PMC} != "no"
3671b4822a4SAttilio Rao_pmcannotate=	pmcannotate
368690f477dSSam Leffler_pmccontrol=	pmccontrol
369690f477dSSam Leffler_pmcstat=	pmcstat
370690f477dSSam Leffler.endif
371690f477dSSam Leffler
372690f477dSSam Leffler.if ${MK_PORTSNAP} != "no"
373690f477dSSam Leffler_portsnap=	portsnap
374690f477dSSam Leffler.endif
375690f477dSSam Leffler
376690f477dSSam Leffler.if ${MK_PPP} != "no"
377690f477dSSam Leffler_ppp=		ppp
378690f477dSSam Leffler#_pppctl handled below
379690f477dSSam Leffler.endif
380690f477dSSam Leffler
381690f477dSSam Leffler.if ${MK_QUOTAS} != "no"
382690f477dSSam Leffler_edquota=	edquota
383690f477dSSam Leffler_quotaon=	quotaon
384690f477dSSam Leffler_repquota=	repquota
385690f477dSSam Leffler.endif
386690f477dSSam Leffler
387690f477dSSam Leffler.if ${MK_RCMDS} != "no"
388690f477dSSam Leffler_rwhod=		rwhod
3898af480aeSRuslan Ermilov.endif
3908af480aeSRuslan Ermilov
391e1fe3dbaSRuslan Ermilov.if ${MK_SENDMAIL} != "no"
392d10a8d6cSRuslan Ermilov_editmap=	editmap
393d10a8d6cSRuslan Ermilov_mailstats=	mailstats
394d10a8d6cSRuslan Ermilov_makemap=	makemap
395d10a8d6cSRuslan Ermilov_praliases=	praliases
396d10a8d6cSRuslan Ermilov_sendmail=	sendmail
3975a85f025SPoul-Henning Kamp.endif
3985a85f025SPoul-Henning Kamp
399690f477dSSam Leffler.if ${MK_SYSINSTALL} != "no"
4002110f388SMarius Strobl.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" || \
4012110f388SMarius Strobl    ${MACHINE_ARCH} == "sparc64"
402690f477dSSam Leffler_sade=		sade
4030d44ba5dSMarcel Moolenaar.endif
404690f477dSSam Leffler.if ${MACHINE_ARCH} != "arm" && ${MACHINE_ARCH} != "mips"
405690f477dSSam Leffler_sysinstall=	sysinstall
406690f477dSSam Leffler.endif
407690f477dSSam Leffler.endif
408690f477dSSam Leffler
409690f477dSSam Leffler.if ${MK_TOOLCHAIN} != "no"
410690f477dSSam Leffler_config=	config
411690f477dSSam Leffler_crunch=	crunch
412690f477dSSam Leffler.endif
413690f477dSSam Leffler
414e1fe3dbaSRuslan Ermilov.if ${MK_USB} != "no"
415fe41f260SWeongyo Jeong.if ${MACHINE_ARCH} != "ia64"
416f561843cSWeongyo Jeong_uathload=	uathload
417fe41f260SWeongyo Jeong.endif
418941e2863SAndrew Thompson_uhsoctl=	uhsoctl
4193975e3a1SAndrew Thompson#_usbdevs=	usbdevs
4206f0e1ffdSAlfred Perlstein_usbconfig=	usbconfig
4212b51223fSStefan Eßer.endif
4222b51223fSStefan Eßer
423690f477dSSam Leffler.if ${MK_WIRELESS} != "no"
424690f477dSSam Leffler_ancontrol=	ancontrol
425690f477dSSam Leffler_wlandebug=	wlandebug
426690f477dSSam Leffler_wpa=		wpa
427690f477dSSam Leffler.endif
428690f477dSSam Leffler
42957628e38SOlivier Houchard.if ${MACHINE_ARCH} == "arm"
43057628e38SOlivier Houchard_kgmon=		kgmon
43157628e38SOlivier Houchard.endif
43257628e38SOlivier Houchard
4331a1536c1SJohn Birrell.if ${MACHINE_ARCH} == "i386"
434690f477dSSam Leffler.if ${MK_APM} != "no"
435d10a8d6cSRuslan Ermilov_apm=		apm
436d10a8d6cSRuslan Ermilov_apmd=		apmd
437690f477dSSam Leffler.endif
438d10a8d6cSRuslan Ermilov_asf=		asf
439690f477dSSam Leffler.if ${MK_TOOLCHAIN} != "no"
440d10a8d6cSRuslan Ermilov_btxld=		btxld
441690f477dSSam Leffler.endif
442e085f869SStanislav Sedov_cpucontrol=	cpucontrol
443d10a8d6cSRuslan Ermilov_kgmon=		kgmon
444d10a8d6cSRuslan Ermilov_kgzip=		kgzip
445d10a8d6cSRuslan Ermilov_lptcontrol=	lptcontrol
446cea557adSRuslan Ermilov.if ${MK_NCP} != "no"
447d10a8d6cSRuslan Ermilov_mount_nwfs=	mount_nwfs
448cea557adSRuslan Ermilov.endif
449d10a8d6cSRuslan Ermilov_mount_smbfs=	mount_smbfs
450d10a8d6cSRuslan Ermilov_mptable=	mptable
451690f477dSSam Leffler.if ${MK_NDIS} != "no"
452d10a8d6cSRuslan Ermilov_ndiscvt=	ndiscvt
453690f477dSSam Leffler.endif
454d10a8d6cSRuslan Ermilov_pnpinfo=	pnpinfo
45579e295e8SPoul-Henning Kamp_sicontrol=	sicontrol
456d10a8d6cSRuslan Ermilov_spkrtest=	spkrtest
457d10a8d6cSRuslan Ermilov_zzz=		zzz
458f8eecc08SWarner Losh.if ${MACHINE} == "i386"
459e1fe3dbaSRuslan Ermilov.if ${MK_ACPI} != "no"
460f8eecc08SWarner Losh_acpi=		acpi
461f8eecc08SWarner Losh.endif
462f8eecc08SWarner Losh_boot0cfg=	boot0cfg
463690f477dSSam Leffler.if ${MK_WIRELESS} != "no"
464f8eecc08SWarner Losh_wlconfig=	wlconfig
465690f477dSSam Leffler.endif
466f8eecc08SWarner Losh.elif ${MACHINE} == "pc98"
467f8eecc08SWarner Losh_boot98cfg=	boot98cfg
468f8eecc08SWarner Losh.endif
469f3bb47ccSRuslan Ermilov.endif
4703bc2f9a8SPoul-Henning Kamp
47119f2b0e8SPeter Wemm# kgzip: builds, but missing support files
47219f2b0e8SPeter Wemm# mptable: broken (not 64 bit clean)
47319f2b0e8SPeter Wemm# pnpinfo: crashes (not really useful anyway)
474a6f4ec06SPeter Wemm.if ${MACHINE_ARCH} == "amd64"
475e1fe3dbaSRuslan Ermilov.if ${MK_ACPI} != "no"
476d10a8d6cSRuslan Ermilov_acpi=		acpi
477d10a8d6cSRuslan Ermilov.endif
47871f99e63SJung-uk Kim.if ${MK_APM} != "no"
47971f99e63SJung-uk Kim_apm=		apm
48071f99e63SJung-uk Kim.endif
481d10a8d6cSRuslan Ermilov_asf=		asf
482d10a8d6cSRuslan Ermilov_boot0cfg=	boot0cfg
483690f477dSSam Leffler.if ${MK_TOOLCHAIN} != "no"
484d10a8d6cSRuslan Ermilov_btxld=		btxld
485690f477dSSam Leffler.endif
486e085f869SStanislav Sedov_cpucontrol=	cpucontrol
487be8282baSBruce Evans_kgmon=		kgmon
488d10a8d6cSRuslan Ermilov_lptcontrol=	lptcontrol
489cea557adSRuslan Ermilov.if ${MK_NCP} != "no"
490d10a8d6cSRuslan Ermilov_mount_nwfs=	mount_nwfs
491cea557adSRuslan Ermilov.endif
492d10a8d6cSRuslan Ermilov_mount_smbfs=	mount_smbfs
493d10a8d6cSRuslan Ermilov_mptable=	mptable
494690f477dSSam Leffler.if ${MK_NDIS} != "no"
4954e012474SBill Paul_ndiscvt=	ndiscvt
496690f477dSSam Leffler.endif
49779e295e8SPoul-Henning Kamp_sicontrol=	sicontrol
498d10a8d6cSRuslan Ermilov_spkrtest=	spkrtest
499d10a8d6cSRuslan Ermilov_zzz=		zzz
500a6f4ec06SPeter Wemm.endif
501a6f4ec06SPeter Wemm
502f13753b3SRafal Jaworowski.if ${MACHINE_ARCH} == "arm"
503f13753b3SRafal Jaworowski_ofwdump=	ofwdump
504f13753b3SRafal Jaworowski.endif
505f13753b3SRafal Jaworowski
506d10a8d6cSRuslan Ermilov.if ${MACHINE_ARCH} == "ia64"
507e1fe3dbaSRuslan Ermilov.if ${MK_ACPI} != "no"
508d10a8d6cSRuslan Ermilov_acpi=		acpi
509c7961209SKATO Takenori.endif
510fb35b471SMarcel Moolenaar_kgmon=		kgmon
511a1800335SMarcel Moolenaar_mount_smbfs=	mount_smbfs
512d10a8d6cSRuslan Ermilov_zzz=		zzz
5136a70fca0SKATO Takenori.endif
514c7961209SKATO Takenori
51559fa7082SR. Imura.if ${MACHINE_ARCH} == "powerpc"
51659fa7082SR. Imura_mount_smbfs=	mount_smbfs
517e5d34218SMaxim Sobolev_nvram=		nvram
518104954feSPeter Grehan_ofwdump=	ofwdump
51959fa7082SR. Imura.endif
52059fa7082SR. Imura
5216f6ede92SThomas Moestl.if ${MACHINE_ARCH} == "sparc64"
522156e1decSMarius Strobl_eeprom=	eeprom
52369618fcfSPyun YongHyeon_mount_smbfs=	mount_smbfs
524d10a8d6cSRuslan Ermilov_ofwdump=	ofwdump
525a8ec1b48SMaxim Sobolev.endif
526a8ec1b48SMaxim Sobolev
527dea673e9SRodney W. Grimes.include <bsd.subdir.mk>
528