xref: /freebsd/usr.sbin/Makefile (revision 6c58990d4782600a6f5fc5ce9fc0ef48bd9cc001)
1886e832bSGarrett Wollman#	From: @(#)Makefile	5.20 (Berkeley) 6/12/93
297d92980SPeter Wemm# $FreeBSD$
3dea673e9SRodney W. Grimes
478eb91b4SDavid Greenman# XXX MISSING:		mkproto
593970e26SRuslan ErmilovSUBDIR=	ac \
60451ac36SGary Palmer	accton \
7d10a8d6cSRuslan Ermilov	${_acpi} \
80451ac36SGary Palmer	adduser \
90451ac36SGary Palmer	amd \
10261b9b30SBill Paul	ancontrol \
11d10a8d6cSRuslan Ermilov	${_apm} \
12d10a8d6cSRuslan Ermilov	${_apmd} \
13a5663451SMax Khon	${_arlcontrol} \
140451ac36SGary Palmer	arp \
15d10a8d6cSRuslan Ermilov	${_asf} \
16d10a8d6cSRuslan Ermilov	${_atm} \
178d69c48bSMax Laier	${_authpf} \
18d10a8d6cSRuslan Ermilov	${_bluetooth} \
19d10a8d6cSRuslan Ermilov	${_boot0cfg} \
20d10a8d6cSRuslan Ermilov	${_boot98cfg} \
210451ac36SGary Palmer	bootparamd \
22acb4f782SRuslan Ermilov	bsnmpd \
23d10a8d6cSRuslan Ermilov	${_btxld} \
246d73a68aSSøren Schmidt	burncd \
250451ac36SGary Palmer	cdcontrol \
260451ac36SGary Palmer	chkgrp \
270451ac36SGary Palmer	chown \
280451ac36SGary Palmer	chroot \
290451ac36SGary Palmer	ckdist \
300451ac36SGary Palmer	config \
310451ac36SGary Palmer	cron \
323c817e2cSBruce Evans	crunch \
330451ac36SGary Palmer	ctm \
34bd06a3ecSMike Barcroft	daemon \
35869093b1SHidetoshi Shimokawa	dconschat \
360fb0f418SMike Smith	devinfo \
37ad01e0c8SBrian Somers	digictl \
38a362eb63SPoul-Henning Kamp	diskinfo \
39cd3ee173SDag-Erling Smørgrav	${_dnssec-keygen} \
40cd3ee173SDag-Erling Smørgrav	${_dnssec-signzone} \
41d10a8d6cSRuslan Ermilov	${_editmap} \
420451ac36SGary Palmer	edquota \
43156e1decSMarius Strobl	${_eeprom} \
44d10a8d6cSRuslan Ermilov	${_elf2exe} \
45caefa400SPoul-Henning Kamp	extattr \
469754f5b6SRobert Watson	extattrctl \
474dd8b5abSYoshinobu Inoue	faithd \
4818443fbdSMatt Jacob	fdcontrol \
4918443fbdSMatt Jacob	fdformat \
50146e5df7SJoerg Wunsch	fdread \
5118443fbdSMatt Jacob	fdwrite \
525f99200fSGleb Smirnoff	flowctl \
53a7a73b95SHidetoshi Shimokawa	fwcontrol \
545b38a427SRobert Watson	getfmac \
555b38a427SRobert Watson	getpmac \
5654a8adabSPoul-Henning Kamp	gstat \
57d10a8d6cSRuslan Ermilov	${_i4b} \
58123689d3SYoshinobu Inoue	ifmcstat \
590451ac36SGary Palmer	inetd \
605c9036d5SDima Ruban	iostat \
61f71d0e11SHajimu UMEMOTO	ip6addrctl \
62d10a8d6cSRuslan Ermilov	${_ipftest} \
63d10a8d6cSRuslan Ermilov	${_ipresend} \
64d10a8d6cSRuslan Ermilov	${_ipsend} \
65d10a8d6cSRuslan Ermilov	${_iptest} \
6693970e26SRuslan Ermilov	IPXrouted \
6775c13541SPoul-Henning Kamp	jail \
68ebf5d9bcSMike Barcroft	jexec \
69ebf5d9bcSMike Barcroft	jls \
705c9036d5SDima Ruban	kbdcontrol \
715c9036d5SDima Ruban	kbdmap \
72d10a8d6cSRuslan Ermilov	${_keyserv} \
73d10a8d6cSRuslan Ermilov	${_kgmon} \
74d10a8d6cSRuslan Ermilov	${_kgzip} \
759c6f9240SPeter Wemm	kldxref \
76b3b01ff3SRuslan Ermilov	lastlogin \
77d10a8d6cSRuslan Ermilov	${_lpr} \
78d10a8d6cSRuslan Ermilov	${_lptcontrol} \
79d10a8d6cSRuslan Ermilov	${_mailstats} \
80cccce27aSPeter Wemm	mailwrapper \
81d10a8d6cSRuslan Ermilov	${_makemap} \
820451ac36SGary Palmer	manctl \
830adc9d60SMike Smith	memcontrol \
8424ff9bb5SBill Fumerola	mergemaster \
85c7805c63SDoug Rabson	mixer \
86d10a8d6cSRuslan Ermilov	${_mld6query} \
87f6f23e2cSMike Smith	mlxcontrol \
888f40768aSGordon Tetlow	mountd \
89d10a8d6cSRuslan Ermilov	${_mount_nwfs} \
90d10a8d6cSRuslan Ermilov	mount_portalfs \
91d10a8d6cSRuslan Ermilov	${_mount_smbfs} \
925c9036d5SDima Ruban	moused \
93d10a8d6cSRuslan Ermilov	${_mptable} \
940451ac36SGary Palmer	mrouted \
950451ac36SGary Palmer	mtest \
960451ac36SGary Palmer	mtree \
97d10a8d6cSRuslan Ermilov	${_named} \
98d10a8d6cSRuslan Ermilov	${_named.reload} \
99cd3ee173SDag-Erling Smørgrav	${_named-checkconf} \
100cd3ee173SDag-Erling Smørgrav	${_named-checkzone} \
101d10a8d6cSRuslan Ermilov	${_ndiscvt} \
1029a4365d0SYoshinobu Inoue	ndp \
1030451ac36SGary Palmer	newsyslog \
1048f40768aSGordon Tetlow	nfsd \
1054cf49a43SJulian Elischer	ngctl \
1064cf49a43SJulian Elischer	nghook \
1075de697a6SColin Percival	nologin \
108d10a8d6cSRuslan Ermilov	ntp \
109d10a8d6cSRuslan Ermilov	${_ofwdump} \
110d10a8d6cSRuslan Ermilov	${_pccard} \
1110451ac36SGary Palmer	pciconf \
112d10a8d6cSRuslan Ermilov	${_pcvt} \
1130451ac36SGary Palmer	periodic \
1140451ac36SGary Palmer	pkg_install \
115d10a8d6cSRuslan Ermilov	${_pnpinfo} \
1167dd68385SPeter Wemm	ppp \
117d10a8d6cSRuslan Ermilov	${_pppctl} \
118ec480a97SPeter Wemm	pppd \
1190451ac36SGary Palmer	pppstats \
120d10a8d6cSRuslan Ermilov	${_praliases} \
1210451ac36SGary Palmer	procctl \
1220451ac36SGary Palmer	pstat \
1230451ac36SGary Palmer	pw \
1240451ac36SGary Palmer	pwd_mkdb \
1250451ac36SGary Palmer	quot \
1260451ac36SGary Palmer	quotaon \
1270451ac36SGary Palmer	rarpd \
1284e1921abSWarner Losh	raycontrol \
1290451ac36SGary Palmer	repquota \
130d10a8d6cSRuslan Ermilov	${_rip6query} \
1310451ac36SGary Palmer	rmt \
132cd3ee173SDag-Erling Smørgrav	${_rndc} \
133cd3ee173SDag-Erling Smørgrav	${_rndc-confgen} \
134d10a8d6cSRuslan Ermilov	${_route6d} \
1358360efbdSAlfred Perlstein	rpcbind \
1360451ac36SGary Palmer	rpc.lockd \
1370451ac36SGary Palmer	rpc.statd \
138c69a34d4SMatthew Dillon	rpc.umntall \
1396c58990dSBjoern A. Zeeb	${_rpc.yppasswdd} \
1406c58990dSBjoern A. Zeeb	${_rpc.ypupdated} \
1416c58990dSBjoern A. Zeeb	${_rpc.ypxfrd} \
1429a4365d0SYoshinobu Inoue	rrenumd \
1439a4365d0SYoshinobu Inoue	rtadvd \
1445c9036d5SDima Ruban	rtprio \
145123689d3SYoshinobu Inoue	rtsold \
1460451ac36SGary Palmer	rwhod \
1470451ac36SGary Palmer	sa \
148d10a8d6cSRuslan Ermilov	${_sendmail} \
1495b38a427SRobert Watson	setfmac \
1509a4365d0SYoshinobu Inoue	setkey \
1515b38a427SRobert Watson	setpmac \
152d10a8d6cSRuslan Ermilov	${_sicontrol} \
1530451ac36SGary Palmer	sliplogin \
1540451ac36SGary Palmer	slstat \
15580cdf39aSJoerg Wunsch	smbmsg \
156d10a8d6cSRuslan Ermilov	${_spkrtest} \
1570451ac36SGary Palmer	spray \
1580bc81187SDavid E. O'Brien	${_sysinstall} \
1590451ac36SGary Palmer	syslogd \
1608d4b20e3SMark Murray	tcpdchk \
1618d4b20e3SMark Murray	tcpdmatch \
1620acc1823SDavid E. O'Brien	tcpdump \
1630451ac36SGary Palmer	timed \
1640451ac36SGary Palmer	traceroute \
165d10a8d6cSRuslan Ermilov	${_traceroute6} \
1660451ac36SGary Palmer	trpt \
1670451ac36SGary Palmer	tzsetup \
16834d26f04SRobert Watson	ugidfw \
169d10a8d6cSRuslan Ermilov	${_usbd} \
170d10a8d6cSRuslan Ermilov	${_usbdevs} \
1715c9036d5SDima Ruban	vidcontrol \
1720451ac36SGary Palmer	vipw \
1730451ac36SGary Palmer	vnconfig \
1740451ac36SGary Palmer	watch \
175370c3cb5SSean Kelly	watchdogd \
1763df8ada3SPeter Wemm	wicontrol \
177d10a8d6cSRuslan Ermilov	${_wlconfig} \
1786c58990dSBjoern A. Zeeb	${_ypbind} \
1796c58990dSBjoern A. Zeeb	${_yp_mkdb} \
1806c58990dSBjoern A. Zeeb	${_yppoll} \
1816c58990dSBjoern A. Zeeb	${_yppush} \
1826c58990dSBjoern A. Zeeb	${_ypserv} \
1836c58990dSBjoern A. Zeeb	${_ypset} \
184d10a8d6cSRuslan Ermilov	zic \
185d10a8d6cSRuslan Ermilov	${_zzz}
186d10a8d6cSRuslan Ermilov
1877a08579aSPeter Grehan.if ${MACHINE_ARCH} != "arm"
188d10a8d6cSRuslan Ermilov_sysinstall=	sysinstall
189d10a8d6cSRuslan Ermilov.endif
1905021f740SPeter Wemm
191dd0b8d3cSPoul-Henning Kamp.if !defined(NOATM)
192d10a8d6cSRuslan Ermilov_atm=		atm
193ab5e5d7bSPeter Wemm.endif
194ab5e5d7bSPeter Wemm
195f0d1f5bbSDag-Erling Smørgrav.if !defined(NO_BIND)
1962a614447SDoug Barton.if !defined(NO_BIND_DNSSEC) && !defined(NOCRYPT)
19711d9d041SDag-Erling Smørgrav_dnssec-keygen=		dnssec-keygen
19811d9d041SDag-Erling Smørgrav_dnssec-signzone=	dnssec-signzone
19911d9d041SDag-Erling Smørgrav.endif
2002a614447SDoug Barton.if !defined(NO_BIND_NAMED)
201d10a8d6cSRuslan Ermilov_named=			named
202d10a8d6cSRuslan Ermilov_named.reload=		named.reload
203cd3ee173SDag-Erling Smørgrav_named-checkconf=	named-checkconf
204cd3ee173SDag-Erling Smørgrav_named-checkzone=	named-checkzone
205cd3ee173SDag-Erling Smørgrav_rndc=			rndc
206cd3ee173SDag-Erling Smørgrav_rndc-confgen=		rndc-confgen
207d10a8d6cSRuslan Ermilov.endif
2082a614447SDoug Barton.endif
209d10a8d6cSRuslan Ermilov
21023d1e148SMaksim Yevmenkin.if !defined(NO_BLUETOOTH)
21123d1e148SMaksim Yevmenkin_bluetooth=	bluetooth
21223d1e148SMaksim Yevmenkin.endif
21323d1e148SMaksim Yevmenkin
214d10a8d6cSRuslan Ermilov.if !defined(NOCRYPT) && !defined(NO_OPENSSL)
215d10a8d6cSRuslan Ermilov_keyserv=	keyserv
216d10a8d6cSRuslan Ermilov.endif
217d10a8d6cSRuslan Ermilov
218d10a8d6cSRuslan Ermilov.if !defined(NOINET6)
219d10a8d6cSRuslan Ermilov_mld6query=	mld6query
220d10a8d6cSRuslan Ermilov_rip6query=	rip6query
221d10a8d6cSRuslan Ermilov_route6d=	route6d
222d10a8d6cSRuslan Ermilov_traceroute6=	traceroute6
223d10a8d6cSRuslan Ermilov.endif
224d10a8d6cSRuslan Ermilov
225d10a8d6cSRuslan Ermilov.if !defined(NO_IPFILTER)
226d10a8d6cSRuslan Ermilov_ipftest=	ipftest
227d10a8d6cSRuslan Ermilov_ipresend=	ipresend
228d10a8d6cSRuslan Ermilov_ipsend=	ipsend
229d10a8d6cSRuslan Ermilov_iptest=	iptest
230d10a8d6cSRuslan Ermilov.endif
231d10a8d6cSRuslan Ermilov
2326c58990dSBjoern A. Zeeb.if !defined(NO_NIS)
2336c58990dSBjoern A. Zeeb_rpc.yppasswdd=	rpc.yppasswdd
2346c58990dSBjoern A. Zeeb_rpc.ypupdated=	rpc.ypupdated
2356c58990dSBjoern A. Zeeb_rpc.ypxfrd=	rpc.ypxfrd
2366c58990dSBjoern A. Zeeb_ypbind=	ypbind
2376c58990dSBjoern A. Zeeb_yp_mkdb=	yp_mkdb
2386c58990dSBjoern A. Zeeb_yppoll=	yppoll
2396c58990dSBjoern A. Zeeb_yppush=	yppush
2406c58990dSBjoern A. Zeeb_ypserv=	ypserv
2416c58990dSBjoern A. Zeeb_ypset=		ypset
2426c58990dSBjoern A. Zeeb.endif
2436c58990dSBjoern A. Zeeb
2448d69c48bSMax Laier.if !defined(NO_PF) && !defined(NO_AUTHPF)
2458d69c48bSMax Laier_authpf=	authpf
2468d69c48bSMax Laier.endif
2478d69c48bSMax Laier
2488c0e8d96STim Vanderhoek.if !defined(NO_LPR)
249d10a8d6cSRuslan Ermilov_lpr=		lpr
2508c0e8d96STim Vanderhoek.endif
2518c0e8d96STim Vanderhoek
2525a85f025SPoul-Henning Kamp.if !defined(NO_SENDMAIL)
253d10a8d6cSRuslan Ermilov_editmap=	editmap
254d10a8d6cSRuslan Ermilov_mailstats=	mailstats
255d10a8d6cSRuslan Ermilov_makemap=	makemap
256d10a8d6cSRuslan Ermilov_praliases=	praliases
257d10a8d6cSRuslan Ermilov_sendmail=	sendmail
2585a85f025SPoul-Henning Kamp.endif
2595a85f025SPoul-Henning Kamp
260d10a8d6cSRuslan Ermilov.if !defined(NO_USB)
261d10a8d6cSRuslan Ermilov_usbd=		usbd
262d10a8d6cSRuslan Ermilov_usbdevs=	usbdevs
2632b51223fSStefan Eßer.endif
2642b51223fSStefan Eßer
26557628e38SOlivier Houchard.if ${MACHINE_ARCH} == "arm"
26657628e38SOlivier Houchard_kgmon=		kgmon
26757628e38SOlivier Houchard.endif
26857628e38SOlivier Houchard
2691a1536c1SJohn Birrell.if ${MACHINE_ARCH} == "i386"
2703bc2f9a8SPoul-Henning Kamp.if !defined(NO_ACPI)
271d10a8d6cSRuslan Ermilov_acpi=		acpi
2723bc2f9a8SPoul-Henning Kamp.endif
273d10a8d6cSRuslan Ermilov_apm=		apm
274d10a8d6cSRuslan Ermilov_apmd=		apmd
275d10a8d6cSRuslan Ermilov_asf=		asf
276d10a8d6cSRuslan Ermilov.if ${MACHINE} == "i386"
277a5663451SMax Khon_arlcontrol=	arlcontrol
278d10a8d6cSRuslan Ermilov_boot0cfg=	boot0cfg
279d10a8d6cSRuslan Ermilov.endif
280d10a8d6cSRuslan Ermilov.if ${MACHINE} == "pc98"
281d10a8d6cSRuslan Ermilov_boot98cfg=	boot98cfg
282d10a8d6cSRuslan Ermilov.endif
283d10a8d6cSRuslan Ermilov_btxld=		btxld
284f3bb47ccSRuslan Ermilov.if !defined(NO_I4B)
285d10a8d6cSRuslan Ermilov_i4b=		i4b
286d10a8d6cSRuslan Ermilov.endif
287d10a8d6cSRuslan Ermilov_kgmon=		kgmon
288d10a8d6cSRuslan Ermilov_kgzip=		kgzip
289d10a8d6cSRuslan Ermilov_lptcontrol=	lptcontrol
290d10a8d6cSRuslan Ermilov_mount_nwfs=	mount_nwfs
291d10a8d6cSRuslan Ermilov_mount_smbfs=	mount_smbfs
292d10a8d6cSRuslan Ermilov_mptable=	mptable
293d10a8d6cSRuslan Ermilov_ndiscvt=	ndiscvt
294d10a8d6cSRuslan Ermilov_pccard=	pccard
295d10a8d6cSRuslan Ermilov_pcvt=		pcvt
296d10a8d6cSRuslan Ermilov_pnpinfo=	pnpinfo
2974543f32eSDaniel Eischen.if !defined(NOLIBPTHREAD)
2984543f32eSDaniel Eischen_pppctl=	pppctl
2994543f32eSDaniel Eischen.endif
30079e295e8SPoul-Henning Kamp_sicontrol=	sicontrol
301d10a8d6cSRuslan Ermilov_spkrtest=	spkrtest
302d10a8d6cSRuslan Ermilov_wlconfig=	wlconfig
303d10a8d6cSRuslan Ermilov_zzz=		zzz
304f3bb47ccSRuslan Ermilov.endif
3053bc2f9a8SPoul-Henning Kamp
306d10a8d6cSRuslan Ermilov.if ${MACHINE_ARCH} == "alpha"
307d10a8d6cSRuslan Ermilov_elf2exe=	elf2exe
308d10a8d6cSRuslan Ermilov_pnpinfo=	pnpinfo
3094543f32eSDaniel Eischen.if !defined(NOLIBC_R)
3104543f32eSDaniel Eischen_pppctl=	pppctl
3114543f32eSDaniel Eischen.endif
3120346a1deSMarcel Moolenaar.endif
3130346a1deSMarcel Moolenaar
31419f2b0e8SPeter Wemm# kgzip: builds, but missing support files
31519f2b0e8SPeter Wemm# mptable: broken (not 64 bit clean)
31619f2b0e8SPeter Wemm# pnpinfo: crashes (not really useful anyway)
317a6f4ec06SPeter Wemm.if ${MACHINE_ARCH} == "amd64"
318d10a8d6cSRuslan Ermilov.if !defined(NO_ACPI)
319d10a8d6cSRuslan Ermilov_acpi=		acpi
320d10a8d6cSRuslan Ermilov.endif
321d10a8d6cSRuslan Ermilov_asf=		asf
322d10a8d6cSRuslan Ermilov_boot0cfg=	boot0cfg
323d10a8d6cSRuslan Ermilov_btxld=		btxld
324be8282baSBruce Evans_kgmon=		kgmon
325d10a8d6cSRuslan Ermilov_lptcontrol=	lptcontrol
326d10a8d6cSRuslan Ermilov_mount_nwfs=	mount_nwfs
327d10a8d6cSRuslan Ermilov_mount_smbfs=	mount_smbfs
328d10a8d6cSRuslan Ermilov_mptable=	mptable
3294543f32eSDaniel Eischen.if !defined(NOLIBPTHREAD)
3304543f32eSDaniel Eischen_pppctl=	pppctl
3314543f32eSDaniel Eischen.endif
33279e295e8SPoul-Henning Kamp_sicontrol=	sicontrol
333d10a8d6cSRuslan Ermilov_spkrtest=	spkrtest
334d10a8d6cSRuslan Ermilov_zzz=		zzz
335a6f4ec06SPeter Wemm.endif
336a6f4ec06SPeter Wemm
337d10a8d6cSRuslan Ermilov.if ${MACHINE_ARCH} == "ia64"
338d10a8d6cSRuslan Ermilov.if !defined(NO_ACPI)
339d10a8d6cSRuslan Ermilov_acpi=		acpi
340c7961209SKATO Takenori.endif
341fb35b471SMarcel Moolenaar_kgmon=		kgmon
3424543f32eSDaniel Eischen.if !defined(NOLIBPTHREAD)
3434543f32eSDaniel Eischen_pppctl=	pppctl
3444543f32eSDaniel Eischen.endif
345d10a8d6cSRuslan Ermilov_zzz=		zzz
3466a70fca0SKATO Takenori.endif
347c7961209SKATO Takenori
3486f6ede92SThomas Moestl.if ${MACHINE_ARCH} == "sparc64"
349156e1decSMarius Strobl_eeprom=	eeprom
350d10a8d6cSRuslan Ermilov_ofwdump=	ofwdump
3514543f32eSDaniel Eischen.if !defined(NOLIBC_R)
3524543f32eSDaniel Eischen_pppctl=	pppctl
3534543f32eSDaniel Eischen.endif
354a8ec1b48SMaxim Sobolev.endif
355a8ec1b48SMaxim Sobolev
356dea673e9SRodney W. Grimes.include <bsd.subdir.mk>
357