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