Makefile revision 1.1.1.1
1# $NetBSD: Makefile,v 1.1.1.1 2018/08/01 22:19:01 mrg Exp $ 2 3.include <bsd.own.mk> 4 5.include "../Makefile.inc" 6.include "../Makefile.sanitizer" 7 8.PATH: ${SANITIZER}/lsan ${SANITIZER}/asan 9 10LSAN_SRCS+= \ 11lsan.cc \ 12lsan_allocator.cc \ 13lsan_common.cc \ 14lsan_common_linux.cc \ 15lsan_interceptors.cc \ 16lsan_preinit.cc \ 17lsan_thread.cc 18 19.if ${MACHINE_ARCH} == "vax" 20COPTS.lsan_allocator.cc += -O1 21.endif 22 23LIB= lsan 24SRCS+= ${LSAN_SRCS} 25LIBDPLIBS+= rt ${NETBSDSRCDIR}/lib/librt 26 27.include <bsd.lib.mk> 28