diff options
-rw-r--r-- | sys/modules/if_gif/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/modules/if_gif/Makefile b/sys/modules/if_gif/Makefile index 067f8b9..8f61b78 100644 --- a/sys/modules/if_gif/Makefile +++ b/sys/modules/if_gif/Makefile @@ -3,14 +3,21 @@ .PATH: ${.CURDIR}/../../net ${.CURDIR}/../../netinet ${.CURDIR}/../../netinet6 KMOD= if_gif -SRCS= if_gif.c in_gif.c in6_gif.c opt_inet.h opt_inet6.h opt_mac.h \ +SRCS= if_gif.c in_gif.c opt_inet.h opt_inet6.h opt_mac.h \ opt_mrouting.h +.if !defined(NOINET6) +SRCS+= in6_gif.c +.endif opt_inet.h: echo "#define INET 1" > ${.TARGET} opt_inet6.h: +.if !defined(NOINET6) echo "#define INET6 1" > ${.TARGET} +.else + echo "" > ${.TARGET} +.endif opt_mrouting.h: echo "#define MROUTING 1" > ${.TARGET} |