# $NetBSD: Makefile,v 1.1.1.1 2018/08/01 22:19:01 mrg Exp $ .include .include "../Makefile.inc" .include "../Makefile.sanitizer" .PATH: ${SANITIZER}/lsan ${SANITIZER}/asan LSAN_SRCS+= \ lsan.cc \ lsan_allocator.cc \ lsan_common.cc \ lsan_common_linux.cc \ lsan_interceptors.cc \ lsan_preinit.cc \ lsan_thread.cc .if ${MACHINE_ARCH} == "vax" COPTS.lsan_allocator.cc += -O1 .endif LIB= lsan SRCS+= ${LSAN_SRCS} LIBDPLIBS+= rt ${NETBSDSRCDIR}/lib/librt .include