5 LIB= clang_rt.profile-${CRTARCH}
7 CFLAGS+= -DCOMPILER_RT_HAS_ATOMICS=1
8 CFLAGS+= -DCOMPILER_RT_HAS_FCNTL_LCK=1
9 CFLAGS+= -DCOMPILER_RT_HAS_UNAME=1
11 # This is needed for --coverage
12 CXXFLAGS+= -fvisibility=default
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/InstrProfilingPlatformLinux.c
22 SRCS+= profile/InstrProfilingPlatformOther.c
23 SRCS+= profile/InstrProfilingRuntime.cpp
24 SRCS+= profile/InstrProfilingUtil.c
25 SRCS+= profile/InstrProfilingValue.c
26 SRCS+= profile/InstrProfilingWriter.c
28 .PATH: ${CRTSRC}/include/profile
29 INCSDIR= ${CLANGDIR}/include/profile
30 INCS+= InstrProfData.inc