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 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/InstrProfilingPlatformLinux.c 22SRCS+= profile/InstrProfilingPlatformOther.c 23SRCS+= profile/InstrProfilingRuntime.cpp 24SRCS+= profile/InstrProfilingUtil.c 25SRCS+= profile/InstrProfilingValue.c 26SRCS+= profile/InstrProfilingWriter.c 27 28.include <bsd.lib.mk> 29