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