Makefile revision 160929
18871Srgrimes#	From: @(#)Makefile	5.20 (Berkeley) 6/12/93
21558Srgrimes# $FreeBSD: head/usr.sbin/Makefile 160929 2006-08-02 17:16:48Z marcel $
31558Srgrimes
41558Srgrimes.include <bsd.own.mk>
51558Srgrimes
61558Srgrimes# XXX MISSING:		mkproto
71558SrgrimesSUBDIR=	ac \
81558Srgrimes	accton \
91558Srgrimes	${_acpi} \
101558Srgrimes	adduser \
111558Srgrimes	amd \
121558Srgrimes	ancontrol \
131558Srgrimes	${_apm} \
141558Srgrimes	${_apmd} \
151558Srgrimes	${_arlcontrol} \
161558Srgrimes	arp \
171558Srgrimes	${_audit} \
181558Srgrimes	${_auditd} \
191558Srgrimes	${_auditreduce} \
201558Srgrimes	${_asf} \
211558Srgrimes	${_atm} \
221558Srgrimes	${_authpf} \
231558Srgrimes	${_bluetooth} \
241558Srgrimes	${_boot0cfg} \
251558Srgrimes	${_boot98cfg} \
261558Srgrimes	bootparamd \
271558Srgrimes	bsnmpd \
281558Srgrimes	${_btxld} \
291558Srgrimes	burncd \
301558Srgrimes	${_cached} \
311558Srgrimes	cdcontrol \
321558Srgrimes	chkgrp \
331558Srgrimes	chown \
341558Srgrimes	chroot \
3541477Sjulian	ckdist \
3623675Speter	config \
3741477Sjulian	cron \
3841477Sjulian	crunch \
3950476Speter	ctm \
401558Srgrimes	daemon \
411558Srgrimes	dconschat \
421558Srgrimes	devinfo \
4362668Smckusick	digictl \
4474556Smckusick	diskinfo \
4523675Speter	${_dnssec-keygen} \
461558Srgrimes	${_dnssec-signzone} \
471558Srgrimes	${_editmap} \
481558Srgrimes	edquota \
4923675Speter	${_eeprom} \
5023675Speter	extattr \
51101037Smux	extattrctl \
521558Srgrimes	faithd \
5323675Speter	fdcontrol \
541558Srgrimes	fdformat \
551558Srgrimes	fdread \
5698542Smckusick	fdwrite \
5798542Smckusick	flowctl \
5841474Sjulian	fwcontrol \
591558Srgrimes	getfmac \
6092839Simp	getpmac \
617585Sbde	gstat \
627585Sbde	${_i4b} \
6392839Simp	ifmcstat \
641558Srgrimes	inetd \
6541474Sjulian	iostat \
661558Srgrimes	${_ip6addrctl} \
6798542Smckusick	ipfwpcap \
6898542Smckusick	${_IPXrouted} \
6998542Smckusick	jail \
7098542Smckusick	jexec \
711558Srgrimes	jls \
721558Srgrimes	kbdcontrol \
73102231Strhodes	kbdmap \
741558Srgrimes	${_keyserv} \
751558Srgrimes	${_kgmon} \
761558Srgrimes	${_kgzip} \
771558Srgrimes	kldxref \
781558Srgrimes	lastlogin \
791558Srgrimes	${_lpr} \
801558Srgrimes	${_lptcontrol} \
811558Srgrimes	lmcconfig \
821558Srgrimes	${_mailstats} \
831558Srgrimes	mailwrapper \
8469800Stomsoft	${_makemap} \
8569800Stomsoft	manctl \
8669800Stomsoft	memcontrol \
8769800Stomsoft	mergemaster \
8869800Stomsoft	mixer \
891558Srgrimes	${_mld6query} \
901558Srgrimes	mlxcontrol \
911558Srgrimes	mountd \
9223675Speter	${_mount_nwfs} \
931558Srgrimes	mount_portalfs \
941558Srgrimes	${_mount_smbfs} \
951558Srgrimes	moused \
9641474Sjulian	${_mptable} \
9741474Sjulian	mrouted \
9898542Smckusick	mtest \
9998542Smckusick	mtree \
10098542Smckusick	${_named} \
10198542Smckusick	${_named-checkconf} \
10298542Smckusick	${_named-checkzone} \
10370050Siedowse	${_named.reload} \
10470050Siedowse	${_ndiscvt} \
10570050Siedowse	${_ndp} \
10670050Siedowse	newsyslog \
10770050Siedowse	nfsd \
10870050Siedowse	ngctl \
10941474Sjulian	nghook \
11041474Sjulian	nologin \
11141474Sjulian	ntp \
11241474Sjulian	${_nvram} \
11341474Sjulian	${_ofwdump} \
11441474Sjulian	${_pccard} \
11541474Sjulian	pciconf \
11641474Sjulian	periodic \
11741474Sjulian	pkg_install \
11841474Sjulian	pmccontrol \
11998542Smckusick	pmcstat \
12041474Sjulian	${_pnpinfo} \
12141474Sjulian	portsnap \
12241474Sjulian	powerd \
12341474Sjulian	ppp \
12441474Sjulian	${_pppctl} \
12541474Sjulian	pppd \
12641474Sjulian	pppstats \
12741474Sjulian	${_praliases} \
12841474Sjulian	${_praudit} \
12941474Sjulian	procctl \
13041474Sjulian	pstat \
13141474Sjulian	pw \
13241474Sjulian	pwd_mkdb \
13341474Sjulian	quot \
13441474Sjulian	quotaon \
13541474Sjulian	rarpd \
13641474Sjulian	raycontrol \
13741474Sjulian	repquota \
13841474Sjulian	${_rip6query} \
13941474Sjulian	rmt \
14041474Sjulian	${_rndc} \
14141474Sjulian	${_rndc-confgen} \
14241474Sjulian	${_route6d} \
14341474Sjulian	rpcbind \
14441474Sjulian	rpc.lockd \
14541474Sjulian	rpc.statd \
14641474Sjulian	rpc.umntall \
14741474Sjulian	${_rpc.yppasswdd} \
14841474Sjulian	${_rpc.ypupdated} \
14941474Sjulian	${_rpc.ypxfrd} \
15041474Sjulian	${_rrenumd} \
15141474Sjulian	${_rtadvd} \
1521558Srgrimes	rtprio \
15341474Sjulian	${_rtsold} \
1541558Srgrimes	rwhod \
1551558Srgrimes	sa \
15641474Sjulian	${_sendmail} \
15741474Sjulian	setfmac \
15841474Sjulian	setpmac \
15941474Sjulian	${_sicontrol} \
16041474Sjulian	sliplogin \
16141474Sjulian	slstat \
16241474Sjulian	smbmsg \
16341474Sjulian	snapinfo \
16441474Sjulian	${_spkrtest} \
16598542Smckusick	spray \
16641474Sjulian	${_sysinstall} \
16798542Smckusick	syslogd \
16898542Smckusick	tcpdchk \
16941474Sjulian	tcpdmatch \
17041474Sjulian	tcpdrop \
17141474Sjulian	tcpdump \
17241474Sjulian	timed \
17341474Sjulian	traceroute \
17441474Sjulian	${_traceroute6} \
17541474Sjulian	trpt \
17641474Sjulian	tzsetup \
17741474Sjulian	ugidfw \
17841474Sjulian	${_usbdevs} \
17941474Sjulian	vidcontrol \
18041474Sjulian	vipw \
18141474Sjulian	vnconfig \
1821558Srgrimes	watch \
1831558Srgrimes	watchdogd \
1841558Srgrimes	wicontrol \
1851558Srgrimes	${_wlconfig} \
18623675Speter	wpa \
18792839Simp	${_ypbind} \
1881558Srgrimes	${_yp_mkdb} \
18998542Smckusick	${_yppoll} \
1901558Srgrimes	${_yppush} \
19198542Smckusick	${_ypserv} \
19298542Smckusick	${_ypset} \
1931558Srgrimes	zic \
19498542Smckusick	${_zzz}
1951558Srgrimes
1961558Srgrimes.if ${MACHINE_ARCH} != "arm"
19798542Smckusick_sysinstall=	sysinstall
1981558Srgrimes.endif
19998542Smckusick
20098542Smckusick.if ${MK_ATM} != "no"
20198542Smckusick_atm=		atm
20298542Smckusick.endif
20398542Smckusick
20498542Smckusick.if ${MK_AUDIT} != "no"
20598542Smckusick_audit= 	audit
20698542Smckusick_auditd=	auditd
20798542Smckusick_auditreduce=	auditreduce
20898542Smckusick_praudit=	praudit
20998542Smckusick.endif
21098542Smckusick
21186514Siedowse.if ${MK_BIND_DNSSEC} != "no" && ${MK_OPENSSL} != "no"
21286514Siedowse_dnssec-keygen=		dnssec-keygen
2131558Srgrimes_dnssec-signzone=	dnssec-signzone
2141558Srgrimes.endif
2151558Srgrimes.if ${MK_BIND_NAMED} != "no"
2161558Srgrimes_named=			named
2171558Srgrimes_named-checkconf=	named-checkconf
2181558Srgrimes_named-checkzone=	named-checkzone
21941474Sjulian_named.reload=		named.reload
2201558Srgrimes_rndc=			rndc
2211558Srgrimes_rndc-confgen=		rndc-confgen
2221558Srgrimes.endif
22371884Siedowse
22498888Siedowse.if ${MK_BLUETOOTH} != "no"
22598888Siedowse_bluetooth=	bluetooth
22698888Siedowse.endif
22798888Siedowse
22898542Smckusick.if ${MK_NS_CACHING} != "no"
22998542Smckusick_cached=       cached
23098542Smckusick.endif
2311558Srgrimes
232101037Smux.if ${MK_OPENSSL} != "no"
2331558Srgrimes_keyserv=	keyserv
2341558Srgrimes.endif
2351558Srgrimes
2361558Srgrimes.if ${MK_INET6} != "no"
23798542Smckusick_ip6addrctl=	ip6addrctl
23898542Smckusick_mld6query=	mld6query
2391558Srgrimes_ndp=		ndp
2401558Srgrimes_rip6query=	rip6query
24163003Smckusick_route6d=	route6d
24298542Smckusick_rrenumd=	rrenumd
24363003Smckusick_rtadvd=	rtadvd
244101037Smux_rtsold=	rtsold
245101037Smux_traceroute6=	traceroute6
24663003Smckusick.endif
24763003Smckusick
24898542Smckusick.if ${MK_IPX} != "no"
24998542Smckusick_IPXrouted=	IPXrouted
25072525Stegge.endif
25172525Stegge
25272525Stegge.if ${MK_NIS} != "no"
25372525Stegge_rpc.yppasswdd=	rpc.yppasswdd
25498542Smckusick_rpc.ypupdated=	rpc.ypupdated
2551558Srgrimes_rpc.ypxfrd=	rpc.ypxfrd
2561558Srgrimes_ypbind=	ypbind
257101037Smux_yp_mkdb=	yp_mkdb
258101037Smux_yppoll=	yppoll
2591558Srgrimes_yppush=	yppush
2601558Srgrimes_ypserv=	ypserv
2611558Srgrimes_ypset=		ypset
2621558Srgrimes.endif
2631558Srgrimes
2641558Srgrimes.if ${MK_AUTHPF} != "no"
2651558Srgrimes_authpf=	authpf
2661558Srgrimes.endif
2671558Srgrimes
26898542Smckusick.if ${MK_LPR} != "no"
26998542Smckusick_lpr=		lpr
27098542Smckusick.endif
27198542Smckusick
27298542Smckusick.if ${MK_SENDMAIL} != "no"
27398542Smckusick_editmap=	editmap
27498542Smckusick_mailstats=	mailstats
2751558Srgrimes_makemap=	makemap
2761558Srgrimes_praliases=	praliases
2771558Srgrimes_sendmail=	sendmail
2781558Srgrimes.endif
2791558Srgrimes
2801558Srgrimes.if ${MK_USB} != "no"
2811558Srgrimes_usbdevs=	usbdevs
2821558Srgrimes.endif
28398879Siedowse
28498542Smckusick.if ${MACHINE_ARCH} == "arm"
2851558Srgrimes_kgmon=		kgmon
286101037Smux.endif
287101037Smux
2881558Srgrimes.if ${MACHINE_ARCH} == "i386"
2891558Srgrimes_apm=		apm
2901558Srgrimes_apmd=		apmd
2911558Srgrimes_asf=		asf
2921558Srgrimes_btxld=		btxld
29398542Smckusick.if ${MK_I4B} != "no"
2941558Srgrimes_i4b=		i4b
295101037Smux.endif
296101037Smux_kgmon=		kgmon
2971558Srgrimes_kgzip=		kgzip
2981558Srgrimes_lptcontrol=	lptcontrol
2991558Srgrimes.if ${MK_NCP} != "no"
3001558Srgrimes_mount_nwfs=	mount_nwfs
3011558Srgrimes.endif
30298542Smckusick_mount_smbfs=	mount_smbfs
30398542Smckusick_mptable=	mptable
3041558Srgrimes_ndiscvt=	ndiscvt
3051558Srgrimes_pccard=	pccard
3061558Srgrimes_pnpinfo=	pnpinfo
30734266Sjulian.if ${MK_LIBPTHREAD} != "no"
30834266Sjulian_pppctl=	pppctl
30923675Speter.endif
31034266Sjulian_sicontrol=	sicontrol
3111558Srgrimes_spkrtest=	spkrtest
3121558Srgrimes_zzz=		zzz
3131558Srgrimes.if ${MACHINE} == "i386" 
3141558Srgrimes.if ${MK_ACPI} != "no"
3151558Srgrimes_acpi=		acpi
3161558Srgrimes.endif
3171558Srgrimes_arlcontrol=	arlcontrol
31898542Smckusick_boot0cfg=	boot0cfg
31941474Sjulian_wlconfig=	wlconfig
3201558Srgrimes.elif ${MACHINE} == "pc98"
32141474Sjulian_boot98cfg=	boot98cfg
3221558Srgrimes.endif
32341474Sjulian.endif
3241558Srgrimes
32541474Sjulian# kgzip: builds, but missing support files
32641474Sjulian# mptable: broken (not 64 bit clean)
3271558Srgrimes# pnpinfo: crashes (not really useful anyway)
3281558Srgrimes.if ${MACHINE_ARCH} == "amd64"
32998542Smckusick.if ${MK_ACPI} != "no"
33062668Smckusick_acpi=		acpi
33162668Smckusick.endif
33262668Smckusick_asf=		asf
3331558Srgrimes_boot0cfg=	boot0cfg
334103398Sphk_btxld=		btxld
335103398Sphk_kgmon=		kgmon
3361558Srgrimes_lptcontrol=	lptcontrol
33798542Smckusick.if ${MK_NCP} != "no"
338101037Smux_mount_nwfs=	mount_nwfs
339101037Smux.endif
340101037Smux_mount_smbfs=	mount_smbfs
3411558Srgrimes_mptable=	mptable
3421558Srgrimes_ndiscvt=	ndiscvt
3431558Srgrimes.if ${MK_LIBPTHREAD} != "no"
3441558Srgrimes_pppctl=	pppctl
34574556Smckusick.endif
34674556Smckusick_sicontrol=	sicontrol
34798542Smckusick_spkrtest=	spkrtest
34874556Smckusick_zzz=		zzz
34974556Smckusick.endif
35074556Smckusick
35198542Smckusick.if ${MACHINE_ARCH} == "ia64"
35274556Smckusick.if ${MK_ACPI} != "no"
353101037Smux_acpi=		acpi
354101037Smux.endif
35574556Smckusick_kgmon=		kgmon
35674556Smckusick.if ${MK_LIBPTHREAD} != "no"
35774556Smckusick_pppctl=	pppctl
35874556Smckusick.endif
3591558Srgrimes_zzz=		zzz
3601558Srgrimes.endif
3611558Srgrimes
36286514Siedowse.if ${MACHINE_ARCH} == "powerpc"
36341474Sjulian_mount_smbfs=	mount_smbfs
3641558Srgrimes_nvram=		nvram
36541474Sjulian.endif
3661558Srgrimes
3671558Srgrimes.if ${MACHINE_ARCH} == "sparc64"
3681558Srgrimes_eeprom=	eeprom
3691558Srgrimes_ofwdump=	ofwdump
3701558Srgrimes.if ${MK_LIBTHR} != "no"
3711558Srgrimes_pppctl=	pppctl
3727585Sbde.endif
37392839Simp.endif
3741558Srgrimes
3751558Srgrimes.include <bsd.subdir.mk>
3761558Srgrimes