Deleted Added
full compact
Makefile (166579) Makefile (166938)
1# $FreeBSD: head/sys/modules/ip_mroute_mod/Makefile 166579 2007-02-09 01:42:43Z bms $
1# $FreeBSD: head/sys/modules/ip_mroute_mod/Makefile 166938 2007-02-24 11:38:47Z bms $
2
2
3.PATH: ${.CURDIR}/../../netinet
3.PATH: ${.CURDIR}/../../netinet ${.CURDIR}/../../netinet6
4
5KMOD= ip_mroute
4
5KMOD= ip_mroute
6SRCS= ip_mroute.c opt_mac.h opt_mrouting.h
7
6
7SRCS= ip_mroute.c
8SRCS+= opt_inet.h opt_mac.h opt_mrouting.h
9SRCS+= opt_inet6.h
10
11.if !defined(MK_INET6_SUPPORT) || ${MK_INET6_SUPPORT} != "no"
12SRCS+= ip6_mroute.c
13.endif
14
8.if !defined(KERNBUILDDIR)
15.if !defined(KERNBUILDDIR)
16opt_inet.h:
17 echo "#define INET 1" > ${.TARGET}
9opt_mrouting.h:
18opt_mrouting.h:
10 echo "#define MROUTING 1" > ${.TARGET}
19 echo "#define MROUTING 1" > ${.TARGET}
20.if !defined(MK_INET6_SUPPORT) || ${MK_INET6_SUPPORT} != "no"
21opt_inet6.h:
22 echo "#define INET6 1" > ${.TARGET}
11.endif
23.endif
24.endif
12
13.include <bsd.kmod.mk>
25
26.include <bsd.kmod.mk>