Home | History | Annotate | Line # | Download | only in liblsan
Makefile revision 1.4
      1 # $NetBSD: Makefile,v 1.4 2019/02/06 04:00:43 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 
     10 LSAN_SRCS+= \
     11 	lsan_common.cc \
     12 	lsan_common_linux.cc \
     13 	lsan.cc \
     14 	lsan_allocator.cc \
     15 	lsan_interceptors.cc \
     16 	lsan_thread.cc
     17 
     18 .if ${MACHINE_ARCH} == "vax"
     19 COPTS.lsan_allocator.cc += -O1
     20 .endif
     21 
     22 LIB=	lsan
     23 SRCS+=	${LSAN_SRCS}
     24 LIBDPLIBS+= rt ${NETBSDSRCDIR}/lib/librt
     25 
     26 .include <bsd.lib.mk>
     27