diff options
author | sepotvin <sepotvin@FreeBSD.org> | 2007-06-13 02:08:04 +0000 |
---|---|---|
committer | sepotvin <sepotvin@FreeBSD.org> | 2007-06-13 02:08:04 +0000 |
commit | 3ffe583f135abf345278b912b885783f69a24bd5 (patch) | |
tree | 82c2597c5d5e690c3bee8388626688cb7826c05e /usr.sbin/ifmcstat | |
parent | 20ad8ecfb0af809f13b9dc6e5ab994548e0d785c (diff) | |
download | FreeBSD-src-3ffe583f135abf345278b912b885783f69a24bd5.zip FreeBSD-src-3ffe583f135abf345278b912b885783f69a24bd5.tar.gz |
Options spring cleanup:
- Add and document the KVM and KVM_SUPPORT options that
are needed for the ifmcstats(3) makefile
- Garbage collect unused variables
- Add missing inclusion of bsd.own.mk where needed
Approved by: kan (mentor)
Reviewed by: ru
Diffstat (limited to 'usr.sbin/ifmcstat')
-rw-r--r-- | usr.sbin/ifmcstat/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/ifmcstat/Makefile b/usr.sbin/ifmcstat/Makefile index 1f8c2a5..62de0b9 100644 --- a/usr.sbin/ifmcstat/Makefile +++ b/usr.sbin/ifmcstat/Makefile @@ -1,17 +1,19 @@ # @(#)Makefile 8.1 (Berkeley) 6/5/93 # $FreeBSD$ +.include <bsd.own.mk> + PROG= ifmcstat MAN= ifmcstat.8 BINMODE= 550 WARNS?= 2 -.if !defined(MK_INET6_SUPPORT) || ${MK_INET6_SUPPORT} != "no" +.if ${MK_INET6_SUPPORT} != "no" CFLAGS+=-DINET6 .endif -.if !defined(MK_KVM_SUPPORT) || ${MK_KVM_SUPPORT} != "no" +.if ${MK_KVM_SUPPORT} != "no" CFLAGS+=-DWITH_KVM DPADD= ${LIBKVM} LDADD= -lkvm |