1# $FreeBSD$ 2 3.include <bsd.init.mk> 4 5LIB= clang_rt.xray-${CRTARCH} 6 7SRCS+= sanitizer_common/sanitizer_allocator.cpp 8SRCS+= sanitizer_common/sanitizer_allocator_checks.cpp 9SRCS+= sanitizer_common/sanitizer_common.cpp 10SRCS+= sanitizer_common/sanitizer_common_libcdep.cpp 11SRCS+= sanitizer_common/sanitizer_deadlock_detector1.cpp 12SRCS+= sanitizer_common/sanitizer_deadlock_detector2.cpp 13SRCS+= sanitizer_common/sanitizer_errno.cpp 14SRCS+= sanitizer_common/sanitizer_file.cpp 15SRCS+= sanitizer_common/sanitizer_flag_parser.cpp 16SRCS+= sanitizer_common/sanitizer_flags.cpp 17SRCS+= sanitizer_common/sanitizer_libc.cpp 18SRCS+= sanitizer_common/sanitizer_libignore.cpp 19SRCS+= sanitizer_common/sanitizer_linux.cpp 20SRCS+= sanitizer_common/sanitizer_linux_libcdep.cpp 21SRCS+= sanitizer_common/sanitizer_persistent_allocator.cpp 22SRCS+= sanitizer_common/sanitizer_platform_limits_freebsd.cpp 23SRCS+= sanitizer_common/sanitizer_platform_limits_linux.cpp 24SRCS+= sanitizer_common/sanitizer_platform_limits_posix.cpp 25SRCS+= sanitizer_common/sanitizer_posix.cpp 26SRCS+= sanitizer_common/sanitizer_posix_libcdep.cpp 27SRCS+= sanitizer_common/sanitizer_printf.cpp 28SRCS+= sanitizer_common/sanitizer_procmaps_bsd.cpp 29SRCS+= sanitizer_common/sanitizer_procmaps_common.cpp 30SRCS+= sanitizer_common/sanitizer_suppressions.cpp 31SRCS+= sanitizer_common/sanitizer_termination.cpp 32SRCS+= sanitizer_common/sanitizer_thread_registry.cpp 33SRCS+= sanitizer_common/sanitizer_tls_get_addr.cpp 34SRCS+= sanitizer_common/sanitizer_type_traits.cpp 35SRCS+= xray/xray_buffer_queue.cpp 36SRCS+= xray/xray_flags.cpp 37SRCS+= xray/xray_init.cpp 38SRCS+= xray/xray_interface.cpp 39SRCS+= xray/xray_log_interface.cpp 40SRCS+= xray/xray_trampoline_x86_64.S 41SRCS+= xray/xray_utils.cpp 42SRCS+= xray/xray_x86_64.cpp 43 44.PATH: ${CRTSRC}/include/xray 45INCSDIR= ${CLANGDIR}/include/xray 46INCS+= xray_interface.h 47INCS+= xray_log_interface.h 48INCS+= xray_records.h 49 50.include <bsd.lib.mk> 51