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