xref: /freebsd/usr.sbin/Makefile (revision 6fb01948ee8a871abd0f9ff1956e1747b944f756)
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 \
6293970e26SRuslan Ermilov	IPXrouted \
6375c13541SPoul-Henning Kamp	jail \
64ebf5d9bcSMike Barcroft	jexec \
65ebf5d9bcSMike Barcroft	jls \
665c9036d5SDima Ruban	kbdcontrol \
675c9036d5SDima Ruban	kbdmap \
68d10a8d6cSRuslan Ermilov	${_keyserv} \
69d10a8d6cSRuslan Ermilov	${_kgmon} \
70d10a8d6cSRuslan Ermilov	${_kgzip} \
719c6f9240SPeter Wemm	kldxref \
72b3b01ff3SRuslan Ermilov	lastlogin \
73d10a8d6cSRuslan Ermilov	${_lpr} \
74d10a8d6cSRuslan Ermilov	${_lptcontrol} \
75d10a8d6cSRuslan Ermilov	${_mailstats} \
76cccce27aSPeter Wemm	mailwrapper \
77d10a8d6cSRuslan Ermilov	${_makemap} \
780451ac36SGary Palmer	manctl \
790adc9d60SMike Smith	memcontrol \
8024ff9bb5SBill Fumerola	mergemaster \
81c7805c63SDoug Rabson	mixer \
82d10a8d6cSRuslan Ermilov	${_mld6query} \
83f6f23e2cSMike Smith	mlxcontrol \
848f40768aSGordon Tetlow	mountd \
85d10a8d6cSRuslan Ermilov	${_mount_nwfs} \
86d10a8d6cSRuslan Ermilov	mount_portalfs \
87d10a8d6cSRuslan Ermilov	${_mount_smbfs} \
885c9036d5SDima Ruban	moused \
89d10a8d6cSRuslan Ermilov	${_mptable} \
900451ac36SGary Palmer	mrouted \
910451ac36SGary Palmer	mtest \
920451ac36SGary Palmer	mtree \
93d10a8d6cSRuslan Ermilov	${_named} \
94d10a8d6cSRuslan Ermilov	${_named.reload} \
95cd3ee173SDag-Erling Smørgrav	${_named-checkconf} \
96cd3ee173SDag-Erling Smørgrav	${_named-checkzone} \
97d10a8d6cSRuslan Ermilov	${_ndiscvt} \
989a4365d0SYoshinobu Inoue	ndp \
990451ac36SGary Palmer	newsyslog \
1008f40768aSGordon Tetlow	nfsd \
1014cf49a43SJulian Elischer	ngctl \
1024cf49a43SJulian Elischer	nghook \
1035de697a6SColin Percival	nologin \
104d10a8d6cSRuslan Ermilov	ntp \
105d10a8d6cSRuslan Ermilov	${_ofwdump} \
106d10a8d6cSRuslan Ermilov	${_pccard} \
1070451ac36SGary Palmer	pciconf \
108d10a8d6cSRuslan Ermilov	${_pcvt} \
1090451ac36SGary Palmer	periodic \
1100451ac36SGary Palmer	pkg_install \
111cf7152abSMarcel Moolenaar	pmccontrol \
112cf7152abSMarcel Moolenaar	pmcstat \
113d10a8d6cSRuslan Ermilov	${_pnpinfo} \
1146fb01948SColin Percival	portsnap \
115c3c5f9cdSNate Lawson	powerd \
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 \
1568f61cf9cSMark Santcroos	snapinfo \
157d10a8d6cSRuslan Ermilov	${_spkrtest} \
1580451ac36SGary Palmer	spray \
1590bc81187SDavid E. O'Brien	${_sysinstall} \
1600451ac36SGary Palmer	syslogd \
1618d4b20e3SMark Murray	tcpdchk \
1628d4b20e3SMark Murray	tcpdmatch \
163212a79b0SMaxim Konovalov	tcpdrop \
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 \
179f67f6dd2SSam Leffler	wpa \
180d10a8d6cSRuslan Ermilov	${_wlconfig} \
1816c58990dSBjoern A. Zeeb	${_ypbind} \
1826c58990dSBjoern A. Zeeb	${_yp_mkdb} \
1836c58990dSBjoern A. Zeeb	${_yppoll} \
1846c58990dSBjoern A. Zeeb	${_yppush} \
1856c58990dSBjoern A. Zeeb	${_ypserv} \
1866c58990dSBjoern A. Zeeb	${_ypset} \
187d10a8d6cSRuslan Ermilov	zic \
188d10a8d6cSRuslan Ermilov	${_zzz}
189d10a8d6cSRuslan Ermilov
1907a08579aSPeter Grehan.if ${MACHINE_ARCH} != "arm"
191d10a8d6cSRuslan Ermilov_sysinstall=	sysinstall
192d10a8d6cSRuslan Ermilov.endif
1935021f740SPeter Wemm
19407736e20SRuslan Ermilov.if !defined(NO_ATM)
195d10a8d6cSRuslan Ermilov_atm=		atm
196ab5e5d7bSPeter Wemm.endif
197ab5e5d7bSPeter Wemm
198f0d1f5bbSDag-Erling Smørgrav.if !defined(NO_BIND)
199a2161735SRuslan Ermilov.if !defined(NO_BIND_DNSSEC) && !defined(NO_CRYPT)
20011d9d041SDag-Erling Smørgrav_dnssec-keygen=		dnssec-keygen
20111d9d041SDag-Erling Smørgrav_dnssec-signzone=	dnssec-signzone
20211d9d041SDag-Erling Smørgrav.endif
2032a614447SDoug Barton.if !defined(NO_BIND_NAMED)
204d10a8d6cSRuslan Ermilov_named=			named
205d10a8d6cSRuslan Ermilov_named.reload=		named.reload
206cd3ee173SDag-Erling Smørgrav_named-checkconf=	named-checkconf
207cd3ee173SDag-Erling Smørgrav_named-checkzone=	named-checkzone
208cd3ee173SDag-Erling Smørgrav_rndc=			rndc
209cd3ee173SDag-Erling Smørgrav_rndc-confgen=		rndc-confgen
210d10a8d6cSRuslan Ermilov.endif
2112a614447SDoug Barton.endif
212d10a8d6cSRuslan Ermilov
21323d1e148SMaksim Yevmenkin.if !defined(NO_BLUETOOTH)
21423d1e148SMaksim Yevmenkin_bluetooth=	bluetooth
21523d1e148SMaksim Yevmenkin.endif
21623d1e148SMaksim Yevmenkin
217a2161735SRuslan Ermilov.if !defined(NO_CRYPT) && !defined(NO_OPENSSL)
218d10a8d6cSRuslan Ermilov_keyserv=	keyserv
219d10a8d6cSRuslan Ermilov.endif
220d10a8d6cSRuslan Ermilov
221731db6a4SRuslan Ermilov.if !defined(NO_INET6)
222d10a8d6cSRuslan Ermilov_mld6query=	mld6query
223d10a8d6cSRuslan Ermilov_rip6query=	rip6query
224d10a8d6cSRuslan Ermilov_route6d=	route6d
225d10a8d6cSRuslan Ermilov_traceroute6=	traceroute6
226d10a8d6cSRuslan Ermilov.endif
227d10a8d6cSRuslan Ermilov
2286c58990dSBjoern A. Zeeb.if !defined(NO_NIS)
2296c58990dSBjoern A. Zeeb_rpc.yppasswdd=	rpc.yppasswdd
2306c58990dSBjoern A. Zeeb_rpc.ypupdated=	rpc.ypupdated
2316c58990dSBjoern A. Zeeb_rpc.ypxfrd=	rpc.ypxfrd
2326c58990dSBjoern A. Zeeb_ypbind=	ypbind
2336c58990dSBjoern A. Zeeb_yp_mkdb=	yp_mkdb
2346c58990dSBjoern A. Zeeb_yppoll=	yppoll
2356c58990dSBjoern A. Zeeb_yppush=	yppush
2366c58990dSBjoern A. Zeeb_ypserv=	ypserv
2376c58990dSBjoern A. Zeeb_ypset=		ypset
2386c58990dSBjoern A. Zeeb.endif
2396c58990dSBjoern A. Zeeb
2408d69c48bSMax Laier.if !defined(NO_PF) && !defined(NO_AUTHPF)
2418d69c48bSMax Laier_authpf=	authpf
2428d69c48bSMax Laier.endif
2438d69c48bSMax Laier
2448c0e8d96STim Vanderhoek.if !defined(NO_LPR)
245d10a8d6cSRuslan Ermilov_lpr=		lpr
2468c0e8d96STim Vanderhoek.endif
2478c0e8d96STim Vanderhoek
2485a85f025SPoul-Henning Kamp.if !defined(NO_SENDMAIL)
249d10a8d6cSRuslan Ermilov_editmap=	editmap
250d10a8d6cSRuslan Ermilov_mailstats=	mailstats
251d10a8d6cSRuslan Ermilov_makemap=	makemap
252d10a8d6cSRuslan Ermilov_praliases=	praliases
253d10a8d6cSRuslan Ermilov_sendmail=	sendmail
2545a85f025SPoul-Henning Kamp.endif
2555a85f025SPoul-Henning Kamp
256d10a8d6cSRuslan Ermilov.if !defined(NO_USB)
257d10a8d6cSRuslan Ermilov_usbd=		usbd
258d10a8d6cSRuslan Ermilov_usbdevs=	usbdevs
2592b51223fSStefan Eßer.endif
2602b51223fSStefan Eßer
26157628e38SOlivier Houchard.if ${MACHINE_ARCH} == "arm"
26257628e38SOlivier Houchard_kgmon=		kgmon
26357628e38SOlivier Houchard.endif
26457628e38SOlivier Houchard
2651a1536c1SJohn Birrell.if ${MACHINE_ARCH} == "i386"
266d10a8d6cSRuslan Ermilov_apm=		apm
267d10a8d6cSRuslan Ermilov_apmd=		apmd
268d10a8d6cSRuslan Ermilov_asf=		asf
269d10a8d6cSRuslan Ermilov_btxld=		btxld
270f3bb47ccSRuslan Ermilov.if !defined(NO_I4B)
271d10a8d6cSRuslan Ermilov_i4b=		i4b
272d10a8d6cSRuslan Ermilov.endif
273d10a8d6cSRuslan Ermilov_kgmon=		kgmon
274d10a8d6cSRuslan Ermilov_kgzip=		kgzip
275d10a8d6cSRuslan Ermilov_lptcontrol=	lptcontrol
276d10a8d6cSRuslan Ermilov_mount_nwfs=	mount_nwfs
277d10a8d6cSRuslan Ermilov_mount_smbfs=	mount_smbfs
278d10a8d6cSRuslan Ermilov_mptable=	mptable
279d10a8d6cSRuslan Ermilov_ndiscvt=	ndiscvt
280d10a8d6cSRuslan Ermilov_pccard=	pccard
281d10a8d6cSRuslan Ermilov_pnpinfo=	pnpinfo
282f1f6253fSRuslan Ermilov.if !defined(NO_LIBPTHREAD)
2834543f32eSDaniel Eischen_pppctl=	pppctl
2844543f32eSDaniel Eischen.endif
28579e295e8SPoul-Henning Kamp_sicontrol=	sicontrol
286d10a8d6cSRuslan Ermilov_spkrtest=	spkrtest
287d10a8d6cSRuslan Ermilov_zzz=		zzz
288f8eecc08SWarner Losh.if ${MACHINE} == "i386"
289f8eecc08SWarner Losh.if !defined(NO_ACPI)
290f8eecc08SWarner Losh_acpi=		acpi
291f8eecc08SWarner Losh.endif
292f8eecc08SWarner Losh_arlcontrol=	arlcontrol
293f8eecc08SWarner Losh_boot0cfg=	boot0cfg
2944b0a1b8bSPoul-Henning Kamp.if !defined(NO_PCVT)
295f8eecc08SWarner Losh_pcvt=		pcvt
2964b0a1b8bSPoul-Henning Kamp.endif
297f8eecc08SWarner Losh_wlconfig=	wlconfig
298f8eecc08SWarner Losh.elif ${MACHINE} == "pc98"
299f8eecc08SWarner Losh_boot98cfg=	boot98cfg
300f8eecc08SWarner Losh.endif
301f3bb47ccSRuslan Ermilov.endif
3023bc2f9a8SPoul-Henning Kamp
303d10a8d6cSRuslan Ermilov.if ${MACHINE_ARCH} == "alpha"
304d10a8d6cSRuslan Ermilov_elf2exe=	elf2exe
305d10a8d6cSRuslan Ermilov_pnpinfo=	pnpinfo
306f1f6253fSRuslan Ermilov.if !defined(NO_LIBC_R)
3074543f32eSDaniel Eischen_pppctl=	pppctl
3084543f32eSDaniel Eischen.endif
3090346a1deSMarcel Moolenaar.endif
3100346a1deSMarcel Moolenaar
31119f2b0e8SPeter Wemm# kgzip: builds, but missing support files
31219f2b0e8SPeter Wemm# mptable: broken (not 64 bit clean)
31319f2b0e8SPeter Wemm# pnpinfo: crashes (not really useful anyway)
314a6f4ec06SPeter Wemm.if ${MACHINE_ARCH} == "amd64"
315d10a8d6cSRuslan Ermilov.if !defined(NO_ACPI)
316d10a8d6cSRuslan Ermilov_acpi=		acpi
317d10a8d6cSRuslan Ermilov.endif
318d10a8d6cSRuslan Ermilov_asf=		asf
319d10a8d6cSRuslan Ermilov_boot0cfg=	boot0cfg
320d10a8d6cSRuslan Ermilov_btxld=		btxld
321be8282baSBruce Evans_kgmon=		kgmon
322d10a8d6cSRuslan Ermilov_lptcontrol=	lptcontrol
323d10a8d6cSRuslan Ermilov_mount_nwfs=	mount_nwfs
324d10a8d6cSRuslan Ermilov_mount_smbfs=	mount_smbfs
325d10a8d6cSRuslan Ermilov_mptable=	mptable
3264e012474SBill Paul_ndiscvt=	ndiscvt
327f1f6253fSRuslan Ermilov.if !defined(NO_LIBPTHREAD)
3284543f32eSDaniel Eischen_pppctl=	pppctl
3294543f32eSDaniel Eischen.endif
33079e295e8SPoul-Henning Kamp_sicontrol=	sicontrol
331d10a8d6cSRuslan Ermilov_spkrtest=	spkrtest
332d10a8d6cSRuslan Ermilov_zzz=		zzz
333a6f4ec06SPeter Wemm.endif
334a6f4ec06SPeter Wemm
335d10a8d6cSRuslan Ermilov.if ${MACHINE_ARCH} == "ia64"
336d10a8d6cSRuslan Ermilov.if !defined(NO_ACPI)
337d10a8d6cSRuslan Ermilov_acpi=		acpi
338c7961209SKATO Takenori.endif
339fb35b471SMarcel Moolenaar_kgmon=		kgmon
340f1f6253fSRuslan Ermilov.if !defined(NO_LIBPTHREAD)
3414543f32eSDaniel Eischen_pppctl=	pppctl
3424543f32eSDaniel Eischen.endif
343d10a8d6cSRuslan Ermilov_zzz=		zzz
3446a70fca0SKATO Takenori.endif
345c7961209SKATO Takenori
3466f6ede92SThomas Moestl.if ${MACHINE_ARCH} == "sparc64"
347156e1decSMarius Strobl_eeprom=	eeprom
348d10a8d6cSRuslan Ermilov_ofwdump=	ofwdump
349f1f6253fSRuslan Ermilov.if !defined(NO_LIBC_R)
3504543f32eSDaniel Eischen_pppctl=	pppctl
3514543f32eSDaniel Eischen.endif
352a8ec1b48SMaxim Sobolev.endif
353a8ec1b48SMaxim Sobolev
354dea673e9SRodney W. Grimes.include <bsd.subdir.mk>
355