Home | History | Annotate | Line # | Download | only in liblsan
Makefile revision 1.9
      1  1.9       mrg # $NetBSD: Makefile,v 1.9 2023/08/03 01:36:55 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.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.3  christos .if ${MACHINE_ARCH} == "vax"
     24  1.9       mrg #COPTS.lsan_allocator.cpp += -O1
     25  1.9       mrg #COPTS.sanitizer_file.cpp += -O1
     26  1.3  christos .endif
     27  1.1  christos 
     28  1.1  christos LIB=	lsan
     29  1.1  christos SRCS+=	${LSAN_SRCS}
     30  1.8     kamil LIBDPLIBS+= m ${NETBSDSRCDIR}/lib/libm
     31  1.1  christos LIBDPLIBS+= rt ${NETBSDSRCDIR}/lib/librt
     32  1.8     kamil LIBDPLIBS+= pthread ${NETBSDSRCDIR}/lib/libpthread
     33  1.1  christos 
     34  1.7     joerg CWARNFLAGS.clang+=	-Wno-error=unused-private-field
     35  1.7     joerg 
     36  1.1  christos .include <bsd.lib.mk>
     37