freebsd-dev/sys/modules/if_gif/Makefile
Andrey V. Elsukov 7f4b9af631 opt_mrouting.h isn't needed anymore.
MFC after:	1 month
2014-10-14 14:52:39 +00:00

23 lines
410 B
Makefile

# $FreeBSD$
SYSDIR?=${.CURDIR}/../..
.include "${SYSDIR}/conf/kern.opts.mk"
.PATH: ${SYSDIR}/net ${SYSDIR}/netinet ${SYSDIR}/netinet6
KMOD= if_gif
SRCS= if_gif.c in_gif.c opt_inet.h opt_inet6.h
.if defined(KERNBUILDDIR)
OPT_INET6!= cat ${KERNBUILDDIR}/opt_inet6.h; echo
.if empty(OPT_INET6)
MK_INET6_SUPPORT=no
.endif
.endif
.if ${MK_INET6_SUPPORT} != "no"
SRCS+= in6_gif.c
.endif
.include <bsd.kmod.mk>