xref: /freebsd/sys/modules/ip_mroute_mod/Makefile (revision 7aa383846770374466b1dcb2cefd71bde9acf463)
1# $FreeBSD$
2
3.include <bsd.own.mk>
4
5.PATH: ${.CURDIR}/../../netinet ${.CURDIR}/../../netinet6
6
7KMOD=	ip_mroute
8
9SRCS=	ip_mroute.c
10SRCS+=	opt_inet.h opt_mrouting.h
11
12.if !defined(KERNBUILDDIR)
13opt_inet.h:
14	echo "#define INET 1" > ${.TARGET}
15opt_mrouting.h:
16	echo "#define MROUTING 1" > ${.TARGET}
17.endif
18
19.include <bsd.kmod.mk>
20