diff options
Diffstat (limited to 'sys/modules/if_gre')
| -rw-r--r-- | sys/modules/if_gre/Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/sys/modules/if_gre/Makefile b/sys/modules/if_gre/Makefile index 9c618d3651ff..db8f9f197a89 100644 --- a/sys/modules/if_gre/Makefile +++ b/sys/modules/if_gre/Makefile @@ -1,8 +1,17 @@ # $FreeBSD$ .PATH: ${.CURDIR}/../../net ${.CURDIR}/../../netinet ${.CURDIR}/../../netinet6 +.include "${.CURDIR}/../../conf/kern.opts.mk" KMOD= if_gre -SRCS= if_gre.c ip_gre.c opt_inet.h opt_inet6.h +SRCS= if_gre.c opt_inet.h opt_inet6.h + +.if ${MK_INET_SUPPORT} != "no" +SRCS+= ip_gre.c +.endif + +.if ${MK_INET6_SUPPORT} != "no" +SRCS+= ip6_gre.c +.endif .include <bsd.kmod.mk> |
