diff options
author | ed <ed@FreeBSD.org> | 2011-06-17 21:30:21 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2011-06-17 21:30:21 +0000 |
commit | e75cd7ae0e980477aff17703a337dee702ecd2fb (patch) | |
tree | da84081292245c979214c2758c0344668b632ac7 /usr.sbin | |
parent | 2becca5d18eb351990ba0b4e68e407a4853be744 (diff) | |
download | FreeBSD-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')
-rw-r--r-- | usr.sbin/Makefile | 11 |
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 |