xref: /freebsd/usr.sbin/Makefile (revision 68c870abb7d0451ba3460429c16cb89177119250)
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} \
48d10a8d6cSRuslan Ermilov	${_editmap} \
49690f477dSSam Leffler	${_edquota} \
50156e1decSMarius Strobl	${_eeprom} \
51caefa400SPoul-Henning Kamp	extattr \
529754f5b6SRobert Watson	extattrctl \
53c42d8ce5SYaroslav Tykhiy	${_faithd} \
54690f477dSSam Leffler	${_fdcontrol} \
55690f477dSSam Leffler	${_fdformat} \
56690f477dSSam Leffler	${_fdread} \
57690f477dSSam Leffler	${_fdwrite} \
587825a6bdSPoul-Henning Kamp	fifolog \
59690f477dSSam Leffler	${_flowctl} \
60690f477dSSam Leffler	${_freebsd-update} \
6160ee3847SMax Laier	${_ftp-proxy} \
62a7a73b95SHidetoshi Shimokawa	fwcontrol \
635b38a427SRobert Watson	getfmac \
645b38a427SRobert Watson	getpmac \
6554a8adabSPoul-Henning Kamp	gstat \
66123689d3SYoshinobu Inoue	ifmcstat \
670451ac36SGary Palmer	inetd \
685c9036d5SDima Ruban	iostat \
69ad4c6857SYaroslav Tykhiy	${_ip6addrctl} \
70690f477dSSam Leffler	${_ipfwpcap} \
71cea557adSRuslan Ermilov	${_IPXrouted} \
72690f477dSSam Leffler	${_jail} \
73690f477dSSam Leffler	${_jexec} \
74690f477dSSam Leffler	${_jls} \
75690f477dSSam Leffler	${_kbdcontrol} \
76690f477dSSam Leffler	${_kbdmap} \
77d10a8d6cSRuslan Ermilov	${_keyserv} \
78d10a8d6cSRuslan Ermilov	${_kgmon} \
79d10a8d6cSRuslan Ermilov	${_kgzip} \
809c6f9240SPeter Wemm	kldxref \
81b3b01ff3SRuslan Ermilov	lastlogin \
82690f477dSSam Leffler	${_lmcconfig} \
83d10a8d6cSRuslan Ermilov	${_lpr} \
84d10a8d6cSRuslan Ermilov	${_lptcontrol} \
85d10a8d6cSRuslan Ermilov	${_mailstats} \
86cccce27aSPeter Wemm	mailwrapper \
87d10a8d6cSRuslan Ermilov	${_makemap} \
880451ac36SGary Palmer	manctl \
890adc9d60SMike Smith	memcontrol \
9024ff9bb5SBill Fumerola	mergemaster \
91c7805c63SDoug Rabson	mixer \
92d10a8d6cSRuslan Ermilov	${_mld6query} \
93f6f23e2cSMike Smith	mlxcontrol \
948f40768aSGordon Tetlow	mountd \
95d10a8d6cSRuslan Ermilov	${_mount_nwfs} \
96d10a8d6cSRuslan Ermilov	mount_portalfs \
97d10a8d6cSRuslan Ermilov	${_mount_smbfs} \
98690f477dSSam Leffler	${_moused} \
99d10a8d6cSRuslan Ermilov	${_mptable} \
1000451ac36SGary Palmer	mtest \
1010451ac36SGary Palmer	mtree \
102d10a8d6cSRuslan Ermilov	${_named} \
103cd3ee173SDag-Erling Smørgrav	${_named-checkconf} \
104cd3ee173SDag-Erling Smørgrav	${_named-checkzone} \
105161a5ba8SRuslan Ermilov	${_named.reload} \
106d10a8d6cSRuslan Ermilov	${_ndiscvt} \
107bc34ace3SYaroslav Tykhiy	${_ndp} \
1080451ac36SGary Palmer	newsyslog \
1098f40768aSGordon Tetlow	nfsd \
110690f477dSSam Leffler	${_ngctl} \
111690f477dSSam Leffler	${_nghook} \
1125de697a6SColin Percival	nologin \
113c97fe77dSMichael Bushkov	${_nscd} \
114690f477dSSam Leffler	${_ntp} \
115e5d34218SMaxim Sobolev	${_nvram} \
116d10a8d6cSRuslan Ermilov	${_ofwdump} \
117a8a3bce9SWarner Losh	pccard \
1180451ac36SGary Palmer	pciconf \
1190451ac36SGary Palmer	periodic \
120690f477dSSam Leffler	${_pkg_install} \
121690f477dSSam Leffler	${_pmccontrol} \
122690f477dSSam Leffler	${_pmcstat} \
123d10a8d6cSRuslan Ermilov	${_pnpinfo} \
124690f477dSSam Leffler	${_portsnap} \
125c3c5f9cdSNate Lawson	powerd \
126690f477dSSam Leffler	${_ppp} \
127d10a8d6cSRuslan Ermilov	${_pppctl} \
128690f477dSSam Leffler	${_pppd} \
129690f477dSSam Leffler	${_pppstats} \
130d10a8d6cSRuslan Ermilov	${_praliases} \
1316470320fSRobert Watson	${_praudit} \
1320451ac36SGary Palmer	procctl \
1330451ac36SGary Palmer	pstat \
1340451ac36SGary Palmer	pw \
1350451ac36SGary Palmer	pwd_mkdb \
1360451ac36SGary Palmer	quot \
137690f477dSSam Leffler	${_quotaon} \
1380451ac36SGary Palmer	rarpd \
139690f477dSSam Leffler	${_raycontrol} \
140690f477dSSam Leffler	${_repquota} \
141d10a8d6cSRuslan Ermilov	${_rip6query} \
1420451ac36SGary Palmer	rmt \
143cd3ee173SDag-Erling Smørgrav	${_rndc} \
144cd3ee173SDag-Erling Smørgrav	${_rndc-confgen} \
145d10a8d6cSRuslan Ermilov	${_route6d} \
1468360efbdSAlfred Perlstein	rpcbind \
1470451ac36SGary Palmer	rpc.lockd \
1480451ac36SGary Palmer	rpc.statd \
149c69a34d4SMatthew Dillon	rpc.umntall \
1506c58990dSBjoern A. Zeeb	${_rpc.yppasswdd} \
1516c58990dSBjoern A. Zeeb	${_rpc.ypupdated} \
1526c58990dSBjoern A. Zeeb	${_rpc.ypxfrd} \
153bc34ace3SYaroslav Tykhiy	${_rrenumd} \
154bc34ace3SYaroslav Tykhiy	${_rtadvd} \
1555c9036d5SDima Ruban	rtprio \
156bc34ace3SYaroslav Tykhiy	${_rtsold} \
157690f477dSSam Leffler	${_rwhod} \
158690f477dSSam Leffler	${_sa} \
15942f17e8cSMarcel Moolenaar	${_sade} \
160d10a8d6cSRuslan Ermilov	${_sendmail} \
161108e8dd9SJulian Elischer	setfib \
1625b38a427SRobert Watson	setfmac \
1635b38a427SRobert Watson	setpmac \
164d10a8d6cSRuslan Ermilov	${_sicontrol} \
165690f477dSSam Leffler	${_sliplogin} \
166690f477dSSam Leffler	${_slstat} \
16780cdf39aSJoerg Wunsch	smbmsg \
1688f61cf9cSMark Santcroos	snapinfo \
169d10a8d6cSRuslan Ermilov	${_spkrtest} \
1700451ac36SGary Palmer	spray \
1710bc81187SDavid E. O'Brien	${_sysinstall} \
1720451ac36SGary Palmer	syslogd \
1738d4b20e3SMark Murray	tcpdchk \
1748d4b20e3SMark Murray	tcpdmatch \
175212a79b0SMaxim Konovalov	tcpdrop \
1760acc1823SDavid E. O'Brien	tcpdump \
1770451ac36SGary Palmer	timed \
1780451ac36SGary Palmer	traceroute \
179d10a8d6cSRuslan Ermilov	${_traceroute6} \
1800451ac36SGary Palmer	trpt \
1810451ac36SGary Palmer	tzsetup \
18234d26f04SRobert Watson	ugidfw \
183d10a8d6cSRuslan Ermilov	${_usbdevs} \
184690f477dSSam Leffler	${_vidcontrol} \
1850451ac36SGary Palmer	vipw \
1860451ac36SGary Palmer	watch \
187370c3cb5SSean Kelly	watchdogd \
188690f477dSSam Leffler	${_wlandebug} \
189d10a8d6cSRuslan Ermilov	${_wlconfig} \
190690f477dSSam Leffler	${_wpa} \
1916c58990dSBjoern A. Zeeb	${_ypbind} \
1926c58990dSBjoern A. Zeeb	${_yp_mkdb} \
1936c58990dSBjoern A. Zeeb	${_yppoll} \
1946c58990dSBjoern A. Zeeb	${_yppush} \
1956c58990dSBjoern A. Zeeb	${_ypserv} \
1966c58990dSBjoern A. Zeeb	${_ypset} \
197d10a8d6cSRuslan Ermilov	zic \
198d10a8d6cSRuslan Ermilov	${_zzz}
199d10a8d6cSRuslan Ermilov
200690f477dSSam Leffler# NB: keep these sorted by MK_* knobs
201690f477dSSam Leffler
202690f477dSSam Leffler.if ${MK_ACCT} != "no"
203690f477dSSam Leffler_ac=		ac
204690f477dSSam Leffler_accton=	accton
205690f477dSSam Leffler_sa=		sa
206690f477dSSam Leffler.endif
207690f477dSSam Leffler
208690f477dSSam Leffler.if ${MK_AMD} != "no"
209690f477dSSam Leffler_amd=		amd
210d10a8d6cSRuslan Ermilov.endif
2115021f740SPeter Wemm
212e1fe3dbaSRuslan Ermilov.if ${MK_AUDIT} != "no"
2136470320fSRobert Watson_audit= 	audit
2146470320fSRobert Watson_auditd=	auditd
2156470320fSRobert Watson_auditreduce=	auditreduce
2166470320fSRobert Watson_praudit=	praudit
2176470320fSRobert Watson.endif
2186470320fSRobert Watson
219690f477dSSam Leffler.if ${MK_AUTHPF} != "no"
220690f477dSSam Leffler_authpf=	authpf
221690f477dSSam Leffler.endif
222690f477dSSam Leffler
223e1fe3dbaSRuslan Ermilov.if ${MK_BIND_DNSSEC} != "no" && ${MK_OPENSSL} != "no"
22411d9d041SDag-Erling Smørgrav_dnssec-keygen=		dnssec-keygen
22511d9d041SDag-Erling Smørgrav_dnssec-signzone=	dnssec-signzone
22611d9d041SDag-Erling Smørgrav.endif
227e1fe3dbaSRuslan Ermilov.if ${MK_BIND_NAMED} != "no"
228d10a8d6cSRuslan Ermilov_named=			named
229cd3ee173SDag-Erling Smørgrav_named-checkconf=	named-checkconf
230cd3ee173SDag-Erling Smørgrav_named-checkzone=	named-checkzone
231161a5ba8SRuslan Ermilov_named.reload=		named.reload
232cd3ee173SDag-Erling Smørgrav_rndc=			rndc
233cd3ee173SDag-Erling Smørgrav_rndc-confgen=		rndc-confgen
234d10a8d6cSRuslan Ermilov.endif
235d10a8d6cSRuslan Ermilov
236e1fe3dbaSRuslan Ermilov.if ${MK_BLUETOOTH} != "no"
23723d1e148SMaksim Yevmenkin_bluetooth=	bluetooth
23823d1e148SMaksim Yevmenkin.endif
23923d1e148SMaksim Yevmenkin
240690f477dSSam Leffler.if ${MK_BSNMP} != "no"
241690f477dSSam Leffler_bsnmpd=	bsnmpd
242d10a8d6cSRuslan Ermilov.endif
243d10a8d6cSRuslan Ermilov
244690f477dSSam Leffler.if ${MK_CTM} != "no"
245690f477dSSam Leffler_ctm=		ctm
246690f477dSSam Leffler.endif
247690f477dSSam Leffler
248690f477dSSam Leffler.if ${MK_FLOPPY} != "no"
249690f477dSSam Leffler_fdcontrol=	fdcontrol
250690f477dSSam Leffler_fdformat=	fdformat
251690f477dSSam Leffler_fdread=	fdread
252690f477dSSam Leffler_fdwrite=	fdwrite
253690f477dSSam Leffler.endif
254690f477dSSam Leffler
255690f477dSSam Leffler.if ${MK_FREEBSD_UPDATE} != "no"
256690f477dSSam Leffler_freebsd-update= freebsd-update
25760ee3847SMax Laier.endif
25860ee3847SMax Laier
259e1fe3dbaSRuslan Ermilov.if ${MK_INET6} != "no"
260c42d8ce5SYaroslav Tykhiy_faithd=	faithd
261ad4c6857SYaroslav Tykhiy_ip6addrctl=	ip6addrctl
262d10a8d6cSRuslan Ermilov_mld6query=	mld6query
263bc34ace3SYaroslav Tykhiy_ndp=		ndp
264d10a8d6cSRuslan Ermilov_rip6query=	rip6query
265d10a8d6cSRuslan Ermilov_route6d=	route6d
266bc34ace3SYaroslav Tykhiy_rrenumd=	rrenumd
267bc34ace3SYaroslav Tykhiy_rtadvd=	rtadvd
268bc34ace3SYaroslav Tykhiy_rtsold=	rtsold
269d10a8d6cSRuslan Ermilov_traceroute6=	traceroute6
270d10a8d6cSRuslan Ermilov.endif
271d10a8d6cSRuslan Ermilov
272690f477dSSam Leffler.if ${MK_IPFW} != "no"
273690f477dSSam Leffler_ipfwpcap=	ipfwpcap
274690f477dSSam Leffler.endif
275690f477dSSam Leffler
276cea557adSRuslan Ermilov.if ${MK_IPX} != "no"
277cea557adSRuslan Ermilov_IPXrouted=	IPXrouted
278cea557adSRuslan Ermilov.endif
279cea557adSRuslan Ermilov
280690f477dSSam Leffler.if ${MK_JAIL} != "no"
281690f477dSSam Leffler_jail=		jail
28268c870abSAntoine Brodin_jexec=		jexec
283690f477dSSam Leffler_jls=		jls
284690f477dSSam Leffler.endif
285690f477dSSam Leffler
286690f477dSSam Leffler# XXX MK_SYSCONS
287690f477dSSam Leffler# XXX is moused w/ usb useful?
288690f477dSSam Leffler.if ${MK_LEGACY_CONSOLE} != "no"
289690f477dSSam Leffler_kbdcontrol=	kbdcontrol
290690f477dSSam Leffler_kbdmap=	kbdmap
291690f477dSSam Leffler_moused=	moused
292690f477dSSam Leffler_vidcontrol=	vidcontrol
293690f477dSSam Leffler.endif
294690f477dSSam Leffler
295690f477dSSam Leffler.if ${MK_LIBTHR} != "no" || ${MK_LIBKSE} != "no"
296690f477dSSam Leffler.if ${MK_PPP} != "no"
297690f477dSSam Leffler_pppctl=	pppctl
298690f477dSSam Leffler.endif
299690f477dSSam Leffler.if ${MK_NS_CACHING} != "no"
300690f477dSSam Leffler_nscd=		nscd
301690f477dSSam Leffler.endif
302690f477dSSam Leffler.endif
303690f477dSSam Leffler
304690f477dSSam Leffler.if ${MK_LPR} != "no"
305690f477dSSam Leffler_lpr=		lpr
306690f477dSSam Leffler.endif
307690f477dSSam Leffler
308690f477dSSam Leffler.if ${MK_NETGRAPH} != "no"
309690f477dSSam Leffler_flowctl=	flowctl
310690f477dSSam Leffler_lmcconfig=	lmcconfig
311690f477dSSam Leffler_ngctl=		ngctl
312690f477dSSam Leffler_nghook=	nghook
313690f477dSSam Leffler.endif
314690f477dSSam Leffler
315e1fe3dbaSRuslan Ermilov.if ${MK_NIS} != "no"
3166c58990dSBjoern A. Zeeb_rpc.yppasswdd=	rpc.yppasswdd
3176c58990dSBjoern A. Zeeb_rpc.ypupdated=	rpc.ypupdated
3186c58990dSBjoern A. Zeeb_rpc.ypxfrd=	rpc.ypxfrd
3196c58990dSBjoern A. Zeeb_ypbind=	ypbind
3206c58990dSBjoern A. Zeeb_yp_mkdb=	yp_mkdb
3216c58990dSBjoern A. Zeeb_yppoll=	yppoll
3226c58990dSBjoern A. Zeeb_yppush=	yppush
3236c58990dSBjoern A. Zeeb_ypserv=	ypserv
3246c58990dSBjoern A. Zeeb_ypset=		ypset
3256c58990dSBjoern A. Zeeb.endif
3266c58990dSBjoern A. Zeeb
327690f477dSSam Leffler.if ${MK_NTP} != "no"
328690f477dSSam Leffler_ntp=		ntp
3298d69c48bSMax Laier.endif
3308d69c48bSMax Laier
331690f477dSSam Leffler.if ${MK_OPENSSL} != "no"
332690f477dSSam Leffler_keyserv=	keyserv
333152f2a4aSRuslan Ermilov.endif
334152f2a4aSRuslan Ermilov
335690f477dSSam Leffler.if ${MK_PF} != "no"
336690f477dSSam Leffler_ftp-proxy=	ftp-proxy
3378c0e8d96STim Vanderhoek.endif
3388c0e8d96STim Vanderhoek
339690f477dSSam Leffler.if ${MK_PKGTOOLS} != "no"
340690f477dSSam Leffler_pkg_install=	pkg_install
3418af480aeSRuslan Ermilov.endif
342690f477dSSam Leffler
343690f477dSSam Leffler# XXX MK_TOOLCHAIN?
344690f477dSSam Leffler.if ${MK_PMC} != "no"
345690f477dSSam Leffler_pmccontrol=	pmccontrol
346690f477dSSam Leffler_pmcstat=	pmcstat
347690f477dSSam Leffler.endif
348690f477dSSam Leffler
349690f477dSSam Leffler.if ${MK_PORTSNAP} != "no"
350690f477dSSam Leffler_portsnap=	portsnap
351690f477dSSam Leffler.endif
352690f477dSSam Leffler
353690f477dSSam Leffler.if ${MK_PPP} != "no"
354690f477dSSam Leffler_ppp=		ppp
355690f477dSSam Leffler#_pppctl handled below
356690f477dSSam Leffler_pppd=		pppd
357690f477dSSam Leffler_pppstats=	pppstats
358690f477dSSam Leffler.endif
359690f477dSSam Leffler
360690f477dSSam Leffler.if ${MK_QUOTAS} != "no"
361690f477dSSam Leffler_edquota=	edquota
362690f477dSSam Leffler_quotaon=	quotaon
363690f477dSSam Leffler_repquota=	repquota
364690f477dSSam Leffler.endif
365690f477dSSam Leffler
366690f477dSSam Leffler.if ${MK_RCMDS} != "no"
367690f477dSSam Leffler_rwhod=		rwhod
3688af480aeSRuslan Ermilov.endif
3698af480aeSRuslan Ermilov
370e1fe3dbaSRuslan Ermilov.if ${MK_SENDMAIL} != "no"
371d10a8d6cSRuslan Ermilov_editmap=	editmap
372d10a8d6cSRuslan Ermilov_mailstats=	mailstats
373d10a8d6cSRuslan Ermilov_makemap=	makemap
374d10a8d6cSRuslan Ermilov_praliases=	praliases
375d10a8d6cSRuslan Ermilov_sendmail=	sendmail
3765a85f025SPoul-Henning Kamp.endif
3775a85f025SPoul-Henning Kamp
378690f477dSSam Leffler.if ${MK_SLIP} != "no"
379690f477dSSam Leffler_sliplogin=	sliplogin
38068c870abSAntoine Brodin_slstat=	slstat
381690f477dSSam Leffler.endif
382690f477dSSam Leffler
383690f477dSSam Leffler.if ${MK_SYSINSTALL} != "no"
3840d44ba5dSMarcel Moolenaar.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386"
385690f477dSSam Leffler_sade=		sade
3860d44ba5dSMarcel Moolenaar.endif
387690f477dSSam Leffler.if ${MACHINE_ARCH} != "arm" && ${MACHINE_ARCH} != "mips"
388690f477dSSam Leffler_sysinstall=	sysinstall
389690f477dSSam Leffler.endif
390690f477dSSam Leffler.endif
391690f477dSSam Leffler
392690f477dSSam Leffler.if ${MK_TOOLCHAIN} != "no"
393690f477dSSam Leffler_config=	config
394690f477dSSam Leffler_crunch=	crunch
395690f477dSSam Leffler.endif
396690f477dSSam Leffler
397e1fe3dbaSRuslan Ermilov.if ${MK_USB} != "no"
398d10a8d6cSRuslan Ermilov_usbdevs=	usbdevs
3992b51223fSStefan Eßer.endif
4002b51223fSStefan Eßer
401690f477dSSam Leffler.if ${MK_WIRELESS} != "no"
402690f477dSSam Leffler_ancontrol=	ancontrol
403690f477dSSam Leffler_raycontrol=	raycontrol
404690f477dSSam Leffler_wlandebug=	wlandebug
405690f477dSSam Leffler_wpa=		wpa
406690f477dSSam Leffler.endif
407690f477dSSam Leffler
40857628e38SOlivier Houchard.if ${MACHINE_ARCH} == "arm"
40957628e38SOlivier Houchard_kgmon=		kgmon
41057628e38SOlivier Houchard.endif
41157628e38SOlivier Houchard
4121a1536c1SJohn Birrell.if ${MACHINE_ARCH} == "i386"
413690f477dSSam Leffler.if ${MK_APM} != "no"
414d10a8d6cSRuslan Ermilov_apm=		apm
415d10a8d6cSRuslan Ermilov_apmd=		apmd
416690f477dSSam Leffler.endif
417d10a8d6cSRuslan Ermilov_asf=		asf
418690f477dSSam Leffler.if ${MK_TOOLCHAIN} != "no"
419d10a8d6cSRuslan Ermilov_btxld=		btxld
420690f477dSSam Leffler.endif
421e085f869SStanislav Sedov_cpucontrol=	cpucontrol
422d10a8d6cSRuslan Ermilov_kgmon=		kgmon
423d10a8d6cSRuslan Ermilov_kgzip=		kgzip
424d10a8d6cSRuslan Ermilov_lptcontrol=	lptcontrol
425cea557adSRuslan Ermilov.if ${MK_NCP} != "no"
426d10a8d6cSRuslan Ermilov_mount_nwfs=	mount_nwfs
427cea557adSRuslan Ermilov.endif
428d10a8d6cSRuslan Ermilov_mount_smbfs=	mount_smbfs
429d10a8d6cSRuslan Ermilov_mptable=	mptable
430690f477dSSam Leffler.if ${MK_NDIS} != "no"
431d10a8d6cSRuslan Ermilov_ndiscvt=	ndiscvt
432690f477dSSam Leffler.endif
433d10a8d6cSRuslan Ermilov_pnpinfo=	pnpinfo
43479e295e8SPoul-Henning Kamp_sicontrol=	sicontrol
435d10a8d6cSRuslan Ermilov_spkrtest=	spkrtest
436d10a8d6cSRuslan Ermilov_zzz=		zzz
437f8eecc08SWarner Losh.if ${MACHINE} == "i386"
438e1fe3dbaSRuslan Ermilov.if ${MK_ACPI} != "no"
439f8eecc08SWarner Losh_acpi=		acpi
440f8eecc08SWarner Losh.endif
441f8eecc08SWarner Losh_boot0cfg=	boot0cfg
442690f477dSSam Leffler.if ${MK_WIRELESS} != "no"
443f8eecc08SWarner Losh_wlconfig=	wlconfig
444690f477dSSam Leffler.endif
445f8eecc08SWarner Losh.elif ${MACHINE} == "pc98"
446f8eecc08SWarner Losh_boot98cfg=	boot98cfg
447f8eecc08SWarner Losh.endif
448f3bb47ccSRuslan Ermilov.endif
4493bc2f9a8SPoul-Henning Kamp
45019f2b0e8SPeter Wemm# kgzip: builds, but missing support files
45119f2b0e8SPeter Wemm# mptable: broken (not 64 bit clean)
45219f2b0e8SPeter Wemm# pnpinfo: crashes (not really useful anyway)
453a6f4ec06SPeter Wemm.if ${MACHINE_ARCH} == "amd64"
454e1fe3dbaSRuslan Ermilov.if ${MK_ACPI} != "no"
455d10a8d6cSRuslan Ermilov_acpi=		acpi
456d10a8d6cSRuslan Ermilov.endif
457d10a8d6cSRuslan Ermilov_asf=		asf
458d10a8d6cSRuslan Ermilov_boot0cfg=	boot0cfg
459690f477dSSam Leffler.if ${MK_TOOLCHAIN} != "no"
460d10a8d6cSRuslan Ermilov_btxld=		btxld
461690f477dSSam Leffler.endif
462e085f869SStanislav Sedov_cpucontrol=	cpucontrol
463be8282baSBruce Evans_kgmon=		kgmon
464d10a8d6cSRuslan Ermilov_lptcontrol=	lptcontrol
465cea557adSRuslan Ermilov.if ${MK_NCP} != "no"
466d10a8d6cSRuslan Ermilov_mount_nwfs=	mount_nwfs
467cea557adSRuslan Ermilov.endif
468d10a8d6cSRuslan Ermilov_mount_smbfs=	mount_smbfs
469d10a8d6cSRuslan Ermilov_mptable=	mptable
470690f477dSSam Leffler.if ${MK_NDIS} != "no"
4714e012474SBill Paul_ndiscvt=	ndiscvt
472690f477dSSam Leffler.endif
47379e295e8SPoul-Henning Kamp_sicontrol=	sicontrol
474d10a8d6cSRuslan Ermilov_spkrtest=	spkrtest
475d10a8d6cSRuslan Ermilov_zzz=		zzz
476a6f4ec06SPeter Wemm.endif
477a6f4ec06SPeter Wemm
478d10a8d6cSRuslan Ermilov.if ${MACHINE_ARCH} == "ia64"
479e1fe3dbaSRuslan Ermilov.if ${MK_ACPI} != "no"
480d10a8d6cSRuslan Ermilov_acpi=		acpi
481c7961209SKATO Takenori.endif
482fb35b471SMarcel Moolenaar_kgmon=		kgmon
483a1800335SMarcel Moolenaar_mount_smbfs=	mount_smbfs
484d10a8d6cSRuslan Ermilov_zzz=		zzz
4856a70fca0SKATO Takenori.endif
486c7961209SKATO Takenori
48759fa7082SR. Imura.if ${MACHINE_ARCH} == "powerpc"
48859fa7082SR. Imura_mount_smbfs=	mount_smbfs
489e5d34218SMaxim Sobolev_nvram=		nvram
490104954feSPeter Grehan_ofwdump=	ofwdump
49159fa7082SR. Imura.endif
49259fa7082SR. Imura
4936f6ede92SThomas Moestl.if ${MACHINE_ARCH} == "sparc64"
494156e1decSMarius Strobl_eeprom=	eeprom
495d10a8d6cSRuslan Ermilov_ofwdump=	ofwdump
496a8ec1b48SMaxim Sobolev.endif
497a8ec1b48SMaxim Sobolev
498dea673e9SRodney W. Grimes.include <bsd.subdir.mk>
499