]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - lib/libclang_rt/profile/Makefile
Merge OpenSSL 1.1.1a.
[FreeBSD/FreeBSD.git] / lib / libclang_rt / profile / Makefile
1 # $FreeBSD$
2
3 .include <bsd.init.mk>
4
5 LIB=            clang_rt.profile-${CRTARCH}
6
7 CFLAGS+=        -DCOMPILER_RT_HAS_ATOMICS=1
8 CFLAGS+=        -DCOMPILER_RT_HAS_FCNTL_LCK=1
9 CFLAGS+=        -DCOMPILER_RT_HAS_UNAME=1
10
11 # This is needed for --coverage
12 CXXFLAGS+=      -fvisibility=default
13
14 SRCS+=          profile/GCDAProfiling.c
15 SRCS+=          profile/InstrProfiling.c
16 SRCS+=          profile/InstrProfilingBuffer.c
17 SRCS+=          profile/InstrProfilingFile.c
18 SRCS+=          profile/InstrProfilingMerge.c
19 SRCS+=          profile/InstrProfilingMergeFile.c
20 SRCS+=          profile/InstrProfilingNameVar.c
21 SRCS+=          profile/InstrProfilingPlatformDarwin.c
22 SRCS+=          profile/InstrProfilingPlatformLinux.c
23 SRCS+=          profile/InstrProfilingPlatformOther.c
24 SRCS+=          profile/InstrProfilingRuntime.cc
25 SRCS+=          profile/InstrProfilingUtil.c
26 SRCS+=          profile/InstrProfilingValue.c
27 SRCS+=          profile/InstrProfilingWriter.c
28
29 .include <bsd.lib.mk>