xref: /freebsd/usr.sbin/Makefile (revision 57628e38acd99210bf757c3462d32cc72c469ffb)
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 \
22cd3ee173SDag-Erling Smørgrav	${_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	${_nslookup} \
109d10a8d6cSRuslan Ermilov	${_nsupdate} \
110d10a8d6cSRuslan Ermilov	ntp \
111d10a8d6cSRuslan Ermilov	${_ofwdump} \
112d10a8d6cSRuslan Ermilov	${_pccard} \
1130451ac36SGary Palmer	pciconf \
114d10a8d6cSRuslan Ermilov	${_pcvt} \
1150451ac36SGary Palmer	periodic \
1160451ac36SGary Palmer	pkg_install \
117d10a8d6cSRuslan Ermilov	${_pnpinfo} \
1187dd68385SPeter Wemm	ppp \
119d10a8d6cSRuslan Ermilov	${_pppctl} \
120ec480a97SPeter Wemm	pppd \
1210451ac36SGary Palmer	pppstats \
122d10a8d6cSRuslan Ermilov	${_praliases} \
1230451ac36SGary Palmer	procctl \
1240451ac36SGary Palmer	pstat \
1250451ac36SGary Palmer	pw \
1260451ac36SGary Palmer	pwd_mkdb \
1270451ac36SGary Palmer	quot \
1280451ac36SGary Palmer	quotaon \
1290451ac36SGary Palmer	rarpd \
1304e1921abSWarner Losh	raycontrol \
1310451ac36SGary Palmer	repquota \
132d10a8d6cSRuslan Ermilov	${_rip6query} \
1330451ac36SGary Palmer	rmt \
134cd3ee173SDag-Erling Smørgrav	${_rndc} \
135cd3ee173SDag-Erling Smørgrav	${_rndc-confgen} \
136d10a8d6cSRuslan Ermilov	${_route6d} \
1378360efbdSAlfred Perlstein	rpcbind \
1380451ac36SGary Palmer	rpc.lockd \
1390451ac36SGary Palmer	rpc.statd \
140c69a34d4SMatthew Dillon	rpc.umntall \
1410451ac36SGary Palmer	rpc.yppasswdd \
1420451ac36SGary Palmer	rpc.ypupdated \
1433c817e2cSBruce Evans	rpc.ypxfrd \
1449a4365d0SYoshinobu Inoue	rrenumd \
1459a4365d0SYoshinobu Inoue	rtadvd \
1465c9036d5SDima Ruban	rtprio \
147123689d3SYoshinobu Inoue	rtsold \
1480451ac36SGary Palmer	rwhod \
1490451ac36SGary Palmer	sa \
150d10a8d6cSRuslan Ermilov	${_sendmail} \
1515b38a427SRobert Watson	setfmac \
1529a4365d0SYoshinobu Inoue	setkey \
1535b38a427SRobert Watson	setpmac \
154d10a8d6cSRuslan Ermilov	${_sicontrol} \
1550451ac36SGary Palmer	sliplogin \
1560451ac36SGary Palmer	slstat \
15780cdf39aSJoerg Wunsch	smbmsg \
158d10a8d6cSRuslan Ermilov	${_spkrtest} \
1590451ac36SGary Palmer	spray \
1600bc81187SDavid E. O'Brien	${_sysinstall} \
1610451ac36SGary Palmer	syslogd \
1628d4b20e3SMark Murray	tcpdchk \
1638d4b20e3SMark Murray	tcpdmatch \
1640acc1823SDavid E. O'Brien	tcpdump \
1650451ac36SGary Palmer	timed \
1660451ac36SGary Palmer	traceroute \
167d10a8d6cSRuslan Ermilov	${_traceroute6} \
1680451ac36SGary Palmer	trpt \
1690451ac36SGary Palmer	tzsetup \
17034d26f04SRobert Watson	ugidfw \
171d10a8d6cSRuslan Ermilov	${_usbd} \
172d10a8d6cSRuslan Ermilov	${_usbdevs} \
1735c9036d5SDima Ruban	vidcontrol \
1740451ac36SGary Palmer	vipw \
1750451ac36SGary Palmer	vnconfig \
1760451ac36SGary Palmer	watch \
177370c3cb5SSean Kelly	watchdogd \
1783df8ada3SPeter Wemm	wicontrol \
179d10a8d6cSRuslan Ermilov	${_wlconfig} \
1803c817e2cSBruce Evans	ypbind \
181d10a8d6cSRuslan Ermilov	yp_mkdb \
1820451ac36SGary Palmer	yppoll \
1830451ac36SGary Palmer	yppush \
1840451ac36SGary Palmer	ypserv \
1853c817e2cSBruce Evans	ypset \
186d10a8d6cSRuslan Ermilov	zic \
187d10a8d6cSRuslan Ermilov	${_zzz}
188d10a8d6cSRuslan Ermilov
1897a08579aSPeter Grehan.if ${MACHINE_ARCH} != "arm"
190d10a8d6cSRuslan Ermilov_sysinstall=	sysinstall
191d10a8d6cSRuslan Ermilov.endif
1925021f740SPeter Wemm
193dd0b8d3cSPoul-Henning Kamp.if !defined(NOATM)
194d10a8d6cSRuslan Ermilov_atm=		atm
195cd3ee173SDag-Erling Smørgrav#_bsnmpd=	bsnmpd
196ab5e5d7bSPeter Wemm.endif
197ab5e5d7bSPeter Wemm
198f0d1f5bbSDag-Erling Smørgrav.if !defined(NO_BIND)
199f0d1f5bbSDag-Erling Smørgrav.if !defined(NOCRYPT)
20011d9d041SDag-Erling Smørgrav_dnssec-keygen=		dnssec-keygen
20111d9d041SDag-Erling Smørgrav_dnssec-signzone=	dnssec-signzone
20211d9d041SDag-Erling Smørgrav.endif
203d10a8d6cSRuslan Ermilov_named=			named
204d10a8d6cSRuslan Ermilov_named.reload=		named.reload
205cd3ee173SDag-Erling Smørgrav_named-checkconf=	named-checkconf
206cd3ee173SDag-Erling Smørgrav_named-checkzone=	named-checkzone
207cd3ee173SDag-Erling Smørgrav_rndc=			rndc
208cd3ee173SDag-Erling Smørgrav_rndc-confgen=		rndc-confgen
209d10a8d6cSRuslan Ermilov.endif
210d10a8d6cSRuslan Ermilov
21123d1e148SMaksim Yevmenkin.if !defined(NO_BLUETOOTH)
21223d1e148SMaksim Yevmenkin_bluetooth=	bluetooth
21323d1e148SMaksim Yevmenkin.endif
21423d1e148SMaksim Yevmenkin
215d10a8d6cSRuslan Ermilov.if !defined(NOCRYPT) && !defined(NO_OPENSSL)
216d10a8d6cSRuslan Ermilov_keyserv=	keyserv
217d10a8d6cSRuslan Ermilov.endif
218d10a8d6cSRuslan Ermilov
219d10a8d6cSRuslan Ermilov.if !defined(NOINET6)
220d10a8d6cSRuslan Ermilov_mld6query=	mld6query
221d10a8d6cSRuslan Ermilov_rip6query=	rip6query
222d10a8d6cSRuslan Ermilov_route6d=	route6d
223d10a8d6cSRuslan Ermilov_traceroute6=	traceroute6
224d10a8d6cSRuslan Ermilov.endif
225d10a8d6cSRuslan Ermilov
226d10a8d6cSRuslan Ermilov.if !defined(NO_IPFILTER)
227d10a8d6cSRuslan Ermilov_ipftest=	ipftest
228d10a8d6cSRuslan Ermilov_ipresend=	ipresend
229d10a8d6cSRuslan Ermilov_ipsend=	ipsend
230d10a8d6cSRuslan Ermilov_iptest=	iptest
231d10a8d6cSRuslan Ermilov.endif
232d10a8d6cSRuslan Ermilov
2338d69c48bSMax Laier.if !defined(NO_PF) && !defined(NO_AUTHPF)
2348d69c48bSMax Laier_authpf=	authpf
2358d69c48bSMax Laier.endif
2368d69c48bSMax Laier
2378c0e8d96STim Vanderhoek.if !defined(NO_LPR)
238d10a8d6cSRuslan Ermilov_lpr=		lpr
2398c0e8d96STim Vanderhoek.endif
2408c0e8d96STim Vanderhoek
2415a85f025SPoul-Henning Kamp.if !defined(NO_SENDMAIL)
242d10a8d6cSRuslan Ermilov_editmap=	editmap
243d10a8d6cSRuslan Ermilov_mailstats=	mailstats
244d10a8d6cSRuslan Ermilov_makemap=	makemap
245d10a8d6cSRuslan Ermilov_praliases=	praliases
246d10a8d6cSRuslan Ermilov_sendmail=	sendmail
2475a85f025SPoul-Henning Kamp.endif
2485a85f025SPoul-Henning Kamp
249d10a8d6cSRuslan Ermilov.if !defined(NO_USB)
250d10a8d6cSRuslan Ermilov_usbd=		usbd
251d10a8d6cSRuslan Ermilov_usbdevs=	usbdevs
2522b51223fSStefan Eßer.endif
2532b51223fSStefan Eßer
25457628e38SOlivier Houchard.if ${MACHINE_ARCH} == "arm"
25557628e38SOlivier Houchard_kgmon=		kgmon
25657628e38SOlivier Houchard.endif
25757628e38SOlivier Houchard
2581a1536c1SJohn Birrell.if ${MACHINE_ARCH} == "i386"
2593bc2f9a8SPoul-Henning Kamp.if !defined(NO_ACPI)
260d10a8d6cSRuslan Ermilov_acpi=		acpi
2613bc2f9a8SPoul-Henning Kamp.endif
262d10a8d6cSRuslan Ermilov_apm=		apm
263d10a8d6cSRuslan Ermilov_apmd=		apmd
264d10a8d6cSRuslan Ermilov_asf=		asf
265d10a8d6cSRuslan Ermilov.if ${MACHINE} == "i386"
266a5663451SMax Khon_arlcontrol=	arlcontrol
267d10a8d6cSRuslan Ermilov_boot0cfg=	boot0cfg
268d10a8d6cSRuslan Ermilov.endif
269d10a8d6cSRuslan Ermilov.if ${MACHINE} == "pc98"
270d10a8d6cSRuslan Ermilov_boot98cfg=	boot98cfg
271d10a8d6cSRuslan Ermilov.endif
272d10a8d6cSRuslan Ermilov_btxld=		btxld
273f3bb47ccSRuslan Ermilov.if !defined(NO_I4B)
274d10a8d6cSRuslan Ermilov_i4b=		i4b
275d10a8d6cSRuslan Ermilov.endif
276d10a8d6cSRuslan Ermilov_kgmon=		kgmon
277d10a8d6cSRuslan Ermilov_kgzip=		kgzip
278d10a8d6cSRuslan Ermilov_lptcontrol=	lptcontrol
279d10a8d6cSRuslan Ermilov_mount_nwfs=	mount_nwfs
280d10a8d6cSRuslan Ermilov_mount_smbfs=	mount_smbfs
281d10a8d6cSRuslan Ermilov_mptable=	mptable
282d10a8d6cSRuslan Ermilov_ndiscvt=	ndiscvt
283d10a8d6cSRuslan Ermilov_pccard=	pccard
284d10a8d6cSRuslan Ermilov_pcvt=		pcvt
285d10a8d6cSRuslan Ermilov_pnpinfo=	pnpinfo
2864543f32eSDaniel Eischen.if !defined(NOLIBPTHREAD)
2874543f32eSDaniel Eischen_pppctl=	pppctl
2884543f32eSDaniel Eischen.endif
289d10a8d6cSRuslan Ermilov_sicontrol=	sicontrol
290d10a8d6cSRuslan Ermilov_spkrtest=	spkrtest
291d10a8d6cSRuslan Ermilov_wlconfig=	wlconfig
292d10a8d6cSRuslan Ermilov_zzz=		zzz
293f3bb47ccSRuslan Ermilov.endif
2943bc2f9a8SPoul-Henning Kamp
295d10a8d6cSRuslan Ermilov.if ${MACHINE_ARCH} == "alpha"
296d10a8d6cSRuslan Ermilov_elf2exe=	elf2exe
297d10a8d6cSRuslan Ermilov_pnpinfo=	pnpinfo
2984543f32eSDaniel Eischen.if !defined(NOLIBC_R)
2994543f32eSDaniel Eischen_pppctl=	pppctl
3004543f32eSDaniel Eischen.endif
3010346a1deSMarcel Moolenaar.endif
3020346a1deSMarcel Moolenaar
30319f2b0e8SPeter Wemm# kgzip: builds, but missing support files
30419f2b0e8SPeter Wemm# mptable: broken (not 64 bit clean)
30519f2b0e8SPeter Wemm# pnpinfo: crashes (not really useful anyway)
306a6f4ec06SPeter Wemm.if ${MACHINE_ARCH} == "amd64"
307d10a8d6cSRuslan Ermilov.if !defined(NO_ACPI)
308d10a8d6cSRuslan Ermilov_acpi=		acpi
309d10a8d6cSRuslan Ermilov.endif
310d10a8d6cSRuslan Ermilov_asf=		asf
311d10a8d6cSRuslan Ermilov_boot0cfg=	boot0cfg
312d10a8d6cSRuslan Ermilov_btxld=		btxld
313be8282baSBruce Evans_kgmon=		kgmon
314d10a8d6cSRuslan Ermilov_lptcontrol=	lptcontrol
315d10a8d6cSRuslan Ermilov_mount_nwfs=	mount_nwfs
316d10a8d6cSRuslan Ermilov_mount_smbfs=	mount_smbfs
317d10a8d6cSRuslan Ermilov_mptable=	mptable
3184543f32eSDaniel Eischen.if !defined(NOLIBPTHREAD)
3194543f32eSDaniel Eischen_pppctl=	pppctl
3204543f32eSDaniel Eischen.endif
321d10a8d6cSRuslan Ermilov_sicontrol=	sicontrol
322d10a8d6cSRuslan Ermilov_spkrtest=	spkrtest
323d10a8d6cSRuslan Ermilov_zzz=		zzz
324a6f4ec06SPeter Wemm.endif
325a6f4ec06SPeter Wemm
326d10a8d6cSRuslan Ermilov.if ${MACHINE_ARCH} == "ia64"
327d10a8d6cSRuslan Ermilov.if !defined(NO_ACPI)
328d10a8d6cSRuslan Ermilov_acpi=		acpi
329c7961209SKATO Takenori.endif
330fb35b471SMarcel Moolenaar_kgmon=		kgmon
3314543f32eSDaniel Eischen.if !defined(NOLIBPTHREAD)
3324543f32eSDaniel Eischen_pppctl=	pppctl
3334543f32eSDaniel Eischen.endif
334d10a8d6cSRuslan Ermilov_zzz=		zzz
3356a70fca0SKATO Takenori.endif
336c7961209SKATO Takenori
3376f6ede92SThomas Moestl.if ${MACHINE_ARCH} == "sparc64"
338156e1decSMarius Strobl_eeprom=	eeprom
339d10a8d6cSRuslan Ermilov_ofwdump=	ofwdump
3404543f32eSDaniel Eischen.if !defined(NOLIBC_R)
3414543f32eSDaniel Eischen_pppctl=	pppctl
3424543f32eSDaniel Eischen.endif
343a8ec1b48SMaxim Sobolev.endif
344a8ec1b48SMaxim Sobolev
345dea673e9SRodney W. Grimes.include <bsd.subdir.mk>
346