freebsd-dev/sys/modules/ip_mroute_mod/Makefile

29 lines
516 B
Makefile
Raw Normal View History

1999-08-28 01:08:13 +00:00
# $FreeBSD$
.include <bsd.own.mk>
.PATH: ${.CURDIR}/../../netinet ${.CURDIR}/../../netinet6
KMOD= ip_mroute
SRCS= ip_mroute.c
SRCS+= opt_inet.h opt_mac.h opt_mrouting.h opt_route.h
SRCS+= opt_inet6.h
.if ${MK_INET6_SUPPORT} != "no"
SRCS+= ip6_mroute.c
.endif
.if !defined(KERNBUILDDIR)
opt_inet.h:
echo "#define INET 1" > ${.TARGET}
2001-07-25 20:15:17 +00:00
opt_mrouting.h:
echo "#define MROUTING 1" > ${.TARGET}
.if ${MK_INET6_SUPPORT} != "no"
opt_inet6.h:
echo "#define INET6 1" > ${.TARGET}
.endif
.endif
2001-07-25 20:15:17 +00:00
.include <bsd.kmod.mk>