xref: /freebsd/usr.sbin/Makefile (revision 54a8adabd35217d6e803288c73bdc203be6b904f)
1886e832bSGarrett Wollman#	From: @(#)Makefile	5.20 (Berkeley) 6/12/93
297d92980SPeter Wemm# $FreeBSD$
3dea673e9SRodney W. Grimes
40bc81187SDavid E. O'Brien.if ${MACHINE_ARCH} != "powerpc"
50bc81187SDavid E. O'Brien_sysinstall=sysinstall
60bc81187SDavid E. O'Brien.endif
70bc81187SDavid E. O'Brien
878eb91b4SDavid Greenman# XXX MISSING:		mkproto
93c817e2cSBruce EvansSUBDIR=	IPXrouted \
103c817e2cSBruce Evans	ac \
110451ac36SGary Palmer	accton \
120451ac36SGary Palmer	adduser \
130451ac36SGary Palmer	amd \
14261b9b30SBill Paul	ancontrol \
150451ac36SGary Palmer	arp \
163f8c4506SPoul-Henning Kamp	atm \
170451ac36SGary Palmer	bootparamd \
186d73a68aSSøren Schmidt	burncd \
190451ac36SGary Palmer	cdcontrol \
200451ac36SGary Palmer	chkgrp \
210451ac36SGary Palmer	chown \
220451ac36SGary Palmer	chroot \
230451ac36SGary Palmer	ckdist \
240451ac36SGary Palmer	config \
250451ac36SGary Palmer	cron \
263c817e2cSBruce Evans	crunch \
270451ac36SGary Palmer	ctm \
28bd06a3ecSMike Barcroft	daemon \
290451ac36SGary Palmer	dev_mkdb \
300fb0f418SMike Smith	devinfo \
31ad01e0c8SBrian Somers	digictl \
320451ac36SGary Palmer	edquota \
33caefa400SPoul-Henning Kamp	extattr \
349754f5b6SRobert Watson	extattrctl \
354dd8b5abSYoshinobu Inoue	faithd \
3618443fbdSMatt Jacob	fdcontrol \
3718443fbdSMatt Jacob	fdformat \
38146e5df7SJoerg Wunsch	fdread \
3918443fbdSMatt Jacob	fdwrite \
40a7a73b95SHidetoshi Shimokawa	fwcontrol \
415b38a427SRobert Watson	getfmac \
425b38a427SRobert Watson	getpmac \
4354a8adabSPoul-Henning Kamp	gstat \
44123689d3SYoshinobu Inoue	ifmcstat \
450451ac36SGary Palmer	inetd \
465c9036d5SDima Ruban	iostat \
4775c13541SPoul-Henning Kamp	jail \
485c9036d5SDima Ruban	kbdcontrol \
495c9036d5SDima Ruban	kbdmap \
500451ac36SGary Palmer	kernbb \
519c6f9240SPeter Wemm	kldxref \
52b3b01ff3SRuslan Ermilov	lastlogin \
53cccce27aSPeter Wemm	mailwrapper \
540451ac36SGary Palmer	manctl \
550adc9d60SMike Smith	memcontrol \
5624ff9bb5SBill Fumerola	mergemaster \
57c7805c63SDoug Rabson	mixer \
58a00dc7b4SHajimu UMEMOTO	mld6query \
59f6f23e2cSMike Smith	mlxcontrol \
608f40768aSGordon Tetlow	mountd \
615c9036d5SDima Ruban	moused \
620451ac36SGary Palmer	mrouted \
630451ac36SGary Palmer	mtest \
640451ac36SGary Palmer	mtree \
659a4365d0SYoshinobu Inoue	ndp \
660451ac36SGary Palmer	newsyslog \
678f40768aSGordon Tetlow	nfsd \
684cf49a43SJulian Elischer	ngctl \
69ad1e4180SOllivier Robert	ntp \
704cf49a43SJulian Elischer	nghook \
710451ac36SGary Palmer	pciconf \
720451ac36SGary Palmer	periodic \
730451ac36SGary Palmer	pkg_install \
740451ac36SGary Palmer	ppp \
750451ac36SGary Palmer	pppd \
760451ac36SGary Palmer	pppstats \
770451ac36SGary Palmer	procctl \
780451ac36SGary Palmer	pstat \
790451ac36SGary Palmer	pw \
800451ac36SGary Palmer	pwd_mkdb \
810451ac36SGary Palmer	quot \
820451ac36SGary Palmer	quotaon \
830451ac36SGary Palmer	rarpd \
844e1921abSWarner Losh	raycontrol \
850451ac36SGary Palmer	repquota \
86123689d3SYoshinobu Inoue	rip6query \
870451ac36SGary Palmer	rmt \
88123689d3SYoshinobu Inoue	route6d \
898360efbdSAlfred Perlstein	rpcbind \
900451ac36SGary Palmer	rpc.lockd \
910451ac36SGary Palmer	rpc.statd \
92c69a34d4SMatthew Dillon	rpc.umntall \
930451ac36SGary Palmer	rpc.yppasswdd \
940451ac36SGary Palmer	rpc.ypupdated \
953c817e2cSBruce Evans	rpc.ypxfrd \
969a4365d0SYoshinobu Inoue	rrenumd \
979a4365d0SYoshinobu Inoue	rtadvd \
985c9036d5SDima Ruban	rtprio \
99123689d3SYoshinobu Inoue	rtsold \
1000451ac36SGary Palmer	rwhod \
1010451ac36SGary Palmer	sa \
1025b38a427SRobert Watson	setfmac \
1039a4365d0SYoshinobu Inoue	setkey \
1045b38a427SRobert Watson	setpmac \
1050451ac36SGary Palmer	sliplogin \
1060451ac36SGary Palmer	slstat \
1070451ac36SGary Palmer	spray \
1080bc81187SDavid E. O'Brien	${_sysinstall} \
1090451ac36SGary Palmer	syslogd \
1108d4b20e3SMark Murray	tcpdchk \
1118d4b20e3SMark Murray	tcpdmatch \
1120acc1823SDavid E. O'Brien	tcpdump \
1130451ac36SGary Palmer	timed \
1140451ac36SGary Palmer	traceroute \
115123689d3SYoshinobu Inoue	traceroute6 \
1160451ac36SGary Palmer	trpt \
1170451ac36SGary Palmer	tzsetup \
11834d26f04SRobert Watson	ugidfw \
1197c0a08f3SNick Hibma	usbd \
1207c0a08f3SNick Hibma	usbdevs \
1215c9036d5SDima Ruban	vidcontrol \
1220451ac36SGary Palmer	vipw \
1230451ac36SGary Palmer	vnconfig \
1240451ac36SGary Palmer	watch \
1253df8ada3SPeter Wemm	wicontrol \
1260451ac36SGary Palmer	xten \
1270451ac36SGary Palmer	yp_mkdb \
1283c817e2cSBruce Evans	ypbind \
1290451ac36SGary Palmer	yppoll \
1300451ac36SGary Palmer	yppush \
1310451ac36SGary Palmer	ypserv \
1323c817e2cSBruce Evans	ypset \
1333c817e2cSBruce Evans	zic
1345021f740SPeter Wemm
1357a43a96aSRuslan Ermilov.if !defined(NO_IPFILTER)
1367a43a96aSRuslan ErmilovSUBDIR+=ipftest \
1377a43a96aSRuslan Ermilov	ipresend \
1387a43a96aSRuslan Ermilov	ipsend \
1397a43a96aSRuslan Ermilov	iptest
1407a43a96aSRuslan Ermilov.endif
1417a43a96aSRuslan Ermilov
142d8851469SMarcel Moolenaar.if !defined(NOLIBC_R)
143ab5e5d7bSPeter WemmSUBDIR+=pppctl
144ab5e5d7bSPeter Wemm.endif
145ab5e5d7bSPeter Wemm
14644248f45SPeter Wemm.if !defined(NO_BIND)
147fe6d3fe5SPeter WemmSUBDIR+=named \
148fe6d3fe5SPeter Wemm	named.reload \
149fe6d3fe5SPeter Wemm	named.restart \
150fe6d3fe5SPeter Wemm	ndc \
151fe6d3fe5SPeter Wemm	nslookup \
152fe6d3fe5SPeter Wemm	nsupdate
153fe6d3fe5SPeter Wemm.endif
154fe6d3fe5SPeter Wemm
1558c0e8d96STim Vanderhoek.if !defined(NO_LPR)
1568c0e8d96STim VanderhoekSUBDIR+=lpr
1578c0e8d96STim Vanderhoek.endif
1588c0e8d96STim Vanderhoek
1595a85f025SPoul-Henning Kamp.if !defined(NO_SENDMAIL)
16040b36f54SGregory Neil ShapiroSUBDIR+=editmap \
16140b36f54SGregory Neil Shapiro	mailstats \
1620451ac36SGary Palmer	makemap \
1630451ac36SGary Palmer	praliases \
1640451ac36SGary Palmer	sendmail
1655a85f025SPoul-Henning Kamp.endif
1665a85f025SPoul-Henning Kamp
1672b51223fSStefan Eßer.if ${MACHINE_ARCH} == "alpha"
168ab5e5d7bSPeter WemmSUBDIR+=elf2exe \
169ab5e5d7bSPeter Wemm	pnpinfo
1702b51223fSStefan Eßer.endif
1712b51223fSStefan Eßer
1721a1536c1SJohn Birrell.if ${MACHINE_ARCH} == "i386"
173ba677615SMitsuru IWASAKISUBDIR+=acpi \
174ba677615SMitsuru IWASAKI	apm \
17507c279cdSMitsuru IWASAKI	apmd \
1763c817e2cSBruce Evans	btxld \
1773c817e2cSBruce Evans	kgmon \
17859aca3e4SRuslan Ermilov	kgzip \
1790451ac36SGary Palmer	lptcontrol \
1800451ac36SGary Palmer	mptable \
1811326e03fSWarner Losh	pccard \
182cc854440SPeter Wemm	pcvt \
183ab5e5d7bSPeter Wemm	pnpinfo \
1840451ac36SGary Palmer	sgsc \
1850451ac36SGary Palmer	sicontrol \
1860451ac36SGary Palmer	spkrtest \
1873c817e2cSBruce Evans	stallion \
1883c817e2cSBruce Evans	wlconfig
189f3bb47ccSRuslan Ermilov.if !defined(NO_I4B)
190f3bb47ccSRuslan ErmilovSUBDIR+=i4b
191f3bb47ccSRuslan Ermilov.endif
192183b47f7SDoug Rabson.endif
193183b47f7SDoug Rabson
194c7961209SKATO Takenori.if ${MACHINE} == "i386"
195c7961209SKATO TakenoriSUBDIR+=boot0cfg
196c7961209SKATO Takenori.endif
197c7961209SKATO Takenori
1986a70fca0SKATO Takenori.if ${MACHINE} == "pc98"
1996a70fca0SKATO TakenoriSUBDIR+=boot98cfg
2006a70fca0SKATO Takenori.endif
201c7961209SKATO Takenori
2026f6ede92SThomas Moestl.if ${MACHINE_ARCH} == "sparc64"
2036f6ede92SThomas MoestlSUBDIR+=ofwdump
2046f6ede92SThomas Moestl.endif
2056f6ede92SThomas Moestl
206cccce27aSPeter Wemm.if exists(${.CURDIR}/../crypto) && !defined(NOCRYPT) && !defined(NO_OPENSSL)
207a8ec1b48SMaxim SobolevSUBDIR+=keyserv
208a8ec1b48SMaxim Sobolev.endif
209a8ec1b48SMaxim Sobolev
210dea673e9SRodney W. Grimes.include <bsd.subdir.mk>
211