freebsd-skq/sys/modules/ip_mroute_mod/Makefile
Bjoern A. Zeeb 8d8bc0182e After r193232 rt_tables in vnet.h are no longer indirectly dependent on
the ROUTETABLES kernel option thus there is no need to include opt_route.h
anymore in all consumers of vnet.h and no longer depend on it for module
builds.

Remove the hidden include in flowtable.h as well and leave the two
explicit #includes in ip_input.c and ip_output.c.
2009-06-08 19:57:35 +00:00

20 lines
326 B
Makefile

# $FreeBSD$
.include <bsd.own.mk>
.PATH: ${.CURDIR}/../../netinet ${.CURDIR}/../../netinet6
KMOD= ip_mroute
SRCS= ip_mroute.c
SRCS+= opt_inet.h opt_mrouting.h
.if !defined(KERNBUILDDIR)
opt_inet.h:
echo "#define INET 1" > ${.TARGET}
opt_mrouting.h:
echo "#define MROUTING 1" > ${.TARGET}
.endif
.include <bsd.kmod.mk>