Module Name:    src
Committed By:   christos
Date:           Wed Oct 22 21:22:07 UTC 2014

Added Files:
        src/external/gpl3/gcc/lib/libtsan: Makefile

Log Message:
Add build glue


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/lib/libtsan/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: src/external/gpl3/gcc/lib/libtsan/Makefile
diff -u /dev/null src/external/gpl3/gcc/lib/libtsan/Makefile:1.1
--- /dev/null	Wed Oct 22 17:22:07 2014
+++ src/external/gpl3/gcc/lib/libtsan/Makefile	Wed Oct 22 17:22:06 2014
@@ -0,0 +1,66 @@
+
+.include <bsd.own.mk>
+
+.include "../Makefile.inc"
+
+TSAN=${GCCDIST}/libsanitizer
+.PATH: ${TSAN}/tsan ${TSAN}/interception ${TSAN}/sanitizer_common
+
+TSAN_SRCS= \
+	tsan_clock.cc  \
+	tsan_fd.cc  \
+	tsan_flags.cc  \
+	tsan_interceptors.cc  \
+	tsan_interface.cc  \
+	tsan_interface_ann.cc  \
+	tsan_interface_atomic.cc  \
+	tsan_interface_java.cc  \
+	tsan_md5.cc  \
+	tsan_mman.cc  \
+	tsan_mutex.cc  \
+	tsan_mutexset.cc  \
+	tsan_platform_linux.cc  \
+	tsan_platform_mac.cc  \
+	tsan_report.cc  \
+	tsan_rtl.cc  \
+	tsan_rtl_amd64.S  \
+	tsan_rtl_mutex.cc  \
+	tsan_rtl_report.cc  \
+	tsan_rtl_thread.cc  \
+	tsan_stat.cc  \
+	tsan_suppressions.cc  \
+	tsan_symbolize.cc  \
+	tsan_symbolize_addr2line_linux.cc  \
+	tsan_sync.cc
+
+INTERCEPTION_SRCS= \
+	interception_linux.cc \
+	interception_type_test.cc
+
+SANITIZER_SRCS= \
+	sanitizer_allocator.cc \
+	sanitizer_common.cc \
+	sanitizer_flags.cc \
+	sanitizer_libc.cc \
+	sanitizer_netbsd.cc \
+	sanitizer_mac.cc \
+	sanitizer_posix.cc \
+	sanitizer_platform_limits_posix.cc \
+	sanitizer_printf.cc \
+	sanitizer_stackdepot.cc \
+	sanitizer_stacktrace.cc \
+	sanitizer_symbolizer.cc \
+	sanitizer_symbolizer_linux.cc \
+	sanitizer_win.cc
+
+# The linux build does this to avoid preinit sections on shared libraries
+CSHLIBFLAGS+= -DPIC
+
+LIB=	asan
+SRCS=	${TSAN_SRCS} ${INTERCEPTION_SRCS} ${SANITIZER_SRCS}
+CPPFLAGS+=-I${TSAN}/include -I${TSAN}
+
+LDADD+=	-lstdc++ -lpthread
+DPADD+= ${LIBSTDCXX} ${LIBPTHREAD}
+
+.include <bsd.lib.mk>

Reply via email to