1211157Swill# $FreeBSD: releng/10.3/sys/modules/carp/Makefile 228576 2011-12-16 14:28:34Z glebius $ 2211157Swill 3211157Swill.PATH: ${.CURDIR}/../../netinet 4228576Sglebius.PATH: ${.CURDIR}/../../crypto 5211157Swill 6211157Swill.include <bsd.own.mk> 7211157Swill 8228576SglebiusKMOD= carp 9228576SglebiusSRCS= ip_carp.c sha1.c 10228576SglebiusSRCS+= device_if.h bus_if.h vnode_if.h 11228576SglebiusSRCS+= opt_carp.h opt_bpf.h opt_inet.h opt_inet6.h opt_ofed.h 12211157Swill 13211157Swill.if !defined(KERNBUILDDIR) 14221267Sbz.if ${MK_INET_SUPPORT} != "no" 15211157Swillopt_inet.h: 16211157Swill @echo "#define INET 1" > ${.TARGET} 17221267Sbz.endif 18211157Swill 19211157Swill.if ${MK_INET6_SUPPORT} != "no" 20211157Swillopt_inet6.h: 21211157Swill @echo "#define INET6 1" > ${.TARGET} 22211157Swill.endif 23211157Swill.endif 24211157Swill 25211157Swill.include <bsd.kmod.mk> 26