xref: /freebsd/usr.sbin/Makefile (revision acb4f7825e7297e5fc46e8935a69d762b82e73f3)
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)
196f0d1f5bbSDag-Erling Smørgrav.if !defined(NOCRYPT)
19711d9d041SDag-Erling Smørgrav_dnssec-keygen=		dnssec-keygen
19811d9d041SDag-Erling Smørgrav_dnssec-signzone=	dnssec-signzone
19911d9d041SDag-Erling Smørgrav.endif
200d10a8d6cSRuslan Ermilov_named=			named
201d10a8d6cSRuslan Ermilov_named.reload=		named.reload
202cd3ee173SDag-Erling Smørgrav_named-checkconf=	named-checkconf
203cd3ee173SDag-Erling Smørgrav_named-checkzone=	named-checkzone
204cd3ee173SDag-Erling Smørgrav_rndc=			rndc
205cd3ee173SDag-Erling Smørgrav_rndc-confgen=		rndc-confgen
206d10a8d6cSRuslan Ermilov.endif
207d10a8d6cSRuslan Ermilov
20823d1e148SMaksim Yevmenkin.if !defined(NO_BLUETOOTH)
20923d1e148SMaksim Yevmenkin_bluetooth=	bluetooth
21023d1e148SMaksim Yevmenkin.endif
21123d1e148SMaksim Yevmenkin
212d10a8d6cSRuslan Ermilov.if !defined(NOCRYPT) && !defined(NO_OPENSSL)
213d10a8d6cSRuslan Ermilov_keyserv=	keyserv
214d10a8d6cSRuslan Ermilov.endif
215d10a8d6cSRuslan Ermilov
216d10a8d6cSRuslan Ermilov.if !defined(NOINET6)
217d10a8d6cSRuslan Ermilov_mld6query=	mld6query
218d10a8d6cSRuslan Ermilov_rip6query=	rip6query
219d10a8d6cSRuslan Ermilov_route6d=	route6d
220d10a8d6cSRuslan Ermilov_traceroute6=	traceroute6
221d10a8d6cSRuslan Ermilov.endif
222d10a8d6cSRuslan Ermilov
223d10a8d6cSRuslan Ermilov.if !defined(NO_IPFILTER)
224d10a8d6cSRuslan Ermilov_ipftest=	ipftest
225d10a8d6cSRuslan Ermilov_ipresend=	ipresend
226d10a8d6cSRuslan Ermilov_ipsend=	ipsend
227d10a8d6cSRuslan Ermilov_iptest=	iptest
228d10a8d6cSRuslan Ermilov.endif
229d10a8d6cSRuslan Ermilov
2308d69c48bSMax Laier.if !defined(NO_PF) && !defined(NO_AUTHPF)
2318d69c48bSMax Laier_authpf=	authpf
2328d69c48bSMax Laier.endif
2338d69c48bSMax Laier
2348c0e8d96STim Vanderhoek.if !defined(NO_LPR)
235d10a8d6cSRuslan Ermilov_lpr=		lpr
2368c0e8d96STim Vanderhoek.endif
2378c0e8d96STim Vanderhoek
2385a85f025SPoul-Henning Kamp.if !defined(NO_SENDMAIL)
239d10a8d6cSRuslan Ermilov_editmap=	editmap
240d10a8d6cSRuslan Ermilov_mailstats=	mailstats
241d10a8d6cSRuslan Ermilov_makemap=	makemap
242d10a8d6cSRuslan Ermilov_praliases=	praliases
243d10a8d6cSRuslan Ermilov_sendmail=	sendmail
2445a85f025SPoul-Henning Kamp.endif
2455a85f025SPoul-Henning Kamp
246d10a8d6cSRuslan Ermilov.if !defined(NO_USB)
247d10a8d6cSRuslan Ermilov_usbd=		usbd
248d10a8d6cSRuslan Ermilov_usbdevs=	usbdevs
2492b51223fSStefan Eßer.endif
2502b51223fSStefan Eßer
25157628e38SOlivier Houchard.if ${MACHINE_ARCH} == "arm"
25257628e38SOlivier Houchard_kgmon=		kgmon
25357628e38SOlivier Houchard.endif
25457628e38SOlivier Houchard
2551a1536c1SJohn Birrell.if ${MACHINE_ARCH} == "i386"
2563bc2f9a8SPoul-Henning Kamp.if !defined(NO_ACPI)
257d10a8d6cSRuslan Ermilov_acpi=		acpi
2583bc2f9a8SPoul-Henning Kamp.endif
259d10a8d6cSRuslan Ermilov_apm=		apm
260d10a8d6cSRuslan Ermilov_apmd=		apmd
261d10a8d6cSRuslan Ermilov_asf=		asf
262d10a8d6cSRuslan Ermilov.if ${MACHINE} == "i386"
263a5663451SMax Khon_arlcontrol=	arlcontrol
264d10a8d6cSRuslan Ermilov_boot0cfg=	boot0cfg
265d10a8d6cSRuslan Ermilov.endif
266d10a8d6cSRuslan Ermilov.if ${MACHINE} == "pc98"
267d10a8d6cSRuslan Ermilov_boot98cfg=	boot98cfg
268d10a8d6cSRuslan Ermilov.endif
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_pcvt=		pcvt
282d10a8d6cSRuslan Ermilov_pnpinfo=	pnpinfo
2834543f32eSDaniel Eischen.if !defined(NOLIBPTHREAD)
2844543f32eSDaniel Eischen_pppctl=	pppctl
2854543f32eSDaniel Eischen.endif
286d10a8d6cSRuslan Ermilov_sicontrol=	sicontrol
287d10a8d6cSRuslan Ermilov_spkrtest=	spkrtest
288d10a8d6cSRuslan Ermilov_wlconfig=	wlconfig
289d10a8d6cSRuslan Ermilov_zzz=		zzz
290f3bb47ccSRuslan Ermilov.endif
2913bc2f9a8SPoul-Henning Kamp
292d10a8d6cSRuslan Ermilov.if ${MACHINE_ARCH} == "alpha"
293d10a8d6cSRuslan Ermilov_elf2exe=	elf2exe
294d10a8d6cSRuslan Ermilov_pnpinfo=	pnpinfo
2954543f32eSDaniel Eischen.if !defined(NOLIBC_R)
2964543f32eSDaniel Eischen_pppctl=	pppctl
2974543f32eSDaniel Eischen.endif
2980346a1deSMarcel Moolenaar.endif
2990346a1deSMarcel Moolenaar
30019f2b0e8SPeter Wemm# kgzip: builds, but missing support files
30119f2b0e8SPeter Wemm# mptable: broken (not 64 bit clean)
30219f2b0e8SPeter Wemm# pnpinfo: crashes (not really useful anyway)
303a6f4ec06SPeter Wemm.if ${MACHINE_ARCH} == "amd64"
304d10a8d6cSRuslan Ermilov.if !defined(NO_ACPI)
305d10a8d6cSRuslan Ermilov_acpi=		acpi
306d10a8d6cSRuslan Ermilov.endif
307d10a8d6cSRuslan Ermilov_asf=		asf
308d10a8d6cSRuslan Ermilov_boot0cfg=	boot0cfg
309d10a8d6cSRuslan Ermilov_btxld=		btxld
310be8282baSBruce Evans_kgmon=		kgmon
311d10a8d6cSRuslan Ermilov_lptcontrol=	lptcontrol
312d10a8d6cSRuslan Ermilov_mount_nwfs=	mount_nwfs
313d10a8d6cSRuslan Ermilov_mount_smbfs=	mount_smbfs
314d10a8d6cSRuslan Ermilov_mptable=	mptable
3154543f32eSDaniel Eischen.if !defined(NOLIBPTHREAD)
3164543f32eSDaniel Eischen_pppctl=	pppctl
3174543f32eSDaniel Eischen.endif
318d10a8d6cSRuslan Ermilov_sicontrol=	sicontrol
319d10a8d6cSRuslan Ermilov_spkrtest=	spkrtest
320d10a8d6cSRuslan Ermilov_zzz=		zzz
321a6f4ec06SPeter Wemm.endif
322a6f4ec06SPeter Wemm
323d10a8d6cSRuslan Ermilov.if ${MACHINE_ARCH} == "ia64"
324d10a8d6cSRuslan Ermilov.if !defined(NO_ACPI)
325d10a8d6cSRuslan Ermilov_acpi=		acpi
326c7961209SKATO Takenori.endif
327fb35b471SMarcel Moolenaar_kgmon=		kgmon
3284543f32eSDaniel Eischen.if !defined(NOLIBPTHREAD)
3294543f32eSDaniel Eischen_pppctl=	pppctl
3304543f32eSDaniel Eischen.endif
331d10a8d6cSRuslan Ermilov_zzz=		zzz
3326a70fca0SKATO Takenori.endif
333c7961209SKATO Takenori
3346f6ede92SThomas Moestl.if ${MACHINE_ARCH} == "sparc64"
335156e1decSMarius Strobl_eeprom=	eeprom
336d10a8d6cSRuslan Ermilov_ofwdump=	ofwdump
3374543f32eSDaniel Eischen.if !defined(NOLIBC_R)
3384543f32eSDaniel Eischen_pppctl=	pppctl
3394543f32eSDaniel Eischen.endif
340a8ec1b48SMaxim Sobolev.endif
341a8ec1b48SMaxim Sobolev
342dea673e9SRodney W. Grimes.include <bsd.subdir.mk>
343