aboutsummaryrefslogtreecommitdiff
path: root/lib/libclang_rt/xray-profiling/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libclang_rt/xray-profiling/Makefile')
-rw-r--r--lib/libclang_rt/xray-profiling/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/libclang_rt/xray-profiling/Makefile b/lib/libclang_rt/xray-profiling/Makefile
new file mode 100644
index 000000000000..4e609b777799
--- /dev/null
+++ b/lib/libclang_rt/xray-profiling/Makefile
@@ -0,0 +1,12 @@
+
+.include <bsd.init.mk>
+
+LIB= clang_rt.xray-profiling-${CRTARCH}
+
+CFLAGS+= -DSANITIZER_COMMON_NO_REDEFINE_BUILTINS
+
+SRCS+= xray/xray_profile_collector.cpp
+SRCS+= xray/xray_profiling.cpp
+SRCS+= xray/xray_profiling_flags.cpp
+
+.include <bsd.lib.mk>