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_mutex.cpp 22SRCS+= sanitizer_common/sanitizer_persistent_allocator.cpp 23SRCS+= sanitizer_common/sanitizer_platform_limits_freebsd.cpp 24SRCS+= sanitizer_common/sanitizer_platform_limits_linux.cpp 25SRCS+= sanitizer_common/sanitizer_platform_limits_posix.cpp 26SRCS+= sanitizer_common/sanitizer_posix.cpp 27SRCS+= sanitizer_common/sanitizer_posix_libcdep.cpp 28SRCS+= sanitizer_common/sanitizer_printf.cpp 29SRCS+= sanitizer_common/sanitizer_procmaps_bsd.cpp 30SRCS+= sanitizer_common/sanitizer_procmaps_common.cpp 31SRCS+= sanitizer_common/sanitizer_suppressions.cpp 32SRCS+= sanitizer_common/sanitizer_termination.cpp 33SRCS+= sanitizer_common/sanitizer_thread_registry.cpp 34SRCS+= sanitizer_common/sanitizer_tls_get_addr.cpp 35SRCS+= sanitizer_common/sanitizer_type_traits.cpp 36SRCS+= xray/xray_buffer_queue.cpp 37SRCS+= xray/xray_flags.cpp 38SRCS+= xray/xray_init.cpp 39SRCS+= xray/xray_interface.cpp 40SRCS+= xray/xray_log_interface.cpp 41SRCS+= xray/xray_trampoline_x86_64.S 42SRCS+= xray/xray_utils.cpp 43SRCS+= xray/xray_x86_64.cpp 44 45.PATH: ${CRTSRC}/include/xray 46INCSDIR= ${CLANGDIR}/include/xray 47INCS+= xray_interface.h 48INCS+= xray_log_interface.h 49INCS+= xray_records.h 50 51.include <bsd.lib.mk> 52