1# $FreeBSD$ 2 3SYSDIR?=${.CURDIR}/../.. 4.include "${SYSDIR}/conf/kern.opts.mk" 5 6.PATH: ${SYSDIR}/net ${SYSDIR}/netinet ${SYSDIR}/netinet6 7 8KMOD= if_gif 9SRCS= if_gif.c in_gif.c opt_inet.h opt_inet6.h 10 11.if defined(KERNBUILDDIR) 12OPT_INET6!= cat ${KERNBUILDDIR}/opt_inet6.h; echo 13.if empty(OPT_INET6) 14MK_INET6_SUPPORT=no 15.endif 16.endif 17 18.if ${MK_INET6_SUPPORT} != "no" 19SRCS+= in6_gif.c 20.endif 21 22.include <bsd.kmod.mk> 23