xref: /freebsd/usr.sbin/Makefile (revision 8d69c48be5f42f9477e1525587f495d6c7714c4a)
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} \
130451ac36SGary Palmer	arp \
14d10a8d6cSRuslan Ermilov	${_asf} \
15d10a8d6cSRuslan Ermilov	${_atm} \
168d69c48bSMax Laier	${_authpf} \
17d10a8d6cSRuslan Ermilov	${_bluetooth} \
18d10a8d6cSRuslan Ermilov	${_boot0cfg} \
19d10a8d6cSRuslan Ermilov	${_boot98cfg} \
200451ac36SGary Palmer	bootparamd \
215597389cSHartmut Brandt	bsnmpd \
22d10a8d6cSRuslan Ermilov	${_btxld} \
236d73a68aSSøren Schmidt	burncd \
240451ac36SGary Palmer	cdcontrol \
250451ac36SGary Palmer	chkgrp \
260451ac36SGary Palmer	chown \
270451ac36SGary Palmer	chroot \
280451ac36SGary Palmer	ckdist \
290451ac36SGary Palmer	config \
300451ac36SGary Palmer	cron \
313c817e2cSBruce Evans	crunch \
320451ac36SGary Palmer	ctm \
33bd06a3ecSMike Barcroft	daemon \
34869093b1SHidetoshi Shimokawa	dconschat \
350fb0f418SMike Smith	devinfo \
36ad01e0c8SBrian Somers	digictl \
37a362eb63SPoul-Henning Kamp	diskinfo \
38d10a8d6cSRuslan Ermilov	${_editmap} \
390451ac36SGary Palmer	edquota \
40d10a8d6cSRuslan Ermilov	${_elf2exe} \
41caefa400SPoul-Henning Kamp	extattr \
429754f5b6SRobert Watson	extattrctl \
434dd8b5abSYoshinobu Inoue	faithd \
4418443fbdSMatt Jacob	fdcontrol \
4518443fbdSMatt Jacob	fdformat \
46146e5df7SJoerg Wunsch	fdread \
4718443fbdSMatt Jacob	fdwrite \
48a7a73b95SHidetoshi Shimokawa	fwcontrol \
495b38a427SRobert Watson	getfmac \
505b38a427SRobert Watson	getpmac \
5154a8adabSPoul-Henning Kamp	gstat \
52d10a8d6cSRuslan Ermilov	${_i4b} \
53123689d3SYoshinobu Inoue	ifmcstat \
540451ac36SGary Palmer	inetd \
555c9036d5SDima Ruban	iostat \
56f71d0e11SHajimu UMEMOTO	ip6addrctl \
57d10a8d6cSRuslan Ermilov	${_ipftest} \
58d10a8d6cSRuslan Ermilov	${_ipresend} \
59d10a8d6cSRuslan Ermilov	${_ipsend} \
60d10a8d6cSRuslan Ermilov	${_iptest} \
6193970e26SRuslan Ermilov	IPXrouted \
6275c13541SPoul-Henning Kamp	jail \
63ebf5d9bcSMike Barcroft	jexec \
64ebf5d9bcSMike Barcroft	jls \
655c9036d5SDima Ruban	kbdcontrol \
665c9036d5SDima Ruban	kbdmap \
670451ac36SGary Palmer	kernbb \
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} \
95d10a8d6cSRuslan Ermilov	${_named.restart} \
96d10a8d6cSRuslan Ermilov	${_ndc} \
97d10a8d6cSRuslan Ermilov	${_ndiscvt} \
989a4365d0SYoshinobu Inoue	ndp \
990451ac36SGary Palmer	newsyslog \
1008f40768aSGordon Tetlow	nfsd \
1014cf49a43SJulian Elischer	ngctl \
1024cf49a43SJulian Elischer	nghook \
103d10a8d6cSRuslan Ermilov	${_nslookup} \
104d10a8d6cSRuslan Ermilov	${_nsupdate} \
105d10a8d6cSRuslan Ermilov	ntp \
106d10a8d6cSRuslan Ermilov	${_ofwdump} \
107d10a8d6cSRuslan Ermilov	${_pccard} \
1080451ac36SGary Palmer	pciconf \
109d10a8d6cSRuslan Ermilov	${_pcvt/ispcvt} \
110d10a8d6cSRuslan Ermilov	${_pcvt} \
1110451ac36SGary Palmer	periodic \
1120451ac36SGary Palmer	pkg_install \
113d10a8d6cSRuslan Ermilov	${_pnpinfo} \
1147dd68385SPeter Wemm	ppp \
115d10a8d6cSRuslan Ermilov	${_pppctl} \
116ec480a97SPeter Wemm	pppd \
1170451ac36SGary Palmer	pppstats \
118d10a8d6cSRuslan Ermilov	${_praliases} \
1190451ac36SGary Palmer	procctl \
1200451ac36SGary Palmer	pstat \
1210451ac36SGary Palmer	pw \
1220451ac36SGary Palmer	pwd_mkdb \
1230451ac36SGary Palmer	quot \
1240451ac36SGary Palmer	quotaon \
1250451ac36SGary Palmer	rarpd \
1264e1921abSWarner Losh	raycontrol \
1270451ac36SGary Palmer	repquota \
128d10a8d6cSRuslan Ermilov	${_rip6query} \
1290451ac36SGary Palmer	rmt \
130d10a8d6cSRuslan Ermilov	${_route6d} \
1318360efbdSAlfred Perlstein	rpcbind \
1320451ac36SGary Palmer	rpc.lockd \
1330451ac36SGary Palmer	rpc.statd \
134c69a34d4SMatthew Dillon	rpc.umntall \
1350451ac36SGary Palmer	rpc.yppasswdd \
1360451ac36SGary Palmer	rpc.ypupdated \
1373c817e2cSBruce Evans	rpc.ypxfrd \
1389a4365d0SYoshinobu Inoue	rrenumd \
1399a4365d0SYoshinobu Inoue	rtadvd \
1405c9036d5SDima Ruban	rtprio \
141123689d3SYoshinobu Inoue	rtsold \
1420451ac36SGary Palmer	rwhod \
1430451ac36SGary Palmer	sa \
144d10a8d6cSRuslan Ermilov	${_sendmail} \
1455b38a427SRobert Watson	setfmac \
1469a4365d0SYoshinobu Inoue	setkey \
1475b38a427SRobert Watson	setpmac \
148d10a8d6cSRuslan Ermilov	${_sgsc} \
149d10a8d6cSRuslan Ermilov	${_sicontrol} \
1500451ac36SGary Palmer	sliplogin \
1510451ac36SGary Palmer	slstat \
152d10a8d6cSRuslan Ermilov	${_spkrtest} \
1530451ac36SGary Palmer	spray \
154d10a8d6cSRuslan Ermilov	${_stallion} \
1550bc81187SDavid E. O'Brien	${_sysinstall} \
1560451ac36SGary Palmer	syslogd \
1578d4b20e3SMark Murray	tcpdchk \
1588d4b20e3SMark Murray	tcpdmatch \
1590acc1823SDavid E. O'Brien	tcpdump \
1600451ac36SGary Palmer	timed \
1610451ac36SGary Palmer	traceroute \
162d10a8d6cSRuslan Ermilov	${_traceroute6} \
1630451ac36SGary Palmer	trpt \
1640451ac36SGary Palmer	tzsetup \
16534d26f04SRobert Watson	ugidfw \
166d10a8d6cSRuslan Ermilov	${_usbd} \
167d10a8d6cSRuslan Ermilov	${_usbdevs} \
1685c9036d5SDima Ruban	vidcontrol \
1690451ac36SGary Palmer	vipw \
1700451ac36SGary Palmer	vnconfig \
1710451ac36SGary Palmer	watch \
172370c3cb5SSean Kelly	watchdogd \
1733df8ada3SPeter Wemm	wicontrol \
174d10a8d6cSRuslan Ermilov	${_wlconfig} \
1753c817e2cSBruce Evans	ypbind \
176d10a8d6cSRuslan Ermilov	yp_mkdb \
1770451ac36SGary Palmer	yppoll \
1780451ac36SGary Palmer	yppush \
1790451ac36SGary Palmer	ypserv \
1803c817e2cSBruce Evans	ypset \
181d10a8d6cSRuslan Ermilov	zic \
182d10a8d6cSRuslan Ermilov	${_zzz}
183d10a8d6cSRuslan Ermilov
184d10a8d6cSRuslan Ermilov.if ${MACHINE_ARCH} != "powerpc"
185d10a8d6cSRuslan Ermilov_sysinstall=	sysinstall
186d10a8d6cSRuslan Ermilov.endif
1875021f740SPeter Wemm
188dd0b8d3cSPoul-Henning Kamp.if !defined(NOATM)
189d10a8d6cSRuslan Ermilov_atm=		atm
190ab5e5d7bSPeter Wemm.endif
191ab5e5d7bSPeter Wemm
19244248f45SPeter Wemm.if !defined(NO_BIND)
193d10a8d6cSRuslan Ermilov_named=		named
194d10a8d6cSRuslan Ermilov_named.reload=	named.reload
195d10a8d6cSRuslan Ermilov_named.restart=	named.restart
196d10a8d6cSRuslan Ermilov_ndc=		ndc
197d10a8d6cSRuslan Ermilov_nslookup=	nslookup
198d10a8d6cSRuslan Ermilov_nsupdate=	nsupdate
199d10a8d6cSRuslan Ermilov.endif
200d10a8d6cSRuslan Ermilov
201d10a8d6cSRuslan Ermilov.if !defined(NOCRYPT) && !defined(NO_OPENSSL)
202d10a8d6cSRuslan Ermilov_keyserv=	keyserv
203d10a8d6cSRuslan Ermilov.endif
204d10a8d6cSRuslan Ermilov
205d10a8d6cSRuslan Ermilov.if !defined(NOINET6)
206d10a8d6cSRuslan Ermilov_mld6query=	mld6query
207d10a8d6cSRuslan Ermilov_rip6query=	rip6query
208d10a8d6cSRuslan Ermilov_route6d=	route6d
209d10a8d6cSRuslan Ermilov_traceroute6=	traceroute6
210d10a8d6cSRuslan Ermilov.endif
211d10a8d6cSRuslan Ermilov
212d10a8d6cSRuslan Ermilov.if !defined(NO_IPFILTER)
213d10a8d6cSRuslan Ermilov_ipftest=	ipftest
214d10a8d6cSRuslan Ermilov_ipresend=	ipresend
215d10a8d6cSRuslan Ermilov_ipsend=	ipsend
216d10a8d6cSRuslan Ermilov_iptest=	iptest
217d10a8d6cSRuslan Ermilov.endif
218d10a8d6cSRuslan Ermilov
2198d69c48bSMax Laier.if !defined(NO_PF) && !defined(NO_AUTHPF)
2208d69c48bSMax Laier_authpf=	authpf
2218d69c48bSMax Laier.endif
2228d69c48bSMax Laier
2238c0e8d96STim Vanderhoek.if !defined(NO_LPR)
224d10a8d6cSRuslan Ermilov_lpr=		lpr
2258c0e8d96STim Vanderhoek.endif
2268c0e8d96STim Vanderhoek
2275a85f025SPoul-Henning Kamp.if !defined(NO_SENDMAIL)
228d10a8d6cSRuslan Ermilov_editmap=	editmap
229d10a8d6cSRuslan Ermilov_mailstats=	mailstats
230d10a8d6cSRuslan Ermilov_makemap=	makemap
231d10a8d6cSRuslan Ermilov_praliases=	praliases
232d10a8d6cSRuslan Ermilov_sendmail=	sendmail
2335a85f025SPoul-Henning Kamp.endif
2345a85f025SPoul-Henning Kamp
235d10a8d6cSRuslan Ermilov.if !defined(NO_USB)
236d10a8d6cSRuslan Ermilov_usbd=		usbd
237d10a8d6cSRuslan Ermilov_usbdevs=	usbdevs
2382b51223fSStefan Eßer.endif
2392b51223fSStefan Eßer
2401a1536c1SJohn Birrell.if ${MACHINE_ARCH} == "i386"
2413bc2f9a8SPoul-Henning Kamp.if !defined(NO_ACPI)
242d10a8d6cSRuslan Ermilov_acpi=		acpi
2433bc2f9a8SPoul-Henning Kamp.endif
244d10a8d6cSRuslan Ermilov_apm=		apm
245d10a8d6cSRuslan Ermilov_apmd=		apmd
246d10a8d6cSRuslan Ermilov_asf=		asf
24718d948adSMaksim Yevmenkin.if !defined(NO_BLUETOOTH)
248d10a8d6cSRuslan Ermilov_bluetooth=	bluetooth
24918d948adSMaksim Yevmenkin.endif
250d10a8d6cSRuslan Ermilov.if ${MACHINE} == "i386"
251d10a8d6cSRuslan Ermilov_boot0cfg=	boot0cfg
252d10a8d6cSRuslan Ermilov.endif
253d10a8d6cSRuslan Ermilov.if ${MACHINE} == "pc98"
254d10a8d6cSRuslan Ermilov_boot98cfg=	boot98cfg
255d10a8d6cSRuslan Ermilov.endif
256d10a8d6cSRuslan Ermilov_btxld=		btxld
257f3bb47ccSRuslan Ermilov.if !defined(NO_I4B)
258d10a8d6cSRuslan Ermilov_i4b=		i4b
259d10a8d6cSRuslan Ermilov.endif
260d10a8d6cSRuslan Ermilov_kgmon=		kgmon
261d10a8d6cSRuslan Ermilov_kgzip=		kgzip
262d10a8d6cSRuslan Ermilov_lptcontrol=	lptcontrol
263d10a8d6cSRuslan Ermilov_mount_nwfs=	mount_nwfs
264d10a8d6cSRuslan Ermilov_mount_smbfs=	mount_smbfs
265d10a8d6cSRuslan Ermilov_mptable=	mptable
266d10a8d6cSRuslan Ermilov_ndiscvt=	ndiscvt
267d10a8d6cSRuslan Ermilov_pccard=	pccard
268d10a8d6cSRuslan Ermilov_pcvt=		pcvt
269d10a8d6cSRuslan Ermilov_pnpinfo=	pnpinfo
2704543f32eSDaniel Eischen.if !defined(NOLIBPTHREAD)
2714543f32eSDaniel Eischen_pppctl=	pppctl
2724543f32eSDaniel Eischen.endif
273d10a8d6cSRuslan Ermilov_sgsc=		sgsc
274d10a8d6cSRuslan Ermilov_sicontrol=	sicontrol
275d10a8d6cSRuslan Ermilov_spkrtest=	spkrtest
276d10a8d6cSRuslan Ermilov_stallion=	stallion
277d10a8d6cSRuslan Ermilov_wlconfig=	wlconfig
278d10a8d6cSRuslan Ermilov_zzz=		zzz
279f3bb47ccSRuslan Ermilov.endif
2803bc2f9a8SPoul-Henning Kamp
281d10a8d6cSRuslan Ermilov.if ${MACHINE_ARCH} == "alpha"
282d10a8d6cSRuslan Ermilov_elf2exe=	elf2exe
283d10a8d6cSRuslan Ermilov_pnpinfo=	pnpinfo
2844543f32eSDaniel Eischen.if !defined(NOLIBC_R)
2854543f32eSDaniel Eischen_pppctl=	pppctl
2864543f32eSDaniel Eischen.endif
2870346a1deSMarcel Moolenaar.endif
2880346a1deSMarcel Moolenaar
28919f2b0e8SPeter Wemm# kgmon: builds, but no kernel profiling
29019f2b0e8SPeter Wemm# kgzip: builds, but missing support files
29119f2b0e8SPeter Wemm# mptable: broken (not 64 bit clean)
29219f2b0e8SPeter Wemm# pnpinfo: crashes (not really useful anyway)
293a6f4ec06SPeter Wemm.if ${MACHINE_ARCH} == "amd64"
294d10a8d6cSRuslan Ermilov.if !defined(NO_ACPI)
295d10a8d6cSRuslan Ermilov_acpi=		acpi
296d10a8d6cSRuslan Ermilov.endif
297d10a8d6cSRuslan Ermilov_asf=		asf
298d10a8d6cSRuslan Ermilov_boot0cfg=	boot0cfg
299d10a8d6cSRuslan Ermilov_btxld=		btxld
300d10a8d6cSRuslan Ermilov_lptcontrol=	lptcontrol
301d10a8d6cSRuslan Ermilov_mount_nwfs=	mount_nwfs
302d10a8d6cSRuslan Ermilov_mount_smbfs=	mount_smbfs
303d10a8d6cSRuslan Ermilov_mptable=	mptable
304d10a8d6cSRuslan Ermilov_pcvt/ispcvt=	pcvt/ispcvt
3054543f32eSDaniel Eischen.if !defined(NOLIBPTHREAD)
3064543f32eSDaniel Eischen_pppctl=	pppctl
3074543f32eSDaniel Eischen.endif
308d10a8d6cSRuslan Ermilov_sicontrol=	sicontrol
309d10a8d6cSRuslan Ermilov_spkrtest=	spkrtest
310d10a8d6cSRuslan Ermilov_zzz=		zzz
311a6f4ec06SPeter Wemm.endif
312a6f4ec06SPeter Wemm
313d10a8d6cSRuslan Ermilov.if ${MACHINE_ARCH} == "ia64"
314d10a8d6cSRuslan Ermilov.if !defined(NO_ACPI)
315d10a8d6cSRuslan Ermilov_acpi=		acpi
316c7961209SKATO Takenori.endif
3174543f32eSDaniel Eischen.if !defined(NOLIBPTHREAD)
3184543f32eSDaniel Eischen_pppctl=	pppctl
3194543f32eSDaniel Eischen.endif
320d10a8d6cSRuslan Ermilov_zzz=		zzz
3216a70fca0SKATO Takenori.endif
322c7961209SKATO Takenori
3236f6ede92SThomas Moestl.if ${MACHINE_ARCH} == "sparc64"
324d10a8d6cSRuslan Ermilov_ofwdump=	ofwdump
3254543f32eSDaniel Eischen.if !defined(NOLIBC_R)
3264543f32eSDaniel Eischen_pppctl=	pppctl
3274543f32eSDaniel Eischen.endif
328a8ec1b48SMaxim Sobolev.endif
329a8ec1b48SMaxim Sobolev
330dea673e9SRodney W. Grimes.include <bsd.subdir.mk>
331