Makefile revision 80352
1# $FreeBSD: head/sys/modules/ip_mroute_mod/Makefile 80352 2001-07-25 20:15:17Z fenner $
2
3.PATH: ${.CURDIR}/../../netinet
4
5KMOD=	ip_mroute
6SRCS=	ip_mroute.c opt_mrouting.h opt_random_ip_id.h
7NOMAN=
8
9CFLAGS+= -DMROUTE_KLD
10
11RANDOM_IP_ID?=	0	# 0/1 - should jibe with kernel configuration
12
13opt_mrouting.h:
14	echo "#define	MROUTING 1" > ${.TARGET}
15
16opt_random_ip_id.h:
17	touch ${.TARGET}
18.if ${RANDOM_IP_ID} > 0
19	echo "#define	RANDOM_IP_ID 1" > ${.TARGET}
20.endif
21
22.include <bsd.kmod.mk>
23