Home | History | Annotate | Line # | Download | only in liblsan
Makefile revision 1.9.2.1
      1  1.9.2.1  perseant # $NetBSD: Makefile,v 1.9.2.1 2025/08/02 05:25:55 perseant 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.9       mrg 	lsan_common.cpp \
     12      1.9       mrg 	lsan_common_linux.cpp \
     13      1.9       mrg 	lsan_common_mac.cpp \
     14      1.9       mrg 	lsan.cpp \
     15      1.9       mrg 	lsan_linux.cpp \
     16      1.9       mrg 	lsan_mac.cpp \
     17      1.9       mrg 	lsan_malloc_mac.cpp \
     18      1.9       mrg 	lsan_allocator.cpp \
     19      1.9       mrg 	lsan_interceptors.cpp \
     20      1.9       mrg 	lsan_thread.cpp \
     21      1.9       mrg 	lsan_posix.cpp
     22      1.1  christos 
     23      1.1  christos LIB=	lsan
     24      1.1  christos SRCS+=	${LSAN_SRCS}
     25      1.8     kamil LIBDPLIBS+= m ${NETBSDSRCDIR}/lib/libm
     26      1.1  christos LIBDPLIBS+= rt ${NETBSDSRCDIR}/lib/librt
     27      1.8     kamil LIBDPLIBS+= pthread ${NETBSDSRCDIR}/lib/libpthread
     28      1.1  christos 
     29      1.7     joerg CWARNFLAGS.clang+=	-Wno-error=unused-private-field
     30      1.7     joerg 
     31  1.9.2.1  perseant .include "../preinit.mk"
     32  1.9.2.1  perseant 
     33      1.1  christos .include <bsd.lib.mk>
     34