2005-06-05 03:32:53 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2006-03-17 18:54:44 +00:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2005-06-05 03:32:53 +00:00
|
|
|
.PATH: ${.CURDIR}/../../net
|
|
|
|
KMOD= if_bridge
|
2006-06-08 23:40:16 +00:00
|
|
|
SRCS= if_bridge.c bridgestp.c opt_inet.h opt_inet6.h opt_carp.h
|
2005-06-05 03:32:53 +00:00
|
|
|
|
2005-10-14 23:30:17 +00:00
|
|
|
.if !defined(KERNBUILDDIR)
|
2005-06-05 03:32:53 +00:00
|
|
|
opt_inet.h:
|
|
|
|
echo "#define INET 1" > ${.TARGET}
|
|
|
|
|
2006-03-17 18:54:44 +00:00
|
|
|
.if ${MK_INET6_SUPPORT} != "no"
|
2005-06-05 03:32:53 +00:00
|
|
|
opt_inet6.h:
|
|
|
|
echo "#define INET6 1" > ${.TARGET}
|
|
|
|
.endif
|
2005-10-14 23:30:17 +00:00
|
|
|
.endif
|
2005-06-05 03:32:53 +00:00
|
|
|
|
|
|
|
.include <bsd.kmod.mk>
|