Home | History | Annotate | Line # | Download | only in liblsan
Makefile revision 1.4
      1  1.4       mrg # $NetBSD: Makefile,v 1.4 2019/02/06 04:00:43 mrg Exp $
      2  1.1  christos 
      3  1.1  christos .include <bsd.own.mk>
      4  1.1  christos 
      5  1.1  christos .include "../Makefile.inc"
      6  1.1  christos .include "../Makefile.sanitizer"
      7  1.1  christos 
      8  1.1  christos .PATH: ${SANITIZER}/lsan ${SANITIZER}/asan
      9  1.1  christos 
     10  1.1  christos LSAN_SRCS+= \
     11  1.4       mrg 	lsan_common.cc \
     12  1.4       mrg 	lsan_common_linux.cc \
     13  1.4       mrg 	lsan.cc \
     14  1.4       mrg 	lsan_allocator.cc \
     15  1.4       mrg 	lsan_interceptors.cc \
     16  1.4       mrg 	lsan_thread.cc
     17  1.1  christos 
     18  1.3  christos .if ${MACHINE_ARCH} == "vax"
     19  1.3  christos COPTS.lsan_allocator.cc += -O1
     20  1.3  christos .endif
     21  1.1  christos 
     22  1.1  christos LIB=	lsan
     23  1.1  christos SRCS+=	${LSAN_SRCS}
     24  1.1  christos LIBDPLIBS+= rt ${NETBSDSRCDIR}/lib/librt
     25  1.1  christos 
     26  1.1  christos .include <bsd.lib.mk>
     27