1999-08-27 21:08:13 -04:00
|
|
|
# $FreeBSD$
|
1994-09-16 16:24:29 -04:00
|
|
|
|
2001-01-06 09:00:42 -05:00
|
|
|
.PATH: ${.CURDIR}/../../netinet
|
|
|
|
|
|
1998-10-16 00:30:52 -04:00
|
|
|
KMOD= ip_mroute
|
2002-10-20 18:59:17 -04:00
|
|
|
SRCS= ip_mroute.c opt_mac.h opt_mrouting.h opt_random_ip_id.h
|
2001-01-06 09:00:42 -05:00
|
|
|
|
2001-07-25 16:15:17 -04:00
|
|
|
CFLAGS+= -DMROUTE_KLD
|
|
|
|
|
|
|
|
|
|
RANDOM_IP_ID?= 0 # 0/1 - should jibe with kernel configuration
|
|
|
|
|
|
|
|
|
|
opt_mrouting.h:
|
|
|
|
|
echo "#define MROUTING 1" > ${.TARGET}
|
|
|
|
|
|
|
|
|
|
opt_random_ip_id.h:
|
|
|
|
|
touch ${.TARGET}
|
|
|
|
|
.if ${RANDOM_IP_ID} > 0
|
|
|
|
|
echo "#define RANDOM_IP_ID 1" > ${.TARGET}
|
|
|
|
|
.endif
|
1994-09-16 16:24:29 -04:00
|
|
|
|
2000-05-26 21:14:33 -04:00
|
|
|
.include <bsd.kmod.mk>
|