1 1.9 mrg # $NetBSD: Makefile,v 1.9 2025/09/07 04:12:11 mrg Exp $ 2 1.1 mrg 3 1.1 mrg .include <bsd.own.mk> 4 1.1 mrg 5 1.1 mrg .include "../Makefile.inc" 6 1.1 mrg .include "../Makefile.sanitizer" 7 1.1 mrg 8 1.1 mrg .PATH: ${SANITIZER}/lsan ${SANITIZER}/asan 9 1.1 mrg 10 1.1 mrg LSAN_SRCS+= \ 11 1.9 mrg lsan_common.cpp \ 12 1.9 mrg lsan_common_linux.cpp \ 13 1.9 mrg lsan_common_mac.cpp \ 14 1.9 mrg lsan.cpp \ 15 1.9 mrg lsan_linux.cpp \ 16 1.9 mrg lsan_mac.cpp \ 17 1.9 mrg lsan_malloc_mac.cpp \ 18 1.9 mrg lsan_allocator.cpp \ 19 1.9 mrg lsan_interceptors.cpp \ 20 1.9 mrg lsan_thread.cpp \ 21 1.9 mrg lsan_posix.cpp 22 1.1 mrg 23 1.1 mrg LIB= lsan 24 1.1 mrg SRCS+= ${LSAN_SRCS} 25 1.5 mrg LIBDPLIBS+= m ${NETBSDSRCDIR}/lib/libm 26 1.1 mrg LIBDPLIBS+= rt ${NETBSDSRCDIR}/lib/librt 27 1.5 mrg LIBDPLIBS+= pthread ${NETBSDSRCDIR}/lib/libpthread 28 1.1 mrg 29 1.4 mrg CWARNFLAGS.clang+= -Wno-error=unused-private-field 30 1.4 mrg 31 1.8 christos .include "../preinit.mk" 32 1.8 christos 33 1.1 mrg .include <bsd.lib.mk> 34