Home | History | Annotate | Line # | Download | only in liblsan
Makefile revision 1.7
      1  1.7     joerg # $NetBSD: Makefile,v 1.7 2020/05/15 14:29:53 joerg 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.5       mrg 	lsan.cc \
     12  1.5       mrg 	lsan_allocator.cc \
     13  1.4       mrg 	lsan_common.cc \
     14  1.4       mrg 	lsan_common_linux.cc \
     15  1.4       mrg 	lsan_interceptors.cc \
     16  1.5       mrg 	lsan_linux.cc \
     17  1.4       mrg 	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.6  christos COPTS.sanitizer_file.cc += -O1
     22  1.3  christos .endif
     23  1.1  christos 
     24  1.1  christos LIB=	lsan
     25  1.1  christos SRCS+=	${LSAN_SRCS}
     26  1.1  christos LIBDPLIBS+= rt ${NETBSDSRCDIR}/lib/librt
     27  1.1  christos 
     28  1.7     joerg CWARNFLAGS.clang+=	-Wno-error=unused-private-field
     29  1.7     joerg 
     30  1.1  christos .include <bsd.lib.mk>
     31