diff options
| author | Andrey V. Elsukov <ae@FreeBSD.org> | 2014-11-07 19:13:19 +0000 |
|---|---|---|
| committer | Andrey V. Elsukov <ae@FreeBSD.org> | 2014-11-07 19:13:19 +0000 |
| commit | f325335cafc940e54a1ea56560de6f25340c81b7 (patch) | |
| tree | 63c3d4ed6b0c4afb2640b0e3d10ed1b045f2d63f /sys/modules/if_gre | |
| parent | 833e8dc5ab711a9485790d950801e32798d55558 (diff) | |
Notes
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> |
