1# $FreeBSD$ 2 3.PATH: ${.CURDIR}/../../netinet 4.PATH: ${.CURDIR}/../../crypto 5 6.include <bsd.own.mk> 7 8KMOD= carp 9SRCS= ip_carp.c sha1.c 10SRCS+= device_if.h bus_if.h vnode_if.h 11SRCS+= opt_carp.h opt_bpf.h opt_inet.h opt_inet6.h opt_ofed.h 12 13.if !defined(KERNBUILDDIR) 14.if ${MK_INET_SUPPORT} != "no" 15opt_inet.h: 16 @echo "#define INET 1" > ${.TARGET} 17.endif 18 19.if ${MK_INET6_SUPPORT} != "no" 20opt_inet6.h: 21 @echo "#define INET6 1" > ${.TARGET} 22.endif 23.endif 24 25.include <bsd.kmod.mk> 26