Home | History | Annotate | Line # | Download | only in libasan
Makefile revision 1.3
      1 # $NetBSD: Makefile,v 1.3 2017/07/23 01:11:47 mrg Exp $
      2 
      3 UNSUPPORTED_COMPILER.clang=	# defined
      4 
      5 .include <bsd.own.mk>
      6 
      7 .include "../Makefile.inc"
      8 .include "../Makefile.sanitizer"
      9 
     10 .PATH: ${SANITIZER}/asan
     11 
     12 ASAN_SRCS= \
     13 asan_activation.cc \
     14 asan_allocator2.cc \
     15 asan_debugging.cc \
     16 asan_fake_stack.cc \
     17 asan_globals.cc \
     18 asan_interceptors.cc \
     19 asan_linux.cc \
     20 asan_mac.cc \
     21 asan_malloc_linux.cc \
     22 asan_malloc_mac.cc \
     23 asan_malloc_win.cc \
     24 asan_new_delete.cc \
     25 asan_poisoning.cc \
     26 asan_posix.cc \
     27 asan_report.cc \
     28 asan_rtl.cc \
     29 asan_stack.cc \
     30 asan_stats.cc \
     31 asan_thread.cc \
     32 asan_win.cc \
     33 asan_win_dll_thunk.cc \
     34 asan_win_dynamic_runtime_thunk.cc
     35 
     36 LIB=	asan
     37 SRCS+=	${ASAN_SRCS}
     38 
     39 .if ${MACHINE_ARCH} == "vax"
     40 COPTS.asan_allocator2.cc += -O1
     41 COPTS.asan_report.cc += -O1
     42 .endif
     43 
     44 .include <bsd.lib.mk>
     45