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 /sys/modules/ip_mroute_mod | |
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 'sys/modules/ip_mroute_mod')
-rw-r--r-- | sys/modules/ip_mroute_mod/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/modules/ip_mroute_mod/Makefile b/sys/modules/ip_mroute_mod/Makefile index 99eaf60..5b3330f 100644 --- a/sys/modules/ip_mroute_mod/Makefile +++ b/sys/modules/ip_mroute_mod/Makefile @@ -1,5 +1,7 @@ # $FreeBSD$ +.include <bsd.own.mk> + .PATH: ${.CURDIR}/../../netinet ${.CURDIR}/../../netinet6 KMOD= ip_mroute @@ -8,7 +10,7 @@ SRCS= ip_mroute.c SRCS+= opt_inet.h opt_mac.h opt_mrouting.h SRCS+= opt_inet6.h -.if !defined(MK_INET6_SUPPORT) || ${MK_INET6_SUPPORT} != "no" +.if ${MK_INET6_SUPPORT} != "no" SRCS+= ip6_mroute.c .endif @@ -17,7 +19,7 @@ opt_inet.h: echo "#define INET 1" > ${.TARGET} opt_mrouting.h: echo "#define MROUTING 1" > ${.TARGET} -.if !defined(MK_INET6_SUPPORT) || ${MK_INET6_SUPPORT} != "no" +.if ${MK_INET6_SUPPORT} != "no" opt_inet6.h: echo "#define INET6 1" > ${.TARGET} .endif |