1999-08-28 01:08:13 +00:00
|
|
|
# $FreeBSD$
|
1994-09-16 20:24:29 +00:00
|
|
|
|
2007-06-13 02:08:04 +00:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2007-02-24 11:38:47 +00:00
|
|
|
.PATH: ${.CURDIR}/../../netinet ${.CURDIR}/../../netinet6
|
2001-01-06 14:00:42 +00:00
|
|
|
|
1998-10-16 04:30:52 +00:00
|
|
|
KMOD= ip_mroute
|
2007-02-24 11:38:47 +00:00
|
|
|
|
|
|
|
SRCS= ip_mroute.c
|
2008-12-02 21:37:28 +00:00
|
|
|
SRCS+= opt_inet.h opt_mac.h opt_mrouting.h opt_route.h
|
2007-02-24 11:38:47 +00:00
|
|
|
SRCS+= opt_inet6.h
|
|
|
|
|
2007-06-13 02:08:04 +00:00
|
|
|
.if ${MK_INET6_SUPPORT} != "no"
|
2007-02-24 11:38:47 +00:00
|
|
|
SRCS+= ip6_mroute.c
|
|
|
|
.endif
|
2001-01-06 14:00:42 +00:00
|
|
|
|
2005-10-14 23:30:17 +00:00
|
|
|
.if !defined(KERNBUILDDIR)
|
2007-02-24 11:38:47 +00:00
|
|
|
opt_inet.h:
|
|
|
|
echo "#define INET 1" > ${.TARGET}
|
2001-07-25 20:15:17 +00:00
|
|
|
opt_mrouting.h:
|
2007-02-24 11:38:47 +00:00
|
|
|
echo "#define MROUTING 1" > ${.TARGET}
|
2007-06-13 02:08:04 +00:00
|
|
|
.if ${MK_INET6_SUPPORT} != "no"
|
2007-02-24 11:38:47 +00:00
|
|
|
opt_inet6.h:
|
|
|
|
echo "#define INET6 1" > ${.TARGET}
|
|
|
|
.endif
|
2005-10-14 23:30:17 +00:00
|
|
|
.endif
|
2001-07-25 20:15:17 +00:00
|
|
|
|
2000-05-27 01:14:33 +00:00
|
|
|
.include <bsd.kmod.mk>
|