summaryrefslogtreecommitdiffstats
path: root/usr.sbin/Makefile
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2011-06-17 21:30:21 +0000
committered <ed@FreeBSD.org>2011-06-17 21:30:21 +0000
commite75cd7ae0e980477aff17703a337dee702ecd2fb (patch)
treeda84081292245c979214c2758c0344668b632ac7 /usr.sbin/Makefile
parent2becca5d18eb351990ba0b4e68e407a4853be744 (diff)
downloadFreeBSD-src-e75cd7ae0e980477aff17703a337dee702ecd2fb.zip
FreeBSD-src-e75cd7ae0e980477aff17703a337dee702ecd2fb.tar.gz
Add WITHOUT_UTMPX switch to the build system.
This knob removes the tools that are exclusively used to view and maintain the databases maintained by utmpx, namely last, users, who, wtmpcvt, ac, lastlogin and utxrm. The tool w is not in this list, because it has some other functionality which is unrelated to utmpx; it is hardlinked to the uptime tool.
Diffstat (limited to 'usr.sbin/Makefile')
-rw-r--r--usr.sbin/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/usr.sbin/Makefile b/usr.sbin/Makefile
index da50e17..f448f03 100644
--- a/usr.sbin/Makefile
+++ b/usr.sbin/Makefile
@@ -3,8 +3,7 @@
.include <bsd.own.mk>
-SUBDIR= ac \
- adduser \
+SUBDIR= adduser \
arp \
bootparamd \
burncd \
@@ -35,7 +34,6 @@ SUBDIR= ac \
inetd \
iostat \
kldxref \
- lastlogin \
mailwrapper \
makefs \
manctl \
@@ -90,7 +88,6 @@ SUBDIR= ac \
trpt \
tzsetup \
ugidfw \
- utxrm \
vipw \
wake \
watch \
@@ -299,6 +296,12 @@ SUBDIR+= usbconfig
SUBDIR+= usbdump
.endif
+.if ${MK_UTMPX} != "no"
+SUBDIR+= ac
+SUBDIR+= lastlogin
+SUBDIR+= utxrm
+.endif
+
.if ${MK_WIRELESS} != "no"
SUBDIR+= ancontrol
SUBDIR+= wlandebug
OpenPOWER on IntegriCloud