xref: /freebsd/usr.sbin/Makefile (revision f561843cf0907b4bcc627cf8b58c8043e66ab54f)
1886e832bSGarrett Wollman#	From: @(#)Makefile	5.20 (Berkeley) 6/12/93
297d92980SPeter Wemm# $FreeBSD$
3dea673e9SRodney W. Grimes
4e1fe3dbaSRuslan Ermilov.include <bsd.own.mk>
5e1fe3dbaSRuslan Ermilov
678eb91b4SDavid Greenman# XXX MISSING:		mkproto
7690f477dSSam LefflerSUBDIR=	${_ac} \
8690f477dSSam Leffler	${_accton} \
9d10a8d6cSRuslan Ermilov	${_acpi} \
100451ac36SGary Palmer	adduser \
11690f477dSSam Leffler	${_amd} \
12690f477dSSam Leffler	${_ancontrol} \
13d10a8d6cSRuslan Ermilov	${_apm} \
14d10a8d6cSRuslan Ermilov	${_apmd} \
150451ac36SGary Palmer	arp \
16c0f20e27SRuslan Ermilov	${_asf} \
17c0f20e27SRuslan Ermilov	${_atm} \
186470320fSRobert Watson	${_audit} \
196470320fSRobert Watson	${_auditd} \
206470320fSRobert Watson	${_auditreduce} \
218d69c48bSMax Laier	${_authpf} \
22d10a8d6cSRuslan Ermilov	${_bluetooth} \
23d10a8d6cSRuslan Ermilov	${_boot0cfg} \
24d10a8d6cSRuslan Ermilov	${_boot98cfg} \
250451ac36SGary Palmer	bootparamd \
26690f477dSSam Leffler	${_bsnmpd} \
27d10a8d6cSRuslan Ermilov	${_btxld} \
286d73a68aSSøren Schmidt	burncd \
290451ac36SGary Palmer	cdcontrol \
300451ac36SGary Palmer	chkgrp \
310451ac36SGary Palmer	chown \
320451ac36SGary Palmer	chroot \
330451ac36SGary Palmer	ckdist \
34dfdcada3SDoug Rabson	clear_locks \
35690f477dSSam Leffler	${_config} \
36e085f869SStanislav Sedov	${_cpucontrol} \
37a37f9716SJohn Baldwin	crashinfo \
380451ac36SGary Palmer	cron \
39690f477dSSam Leffler	${_crunch} \
40690f477dSSam Leffler	${_ctm} \
41bd06a3ecSMike Barcroft	daemon \
42869093b1SHidetoshi Shimokawa	dconschat \
430fb0f418SMike Smith	devinfo \
44ad01e0c8SBrian Somers	digictl \
45a362eb63SPoul-Henning Kamp	diskinfo \
46cd3ee173SDag-Erling Smørgrav	${_dnssec-keygen} \
47cd3ee173SDag-Erling Smørgrav	${_dnssec-signzone} \
480738c00eSWarner Losh	dumpcis \
49d10a8d6cSRuslan Ermilov	${_editmap} \
50690f477dSSam Leffler	${_edquota} \
51156e1decSMarius Strobl	${_eeprom} \
52caefa400SPoul-Henning Kamp	extattr \
539754f5b6SRobert Watson	extattrctl \
54c42d8ce5SYaroslav Tykhiy	${_faithd} \
55690f477dSSam Leffler	${_fdcontrol} \
56690f477dSSam Leffler	${_fdformat} \
57690f477dSSam Leffler	${_fdread} \
58690f477dSSam Leffler	${_fdwrite} \
597825a6bdSPoul-Henning Kamp	fifolog \
60690f477dSSam Leffler	${_flowctl} \
61690f477dSSam Leffler	${_freebsd-update} \
6260ee3847SMax Laier	${_ftp-proxy} \
63a7a73b95SHidetoshi Shimokawa	fwcontrol \
645b38a427SRobert Watson	getfmac \
655b38a427SRobert Watson	getpmac \
6654a8adabSPoul-Henning Kamp	gstat \
67a9148abdSDoug Rabson	${_gssd} \
68477f656bSRafal Jaworowski	i2c \
69123689d3SYoshinobu Inoue	ifmcstat \
700451ac36SGary Palmer	inetd \
715c9036d5SDima Ruban	iostat \
72ad4c6857SYaroslav Tykhiy	${_ip6addrctl} \
73690f477dSSam Leffler	${_ipfwpcap} \
74cea557adSRuslan Ermilov	${_IPXrouted} \
75690f477dSSam Leffler	${_jail} \
76690f477dSSam Leffler	${_jexec} \
77690f477dSSam Leffler	${_jls} \
78690f477dSSam Leffler	${_kbdcontrol} \
79690f477dSSam Leffler	${_kbdmap} \
80d10a8d6cSRuslan Ermilov	${_keyserv} \
81d10a8d6cSRuslan Ermilov	${_kgmon} \
82d10a8d6cSRuslan Ermilov	${_kgzip} \
839c6f9240SPeter Wemm	kldxref \
84b3b01ff3SRuslan Ermilov	lastlogin \
85690f477dSSam Leffler	${_lmcconfig} \
86d10a8d6cSRuslan Ermilov	${_lpr} \
87d10a8d6cSRuslan Ermilov	${_lptcontrol} \
88d10a8d6cSRuslan Ermilov	${_mailstats} \
89cccce27aSPeter Wemm	mailwrapper \
90efc06131SSam Leffler	makefs \
91d10a8d6cSRuslan Ermilov	${_makemap} \
920451ac36SGary Palmer	manctl \
930adc9d60SMike Smith	memcontrol \
9424ff9bb5SBill Fumerola	mergemaster \
95c7805c63SDoug Rabson	mixer \
96d10a8d6cSRuslan Ermilov	${_mld6query} \
97f6f23e2cSMike Smith	mlxcontrol \
988f40768aSGordon Tetlow	mountd \
99d10a8d6cSRuslan Ermilov	${_mount_nwfs} \
100d10a8d6cSRuslan Ermilov	mount_portalfs \
101d10a8d6cSRuslan Ermilov	${_mount_smbfs} \
102690f477dSSam Leffler	${_moused} \
103d10a8d6cSRuslan Ermilov	${_mptable} \
1040451ac36SGary Palmer	mtest \
1050451ac36SGary Palmer	mtree \
106d10a8d6cSRuslan Ermilov	${_named} \
107cd3ee173SDag-Erling Smørgrav	${_named-checkconf} \
108cd3ee173SDag-Erling Smørgrav	${_named-checkzone} \
109161a5ba8SRuslan Ermilov	${_named.reload} \
110d10a8d6cSRuslan Ermilov	${_ndiscvt} \
111bc34ace3SYaroslav Tykhiy	${_ndp} \
1120451ac36SGary Palmer	newsyslog \
1138f40768aSGordon Tetlow	nfsd \
114690f477dSSam Leffler	${_ngctl} \
115690f477dSSam Leffler	${_nghook} \
1165de697a6SColin Percival	nologin \
117c97fe77dSMichael Bushkov	${_nscd} \
118690f477dSSam Leffler	${_ntp} \
119e5d34218SMaxim Sobolev	${_nvram} \
120d10a8d6cSRuslan Ermilov	${_ofwdump} \
1210451ac36SGary Palmer	pciconf \
1220451ac36SGary Palmer	periodic \
123690f477dSSam Leffler	${_pkg_install} \
1241b4822a4SAttilio Rao	${_pmcannotate} \
125690f477dSSam Leffler	${_pmccontrol} \
126690f477dSSam Leffler	${_pmcstat} \
127d10a8d6cSRuslan Ermilov	${_pnpinfo} \
128690f477dSSam Leffler	${_portsnap} \
129c3c5f9cdSNate Lawson	powerd \
130690f477dSSam Leffler	${_ppp} \
131d10a8d6cSRuslan Ermilov	${_pppctl} \
132d10a8d6cSRuslan Ermilov	${_praliases} \
1336470320fSRobert Watson	${_praudit} \
1340451ac36SGary Palmer	procctl \
1350451ac36SGary Palmer	pstat \
1360451ac36SGary Palmer	pw \
1370451ac36SGary Palmer	pwd_mkdb \
1380451ac36SGary Palmer	quot \
139690f477dSSam Leffler	${_quotaon} \
1400451ac36SGary Palmer	rarpd \
141690f477dSSam Leffler	${_raycontrol} \
142690f477dSSam Leffler	${_repquota} \
143d10a8d6cSRuslan Ermilov	${_rip6query} \
1440451ac36SGary Palmer	rmt \
145cd3ee173SDag-Erling Smørgrav	${_rndc} \
146cd3ee173SDag-Erling Smørgrav	${_rndc-confgen} \
147d10a8d6cSRuslan Ermilov	${_route6d} \
1488360efbdSAlfred Perlstein	rpcbind \
1490451ac36SGary Palmer	rpc.lockd \
1500451ac36SGary Palmer	rpc.statd \
151c69a34d4SMatthew Dillon	rpc.umntall \
1526c58990dSBjoern A. Zeeb	${_rpc.yppasswdd} \
1536c58990dSBjoern A. Zeeb	${_rpc.ypupdated} \
1546c58990dSBjoern A. Zeeb	${_rpc.ypxfrd} \
155bc34ace3SYaroslav Tykhiy	${_rrenumd} \
156bc34ace3SYaroslav Tykhiy	${_rtadvd} \
1575c9036d5SDima Ruban	rtprio \
158bc34ace3SYaroslav Tykhiy	${_rtsold} \
159690f477dSSam Leffler	${_rwhod} \
160690f477dSSam Leffler	${_sa} \
16142f17e8cSMarcel Moolenaar	${_sade} \
162d10a8d6cSRuslan Ermilov	${_sendmail} \
163108e8dd9SJulian Elischer	setfib \
1645b38a427SRobert Watson	setfmac \
1655b38a427SRobert Watson	setpmac \
166d10a8d6cSRuslan Ermilov	${_sicontrol} \
167690f477dSSam Leffler	${_slstat} \
16880cdf39aSJoerg Wunsch	smbmsg \
1698f61cf9cSMark Santcroos	snapinfo \
170d10a8d6cSRuslan Ermilov	${_spkrtest} \
1710451ac36SGary Palmer	spray \
1720bc81187SDavid E. O'Brien	${_sysinstall} \
1730451ac36SGary Palmer	syslogd \
1748d4b20e3SMark Murray	tcpdchk \
1758d4b20e3SMark Murray	tcpdmatch \
176212a79b0SMaxim Konovalov	tcpdrop \
1770acc1823SDavid E. O'Brien	tcpdump \
1780451ac36SGary Palmer	timed \
1790451ac36SGary Palmer	traceroute \
180d10a8d6cSRuslan Ermilov	${_traceroute6} \
1810451ac36SGary Palmer	trpt \
1820451ac36SGary Palmer	tzsetup \
183f561843cSWeongyo Jeong	${_uathload} \
18434d26f04SRobert Watson	ugidfw \
185d10a8d6cSRuslan Ermilov	${_usbdevs} \
1866f0e1ffdSAlfred Perlstein	${_usbconfig} \
187690f477dSSam Leffler	${_vidcontrol} \
1880451ac36SGary Palmer	vipw \
1890451ac36SGary Palmer	watch \
190370c3cb5SSean Kelly	watchdogd \
191690f477dSSam Leffler	${_wlandebug} \
192d10a8d6cSRuslan Ermilov	${_wlconfig} \
193690f477dSSam Leffler	${_wpa} \
1946c58990dSBjoern A. Zeeb	${_ypbind} \
1956c58990dSBjoern A. Zeeb	${_yp_mkdb} \
1966c58990dSBjoern A. Zeeb	${_yppoll} \
1976c58990dSBjoern A. Zeeb	${_yppush} \
1986c58990dSBjoern A. Zeeb	${_ypserv} \
1996c58990dSBjoern A. Zeeb	${_ypset} \
200d10a8d6cSRuslan Ermilov	zic \
201d10a8d6cSRuslan Ermilov	${_zzz}
202d10a8d6cSRuslan Ermilov
203690f477dSSam Leffler# NB: keep these sorted by MK_* knobs
204690f477dSSam Leffler
205690f477dSSam Leffler.if ${MK_ACCT} != "no"
206690f477dSSam Leffler_ac=		ac
207690f477dSSam Leffler_accton=	accton
208690f477dSSam Leffler_sa=		sa
209690f477dSSam Leffler.endif
210690f477dSSam Leffler
211690f477dSSam Leffler.if ${MK_AMD} != "no"
212690f477dSSam Leffler_amd=		amd
213d10a8d6cSRuslan Ermilov.endif
2145021f740SPeter Wemm
215e1fe3dbaSRuslan Ermilov.if ${MK_AUDIT} != "no"
2166470320fSRobert Watson_audit=		audit
2176470320fSRobert Watson_auditd=	auditd
2186470320fSRobert Watson_auditreduce=	auditreduce
2196470320fSRobert Watson_praudit=	praudit
2206470320fSRobert Watson.endif
2216470320fSRobert Watson
222690f477dSSam Leffler.if ${MK_AUTHPF} != "no"
223690f477dSSam Leffler_authpf=	authpf
224690f477dSSam Leffler.endif
225690f477dSSam Leffler
226e1fe3dbaSRuslan Ermilov.if ${MK_BIND_DNSSEC} != "no" && ${MK_OPENSSL} != "no"
22711d9d041SDag-Erling Smørgrav_dnssec-keygen=		dnssec-keygen
22811d9d041SDag-Erling Smørgrav_dnssec-signzone=	dnssec-signzone
22911d9d041SDag-Erling Smørgrav.endif
230e1fe3dbaSRuslan Ermilov.if ${MK_BIND_NAMED} != "no"
231d10a8d6cSRuslan Ermilov_named=			named
232cd3ee173SDag-Erling Smørgrav_named-checkconf=	named-checkconf
233cd3ee173SDag-Erling Smørgrav_named-checkzone=	named-checkzone
234161a5ba8SRuslan Ermilov_named.reload=		named.reload
235cd3ee173SDag-Erling Smørgrav_rndc=			rndc
236cd3ee173SDag-Erling Smørgrav_rndc-confgen=		rndc-confgen
237d10a8d6cSRuslan Ermilov.endif
238d10a8d6cSRuslan Ermilov
239e1fe3dbaSRuslan Ermilov.if ${MK_BLUETOOTH} != "no"
24023d1e148SMaksim Yevmenkin_bluetooth=	bluetooth
24123d1e148SMaksim Yevmenkin.endif
24223d1e148SMaksim Yevmenkin
243690f477dSSam Leffler.if ${MK_BSNMP} != "no"
244690f477dSSam Leffler_bsnmpd=	bsnmpd
245d10a8d6cSRuslan Ermilov.endif
246d10a8d6cSRuslan Ermilov
247690f477dSSam Leffler.if ${MK_CTM} != "no"
248690f477dSSam Leffler_ctm=		ctm
249690f477dSSam Leffler.endif
250690f477dSSam Leffler
251690f477dSSam Leffler.if ${MK_FLOPPY} != "no"
252690f477dSSam Leffler_fdcontrol=	fdcontrol
253690f477dSSam Leffler_fdformat=	fdformat
254690f477dSSam Leffler_fdread=	fdread
255690f477dSSam Leffler_fdwrite=	fdwrite
256690f477dSSam Leffler.endif
257690f477dSSam Leffler
258690f477dSSam Leffler.if ${MK_FREEBSD_UPDATE} != "no"
259690f477dSSam Leffler_freebsd-update= freebsd-update
26060ee3847SMax Laier.endif
26160ee3847SMax Laier
262a9148abdSDoug Rabson.if ${MK_GSSAPI} != no
263a9148abdSDoug Rabson_gssd=		gssd
264a9148abdSDoug Rabson.endif
265a9148abdSDoug Rabson
266e1fe3dbaSRuslan Ermilov.if ${MK_INET6} != "no"
267c42d8ce5SYaroslav Tykhiy_faithd=	faithd
268ad4c6857SYaroslav Tykhiy_ip6addrctl=	ip6addrctl
269d10a8d6cSRuslan Ermilov_mld6query=	mld6query
270bc34ace3SYaroslav Tykhiy_ndp=		ndp
271d10a8d6cSRuslan Ermilov_rip6query=	rip6query
272d10a8d6cSRuslan Ermilov_route6d=	route6d
273bc34ace3SYaroslav Tykhiy_rrenumd=	rrenumd
274bc34ace3SYaroslav Tykhiy_rtadvd=	rtadvd
275bc34ace3SYaroslav Tykhiy_rtsold=	rtsold
276d10a8d6cSRuslan Ermilov_traceroute6=	traceroute6
277d10a8d6cSRuslan Ermilov.endif
278d10a8d6cSRuslan Ermilov
279690f477dSSam Leffler.if ${MK_IPFW} != "no"
280690f477dSSam Leffler_ipfwpcap=	ipfwpcap
281690f477dSSam Leffler.endif
282690f477dSSam Leffler
283cea557adSRuslan Ermilov.if ${MK_IPX} != "no"
284cea557adSRuslan Ermilov_IPXrouted=	IPXrouted
285cea557adSRuslan Ermilov.endif
286cea557adSRuslan Ermilov
287690f477dSSam Leffler.if ${MK_JAIL} != "no"
288690f477dSSam Leffler_jail=		jail
28968c870abSAntoine Brodin_jexec=		jexec
290690f477dSSam Leffler_jls=		jls
291690f477dSSam Leffler.endif
292690f477dSSam Leffler
293690f477dSSam Leffler# XXX MK_SYSCONS
294690f477dSSam Leffler# XXX is moused w/ usb useful?
295690f477dSSam Leffler.if ${MK_LEGACY_CONSOLE} != "no"
296690f477dSSam Leffler_kbdcontrol=	kbdcontrol
297690f477dSSam Leffler_kbdmap=	kbdmap
298690f477dSSam Leffler_moused=	moused
299690f477dSSam Leffler_vidcontrol=	vidcontrol
300690f477dSSam Leffler.endif
301690f477dSSam Leffler
3021272ddb2SBjoern A. Zeeb.if ${MK_LIBTHR} != "no" || ${MK_LIBPTHREAD} != "no"
303690f477dSSam Leffler.if ${MK_PPP} != "no"
304690f477dSSam Leffler_pppctl=	pppctl
305690f477dSSam Leffler.endif
306690f477dSSam Leffler.if ${MK_NS_CACHING} != "no"
307690f477dSSam Leffler_nscd=		nscd
308690f477dSSam Leffler.endif
309690f477dSSam Leffler.endif
310690f477dSSam Leffler
311690f477dSSam Leffler.if ${MK_LPR} != "no"
312690f477dSSam Leffler_lpr=		lpr
313690f477dSSam Leffler.endif
314690f477dSSam Leffler
315690f477dSSam Leffler.if ${MK_NETGRAPH} != "no"
316690f477dSSam Leffler_flowctl=	flowctl
317690f477dSSam Leffler_lmcconfig=	lmcconfig
318690f477dSSam Leffler_ngctl=		ngctl
319690f477dSSam Leffler_nghook=	nghook
320690f477dSSam Leffler.endif
321690f477dSSam Leffler
322e1fe3dbaSRuslan Ermilov.if ${MK_NIS} != "no"
3236c58990dSBjoern A. Zeeb_rpc.yppasswdd=	rpc.yppasswdd
3246c58990dSBjoern A. Zeeb_rpc.ypupdated=	rpc.ypupdated
3256c58990dSBjoern A. Zeeb_rpc.ypxfrd=	rpc.ypxfrd
3266c58990dSBjoern A. Zeeb_ypbind=	ypbind
3276c58990dSBjoern A. Zeeb_yp_mkdb=	yp_mkdb
3286c58990dSBjoern A. Zeeb_yppoll=	yppoll
3296c58990dSBjoern A. Zeeb_yppush=	yppush
3306c58990dSBjoern A. Zeeb_ypserv=	ypserv
3316c58990dSBjoern A. Zeeb_ypset=		ypset
3326c58990dSBjoern A. Zeeb.endif
3336c58990dSBjoern A. Zeeb
334690f477dSSam Leffler.if ${MK_NTP} != "no"
335690f477dSSam Leffler_ntp=		ntp
3368d69c48bSMax Laier.endif
3378d69c48bSMax Laier
338690f477dSSam Leffler.if ${MK_OPENSSL} != "no"
339690f477dSSam Leffler_keyserv=	keyserv
340152f2a4aSRuslan Ermilov.endif
341152f2a4aSRuslan Ermilov
342690f477dSSam Leffler.if ${MK_PF} != "no"
343690f477dSSam Leffler_ftp-proxy=	ftp-proxy
3448c0e8d96STim Vanderhoek.endif
3458c0e8d96STim Vanderhoek
346690f477dSSam Leffler.if ${MK_PKGTOOLS} != "no"
347690f477dSSam Leffler_pkg_install=	pkg_install
3488af480aeSRuslan Ermilov.endif
349690f477dSSam Leffler
350690f477dSSam Leffler# XXX MK_TOOLCHAIN?
351690f477dSSam Leffler.if ${MK_PMC} != "no"
3521b4822a4SAttilio Rao_pmcannotate=	pmcannotate
353690f477dSSam Leffler_pmccontrol=	pmccontrol
354690f477dSSam Leffler_pmcstat=	pmcstat
355690f477dSSam Leffler.endif
356690f477dSSam Leffler
357690f477dSSam Leffler.if ${MK_PORTSNAP} != "no"
358690f477dSSam Leffler_portsnap=	portsnap
359690f477dSSam Leffler.endif
360690f477dSSam Leffler
361690f477dSSam Leffler.if ${MK_PPP} != "no"
362690f477dSSam Leffler_ppp=		ppp
363690f477dSSam Leffler#_pppctl handled below
364690f477dSSam Leffler.endif
365690f477dSSam Leffler
366690f477dSSam Leffler.if ${MK_QUOTAS} != "no"
367690f477dSSam Leffler_edquota=	edquota
368690f477dSSam Leffler_quotaon=	quotaon
369690f477dSSam Leffler_repquota=	repquota
370690f477dSSam Leffler.endif
371690f477dSSam Leffler
372690f477dSSam Leffler.if ${MK_RCMDS} != "no"
373690f477dSSam Leffler_rwhod=		rwhod
3748af480aeSRuslan Ermilov.endif
3758af480aeSRuslan Ermilov
376e1fe3dbaSRuslan Ermilov.if ${MK_SENDMAIL} != "no"
377d10a8d6cSRuslan Ermilov_editmap=	editmap
378d10a8d6cSRuslan Ermilov_mailstats=	mailstats
379d10a8d6cSRuslan Ermilov_makemap=	makemap
380d10a8d6cSRuslan Ermilov_praliases=	praliases
381d10a8d6cSRuslan Ermilov_sendmail=	sendmail
3825a85f025SPoul-Henning Kamp.endif
3835a85f025SPoul-Henning Kamp
384690f477dSSam Leffler.if ${MK_SYSINSTALL} != "no"
3852110f388SMarius Strobl.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" || \
3862110f388SMarius Strobl    ${MACHINE_ARCH} == "sparc64"
387690f477dSSam Leffler_sade=		sade
3880d44ba5dSMarcel Moolenaar.endif
389690f477dSSam Leffler.if ${MACHINE_ARCH} != "arm" && ${MACHINE_ARCH} != "mips"
390690f477dSSam Leffler_sysinstall=	sysinstall
391690f477dSSam Leffler.endif
392690f477dSSam Leffler.endif
393690f477dSSam Leffler
394690f477dSSam Leffler.if ${MK_TOOLCHAIN} != "no"
395690f477dSSam Leffler_config=	config
396690f477dSSam Leffler_crunch=	crunch
397690f477dSSam Leffler.endif
398690f477dSSam Leffler
399e1fe3dbaSRuslan Ermilov.if ${MK_USB} != "no"
400f561843cSWeongyo Jeong_uathload=	uathload
4013975e3a1SAndrew Thompson#_usbdevs=	usbdevs
4026f0e1ffdSAlfred Perlstein_usbconfig=	usbconfig
4032b51223fSStefan Eßer.endif
4042b51223fSStefan Eßer
405690f477dSSam Leffler.if ${MK_WIRELESS} != "no"
406690f477dSSam Leffler_ancontrol=	ancontrol
407690f477dSSam Leffler_raycontrol=	raycontrol
408690f477dSSam Leffler_wlandebug=	wlandebug
409690f477dSSam Leffler_wpa=		wpa
410690f477dSSam Leffler.endif
411690f477dSSam Leffler
41257628e38SOlivier Houchard.if ${MACHINE_ARCH} == "arm"
41357628e38SOlivier Houchard_kgmon=		kgmon
41457628e38SOlivier Houchard.endif
41557628e38SOlivier Houchard
4161a1536c1SJohn Birrell.if ${MACHINE_ARCH} == "i386"
417690f477dSSam Leffler.if ${MK_APM} != "no"
418d10a8d6cSRuslan Ermilov_apm=		apm
419d10a8d6cSRuslan Ermilov_apmd=		apmd
420690f477dSSam Leffler.endif
421d10a8d6cSRuslan Ermilov_asf=		asf
422690f477dSSam Leffler.if ${MK_TOOLCHAIN} != "no"
423d10a8d6cSRuslan Ermilov_btxld=		btxld
424690f477dSSam Leffler.endif
425e085f869SStanislav Sedov_cpucontrol=	cpucontrol
426d10a8d6cSRuslan Ermilov_kgmon=		kgmon
427d10a8d6cSRuslan Ermilov_kgzip=		kgzip
428d10a8d6cSRuslan Ermilov_lptcontrol=	lptcontrol
429cea557adSRuslan Ermilov.if ${MK_NCP} != "no"
430d10a8d6cSRuslan Ermilov_mount_nwfs=	mount_nwfs
431cea557adSRuslan Ermilov.endif
432d10a8d6cSRuslan Ermilov_mount_smbfs=	mount_smbfs
433d10a8d6cSRuslan Ermilov_mptable=	mptable
434690f477dSSam Leffler.if ${MK_NDIS} != "no"
435d10a8d6cSRuslan Ermilov_ndiscvt=	ndiscvt
436690f477dSSam Leffler.endif
437d10a8d6cSRuslan Ermilov_pnpinfo=	pnpinfo
43879e295e8SPoul-Henning Kamp_sicontrol=	sicontrol
439d10a8d6cSRuslan Ermilov_spkrtest=	spkrtest
440d10a8d6cSRuslan Ermilov_zzz=		zzz
441f8eecc08SWarner Losh.if ${MACHINE} == "i386"
442e1fe3dbaSRuslan Ermilov.if ${MK_ACPI} != "no"
443f8eecc08SWarner Losh_acpi=		acpi
444f8eecc08SWarner Losh.endif
445f8eecc08SWarner Losh_boot0cfg=	boot0cfg
446690f477dSSam Leffler.if ${MK_WIRELESS} != "no"
447f8eecc08SWarner Losh_wlconfig=	wlconfig
448690f477dSSam Leffler.endif
449f8eecc08SWarner Losh.elif ${MACHINE} == "pc98"
450f8eecc08SWarner Losh_boot98cfg=	boot98cfg
451f8eecc08SWarner Losh.endif
452f3bb47ccSRuslan Ermilov.endif
4533bc2f9a8SPoul-Henning Kamp
45419f2b0e8SPeter Wemm# kgzip: builds, but missing support files
45519f2b0e8SPeter Wemm# mptable: broken (not 64 bit clean)
45619f2b0e8SPeter Wemm# pnpinfo: crashes (not really useful anyway)
457a6f4ec06SPeter Wemm.if ${MACHINE_ARCH} == "amd64"
458e1fe3dbaSRuslan Ermilov.if ${MK_ACPI} != "no"
459d10a8d6cSRuslan Ermilov_acpi=		acpi
460d10a8d6cSRuslan Ermilov.endif
461d10a8d6cSRuslan Ermilov_asf=		asf
462d10a8d6cSRuslan Ermilov_boot0cfg=	boot0cfg
463690f477dSSam Leffler.if ${MK_TOOLCHAIN} != "no"
464d10a8d6cSRuslan Ermilov_btxld=		btxld
465690f477dSSam Leffler.endif
466e085f869SStanislav Sedov_cpucontrol=	cpucontrol
467be8282baSBruce Evans_kgmon=		kgmon
468d10a8d6cSRuslan Ermilov_lptcontrol=	lptcontrol
469cea557adSRuslan Ermilov.if ${MK_NCP} != "no"
470d10a8d6cSRuslan Ermilov_mount_nwfs=	mount_nwfs
471cea557adSRuslan Ermilov.endif
472d10a8d6cSRuslan Ermilov_mount_smbfs=	mount_smbfs
473d10a8d6cSRuslan Ermilov_mptable=	mptable
474690f477dSSam Leffler.if ${MK_NDIS} != "no"
4754e012474SBill Paul_ndiscvt=	ndiscvt
476690f477dSSam Leffler.endif
47779e295e8SPoul-Henning Kamp_sicontrol=	sicontrol
478d10a8d6cSRuslan Ermilov_spkrtest=	spkrtest
479d10a8d6cSRuslan Ermilov_zzz=		zzz
480a6f4ec06SPeter Wemm.endif
481a6f4ec06SPeter Wemm
482d10a8d6cSRuslan Ermilov.if ${MACHINE_ARCH} == "ia64"
483e1fe3dbaSRuslan Ermilov.if ${MK_ACPI} != "no"
484d10a8d6cSRuslan Ermilov_acpi=		acpi
485c7961209SKATO Takenori.endif
486fb35b471SMarcel Moolenaar_kgmon=		kgmon
487a1800335SMarcel Moolenaar_mount_smbfs=	mount_smbfs
488d10a8d6cSRuslan Ermilov_zzz=		zzz
4896a70fca0SKATO Takenori.endif
490c7961209SKATO Takenori
49159fa7082SR. Imura.if ${MACHINE_ARCH} == "powerpc"
49259fa7082SR. Imura_mount_smbfs=	mount_smbfs
493e5d34218SMaxim Sobolev_nvram=		nvram
494104954feSPeter Grehan_ofwdump=	ofwdump
49559fa7082SR. Imura.endif
49659fa7082SR. Imura
4976f6ede92SThomas Moestl.if ${MACHINE_ARCH} == "sparc64"
498156e1decSMarius Strobl_eeprom=	eeprom
499d10a8d6cSRuslan Ermilov_ofwdump=	ofwdump
500a8ec1b48SMaxim Sobolev.endif
501a8ec1b48SMaxim Sobolev
502dea673e9SRodney W. Grimes.include <bsd.subdir.mk>
503