b7ff2bdc20
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.
20 lines
326 B
Makefile
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>
|