xref: /freebsd-14.2/lib/libclang_rt/profile/Makefile (revision d0b2dbfa)
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1
2.include <bsd.init.mk>
3
4LIB=		clang_rt.profile-${CRTARCH}
5
6CFLAGS+=	-DCOMPILER_RT_HAS_ATOMICS=1
7CFLAGS+=	-DCOMPILER_RT_HAS_FCNTL_LCK=1
8CFLAGS+=	-DCOMPILER_RT_HAS_UNAME=1
9
10# This is needed for --coverage
11CXXFLAGS+=	-fvisibility=default
12
13SRCS+=		profile/GCDAProfiling.c
14SRCS+=		profile/InstrProfiling.c
15SRCS+=		profile/InstrProfilingBuffer.c
16SRCS+=		profile/InstrProfilingFile.c
17SRCS+=		profile/InstrProfilingInternal.c
18SRCS+=		profile/InstrProfilingMerge.c
19SRCS+=		profile/InstrProfilingMergeFile.c
20SRCS+=		profile/InstrProfilingNameVar.c
21SRCS+=		profile/InstrProfilingPlatformLinux.c
22SRCS+=		profile/InstrProfilingPlatformOther.c
23SRCS+=		profile/InstrProfilingRuntime.cpp
24SRCS+=		profile/InstrProfilingUtil.c
25SRCS+=		profile/InstrProfilingValue.c
26SRCS+=		profile/InstrProfilingVersionVar.c
27SRCS+=		profile/InstrProfilingWriter.c
28
29.PATH:		${CRTSRC}/include/profile
30INCSDIR=	${CLANGDIR}/include/profile
31INCS+=		InstrProfData.inc
32INCS+=		MemProfData.inc
33
34.include <bsd.lib.mk>
35

served by {OpenGrok

Last Index Update: Fri May 15 20:09:11 GMT 2026