freebsd-nq/lib/libclang_rt/profile/Makefile
Dimitry Andric 91d03e2e18 Now compiler-rt has been updated in r276851, bring in the various
sanitizer libraries that already work on FreeBSD:

* asan:    Address Sanitizer
* ubsan:   Undefined Behavior Sanitizer
* profile: Profile Guided Optimization support

Please note that these libraries are *experimental* at this stage, so
the main Makefile is not yet connected to the build.

Since I didn't want to needlessly edit BSD.usr.dist, you will also have
to create the install directory /usr/lib/clang/3.5.0/lib/freebsd
manually for now.
2015-01-08 22:40:56 +00:00

18 lines
306 B
Makefile

# $FreeBSD$
.include <bsd.init.mk>
LIB= clang_rt.profile-${CRTARCH}
.PATH: ${CRTSRC}/lib/profile
SRCS= GCDAProfiling.c\
InstrProfiling.c\
InstrProfilingBuffer.c\
InstrProfilingFile.c\
InstrProfilingPlatformDarwin.c\
InstrProfilingPlatformOther.c\
InstrProfilingRuntime.cc\
.include <bsd.lib.mk>