diff options
Diffstat (limited to 'sys/modules/if_gif/Makefile')
-rw-r--r-- | sys/modules/if_gif/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/modules/if_gif/Makefile b/sys/modules/if_gif/Makefile index c9d073b..b608f55 100644 --- a/sys/modules/if_gif/Makefile +++ b/sys/modules/if_gif/Makefile @@ -1,5 +1,7 @@ # $FreeBSD$ +.include <bsd.own.mk> + .PATH: ${.CURDIR}/../../net ${.CURDIR}/../../netinet ${.CURDIR}/../../netinet6 KMOD= if_gif @@ -10,7 +12,7 @@ SRCS= if_gif.c in_gif.c opt_inet.h opt_inet6.h opt_mac.h \ opt_inet.h: echo "#define INET 1" > ${.TARGET} -.if !defined(NO_INET6) +.if ${MK_INET6_SUPPORT} != "no" opt_inet6.h: echo "#define INET6 1" > ${.TARGET} .endif @@ -20,11 +22,11 @@ opt_mrouting.h: .else OPT_INET6!= cat ${KERNBUILDDIR}/opt_inet6.h .if empty(OPT_INET6) -NO_INET6= +MK_INET6_SUPPORT= no .endif .endif -.if !defined(NO_INET6) +.if ${MK_INET6_SUPPORT} != "no" SRCS+= in6_gif.c .endif |