Home | History | Annotate | Line # | Download | only in liblsan
Makefile revision 1.2.2.2
      1  1.2.2.2    martin # $NetBSD: Makefile,v 1.2.2.2 2020/04/13 07:59:12 martin 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.2.2.1  christos 	lsan.cc \
     12  1.2.2.1  christos 	lsan_allocator.cc \
     13  1.2.2.2    martin 	lsan_common.cc \
     14  1.2.2.2    martin 	lsan_common_linux.cc \
     15  1.2.2.1  christos 	lsan_interceptors.cc \
     16  1.2.2.2    martin 	lsan_linux.cc \
     17  1.2.2.1  christos 	lsan_thread.cc
     18  1.2.2.1  christos 
     19  1.2.2.1  christos .if ${MACHINE_ARCH} == "vax"
     20  1.2.2.1  christos COPTS.lsan_allocator.cc += -O1
     21  1.2.2.2    martin COPTS.sanitizer_file.cc += -O1
     22  1.2.2.1  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.1  christos .include <bsd.lib.mk>
     29