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