Home | History | Annotate | Line # | Download | only in liblsan
Makefile revision 1.8
      1  1.8  christos # $NetBSD: Makefile,v 1.8 2025/03/25 18:03:32 christos Exp $
      2  1.1       mrg 
      3  1.1       mrg .include <bsd.own.mk>
      4  1.1       mrg 
      5  1.1       mrg .include "../Makefile.inc"
      6  1.1       mrg .include "../Makefile.sanitizer"
      7  1.1       mrg 
      8  1.1       mrg .PATH: ${SANITIZER}/lsan ${SANITIZER}/asan
      9  1.1       mrg 
     10  1.1       mrg LSAN_SRCS+= \
     11  1.4       mrg 	lsan.cc \
     12  1.4       mrg 	lsan_allocator.cc \
     13  1.3       mrg 	lsan_common.cc \
     14  1.3       mrg 	lsan_common_linux.cc \
     15  1.3       mrg 	lsan_interceptors.cc \
     16  1.4       mrg 	lsan_linux.cc \
     17  1.3       mrg 	lsan_thread.cc
     18  1.1       mrg 
     19  1.1       mrg LIB=	lsan
     20  1.1       mrg SRCS+=	${LSAN_SRCS}
     21  1.5       mrg LIBDPLIBS+= m ${NETBSDSRCDIR}/lib/libm
     22  1.1       mrg LIBDPLIBS+= rt ${NETBSDSRCDIR}/lib/librt
     23  1.5       mrg LIBDPLIBS+= pthread ${NETBSDSRCDIR}/lib/libpthread
     24  1.1       mrg 
     25  1.4       mrg CWARNFLAGS.clang+=	-Wno-error=unused-private-field
     26  1.4       mrg 
     27  1.8  christos .include "../preinit.mk"
     28  1.8  christos 
     29  1.1       mrg .include <bsd.lib.mk>
     30