]> CyberLeo.Net >> Repos - FreeBSD/releng/7.2.git/blob - sys/modules/ip_mroute_mod/Makefile
Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.
[FreeBSD/releng/7.2.git] / sys / modules / ip_mroute_mod / Makefile
1 # $FreeBSD$
2
3 .include <bsd.own.mk>
4
5 .PATH: ${.CURDIR}/../../netinet ${.CURDIR}/../../netinet6
6
7 KMOD=   ip_mroute
8
9 SRCS=   ip_mroute.c
10 SRCS+=  opt_inet.h opt_mac.h opt_mrouting.h
11 SRCS+=  opt_inet6.h
12
13 .if ${MK_INET6_SUPPORT} != "no"
14 SRCS+=  ip6_mroute.c
15 .endif
16
17 .if !defined(KERNBUILDDIR)
18 opt_inet.h:
19         echo "#define INET 1" > ${.TARGET}
20 opt_mrouting.h:
21         echo "#define MROUTING 1" > ${.TARGET}
22 .if ${MK_INET6_SUPPORT} != "no"
23 opt_inet6.h:
24         echo "#define INET6 1" > ${.TARGET}
25 .endif
26 .endif
27
28 .include <bsd.kmod.mk>