1 1.5 christos # $NetBSD: Makefile,v 1.5 2016/06/05 20:08:26 christos 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.4 christos .include "../Makefile.sanitizer" 7 1.1 christos 8 1.4 christos .PATH: ${SANITIZER}/tsan 9 1.1 christos 10 1.1 christos TSAN_SRCS= \ 11 1.4 christos tsan_clock.o \ 12 1.4 christos tsan_fd.o \ 13 1.4 christos tsan_flags.o \ 14 1.4 christos tsan_ignoreset.o \ 15 1.4 christos tsan_interceptors.o \ 16 1.4 christos tsan_interface.o \ 17 1.4 christos tsan_interface_ann.o \ 18 1.4 christos tsan_interface_atomic.o \ 19 1.4 christos tsan_interface_java.o \ 20 1.4 christos tsan_md5.o \ 21 1.4 christos tsan_mman.o \ 22 1.4 christos tsan_mutex.o \ 23 1.4 christos tsan_mutexset.o \ 24 1.4 christos tsan_platform_linux.o \ 25 1.4 christos tsan_platform_mac.o \ 26 1.4 christos tsan_platform_windows.o \ 27 1.4 christos tsan_report.o \ 28 1.4 christos tsan_rtl.o \ 29 1.4 christos tsan_rtl_mutex.o \ 30 1.4 christos tsan_rtl_report.o \ 31 1.4 christos tsan_rtl_thread.o \ 32 1.4 christos tsan_stack_trace.o \ 33 1.4 christos tsan_stat.o \ 34 1.4 christos tsan_suppressions.o \ 35 1.4 christos tsan_symbolize.o \ 36 1.4 christos tsan_sync.o 37 1.1 christos 38 1.5 christos .if exists(${SANITIZER}/tsan/tsan_rtl_${MACHINE}.S) 39 1.5 christos TSAN_SRCS+= tsan_rtl_${MACHINE}.S 40 1.5 christos .else 41 1.5 christos TSAN_SRCS+= tsan_rtl_unimpl.cc 42 1.5 christos .endif 43 1.5 christos 44 1.2 christos LIB= tsan 45 1.4 christos SRCS+= ${TSAN_SRCS} 46 1.1 christos 47 1.1 christos .include <bsd.lib.mk> 48