xref: /freebsd/usr.sbin/Makefile (revision 79e295e875a3b46b5efee6ae6f44078e661beac2)
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 \
1390451ac36SGary Palmer	rpc.yppasswdd \
1400451ac36SGary Palmer	rpc.ypupdated \
1413c817e2cSBruce Evans	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} \
1783c817e2cSBruce Evans	ypbind \
179d10a8d6cSRuslan Ermilov	yp_mkdb \
1800451ac36SGary Palmer	yppoll \
1810451ac36SGary Palmer	yppush \
1820451ac36SGary Palmer	ypserv \
1833c817e2cSBruce Evans	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
2328d69c48bSMax Laier.if !defined(NO_PF) && !defined(NO_AUTHPF)
2338d69c48bSMax Laier_authpf=	authpf
2348d69c48bSMax Laier.endif
2358d69c48bSMax Laier
2368c0e8d96STim Vanderhoek.if !defined(NO_LPR)
237d10a8d6cSRuslan Ermilov_lpr=		lpr
2388c0e8d96STim Vanderhoek.endif
2398c0e8d96STim Vanderhoek
2405a85f025SPoul-Henning Kamp.if !defined(NO_SENDMAIL)
241d10a8d6cSRuslan Ermilov_editmap=	editmap
242d10a8d6cSRuslan Ermilov_mailstats=	mailstats
243d10a8d6cSRuslan Ermilov_makemap=	makemap
244d10a8d6cSRuslan Ermilov_praliases=	praliases
245d10a8d6cSRuslan Ermilov_sendmail=	sendmail
2465a85f025SPoul-Henning Kamp.endif
2475a85f025SPoul-Henning Kamp
248d10a8d6cSRuslan Ermilov.if !defined(NO_USB)
249d10a8d6cSRuslan Ermilov_usbd=		usbd
250d10a8d6cSRuslan Ermilov_usbdevs=	usbdevs
2512b51223fSStefan Eßer.endif
2522b51223fSStefan Eßer
25357628e38SOlivier Houchard.if ${MACHINE_ARCH} == "arm"
25457628e38SOlivier Houchard_kgmon=		kgmon
25557628e38SOlivier Houchard.endif
25657628e38SOlivier Houchard
2571a1536c1SJohn Birrell.if ${MACHINE_ARCH} == "i386"
2583bc2f9a8SPoul-Henning Kamp.if !defined(NO_ACPI)
259d10a8d6cSRuslan Ermilov_acpi=		acpi
2603bc2f9a8SPoul-Henning Kamp.endif
261d10a8d6cSRuslan Ermilov_apm=		apm
262d10a8d6cSRuslan Ermilov_apmd=		apmd
263d10a8d6cSRuslan Ermilov_asf=		asf
264d10a8d6cSRuslan Ermilov.if ${MACHINE} == "i386"
265a5663451SMax Khon_arlcontrol=	arlcontrol
266d10a8d6cSRuslan Ermilov_boot0cfg=	boot0cfg
267d10a8d6cSRuslan Ermilov.endif
268d10a8d6cSRuslan Ermilov.if ${MACHINE} == "pc98"
269d10a8d6cSRuslan Ermilov_boot98cfg=	boot98cfg
270d10a8d6cSRuslan Ermilov.endif
271d10a8d6cSRuslan Ermilov_btxld=		btxld
272f3bb47ccSRuslan Ermilov.if !defined(NO_I4B)
273d10a8d6cSRuslan Ermilov_i4b=		i4b
274d10a8d6cSRuslan Ermilov.endif
275d10a8d6cSRuslan Ermilov_kgmon=		kgmon
276d10a8d6cSRuslan Ermilov_kgzip=		kgzip
277d10a8d6cSRuslan Ermilov_lptcontrol=	lptcontrol
278d10a8d6cSRuslan Ermilov_mount_nwfs=	mount_nwfs
279d10a8d6cSRuslan Ermilov_mount_smbfs=	mount_smbfs
280d10a8d6cSRuslan Ermilov_mptable=	mptable
281d10a8d6cSRuslan Ermilov_ndiscvt=	ndiscvt
282d10a8d6cSRuslan Ermilov_pccard=	pccard
283d10a8d6cSRuslan Ermilov_pcvt=		pcvt
284d10a8d6cSRuslan Ermilov_pnpinfo=	pnpinfo
2854543f32eSDaniel Eischen.if !defined(NOLIBPTHREAD)
2864543f32eSDaniel Eischen_pppctl=	pppctl
2874543f32eSDaniel Eischen.endif
28879e295e8SPoul-Henning Kamp_sicontrol=	sicontrol
289d10a8d6cSRuslan Ermilov_spkrtest=	spkrtest
290d10a8d6cSRuslan Ermilov_wlconfig=	wlconfig
291d10a8d6cSRuslan Ermilov_zzz=		zzz
292f3bb47ccSRuslan Ermilov.endif
2933bc2f9a8SPoul-Henning Kamp
294d10a8d6cSRuslan Ermilov.if ${MACHINE_ARCH} == "alpha"
295d10a8d6cSRuslan Ermilov_elf2exe=	elf2exe
296d10a8d6cSRuslan Ermilov_pnpinfo=	pnpinfo
2974543f32eSDaniel Eischen.if !defined(NOLIBC_R)
2984543f32eSDaniel Eischen_pppctl=	pppctl
2994543f32eSDaniel Eischen.endif
3000346a1deSMarcel Moolenaar.endif
3010346a1deSMarcel Moolenaar
30219f2b0e8SPeter Wemm# kgzip: builds, but missing support files
30319f2b0e8SPeter Wemm# mptable: broken (not 64 bit clean)
30419f2b0e8SPeter Wemm# pnpinfo: crashes (not really useful anyway)
305a6f4ec06SPeter Wemm.if ${MACHINE_ARCH} == "amd64"
306d10a8d6cSRuslan Ermilov.if !defined(NO_ACPI)
307d10a8d6cSRuslan Ermilov_acpi=		acpi
308d10a8d6cSRuslan Ermilov.endif
309d10a8d6cSRuslan Ermilov_asf=		asf
310d10a8d6cSRuslan Ermilov_boot0cfg=	boot0cfg
311d10a8d6cSRuslan Ermilov_btxld=		btxld
312be8282baSBruce Evans_kgmon=		kgmon
313d10a8d6cSRuslan Ermilov_lptcontrol=	lptcontrol
314d10a8d6cSRuslan Ermilov_mount_nwfs=	mount_nwfs
315d10a8d6cSRuslan Ermilov_mount_smbfs=	mount_smbfs
316d10a8d6cSRuslan Ermilov_mptable=	mptable
3174543f32eSDaniel Eischen.if !defined(NOLIBPTHREAD)
3184543f32eSDaniel Eischen_pppctl=	pppctl
3194543f32eSDaniel Eischen.endif
32079e295e8SPoul-Henning Kamp_sicontrol=	sicontrol
321d10a8d6cSRuslan Ermilov_spkrtest=	spkrtest
322d10a8d6cSRuslan Ermilov_zzz=		zzz
323a6f4ec06SPeter Wemm.endif
324a6f4ec06SPeter Wemm
325d10a8d6cSRuslan Ermilov.if ${MACHINE_ARCH} == "ia64"
326d10a8d6cSRuslan Ermilov.if !defined(NO_ACPI)
327d10a8d6cSRuslan Ermilov_acpi=		acpi
328c7961209SKATO Takenori.endif
329fb35b471SMarcel Moolenaar_kgmon=		kgmon
3304543f32eSDaniel Eischen.if !defined(NOLIBPTHREAD)
3314543f32eSDaniel Eischen_pppctl=	pppctl
3324543f32eSDaniel Eischen.endif
333d10a8d6cSRuslan Ermilov_zzz=		zzz
3346a70fca0SKATO Takenori.endif
335c7961209SKATO Takenori
3366f6ede92SThomas Moestl.if ${MACHINE_ARCH} == "sparc64"
337156e1decSMarius Strobl_eeprom=	eeprom
338d10a8d6cSRuslan Ermilov_ofwdump=	ofwdump
3394543f32eSDaniel Eischen.if !defined(NOLIBC_R)
3404543f32eSDaniel Eischen_pppctl=	pppctl
3414543f32eSDaniel Eischen.endif
342a8ec1b48SMaxim Sobolev.endif
343a8ec1b48SMaxim Sobolev
344dea673e9SRodney W. Grimes.include <bsd.subdir.mk>
345