mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-19 01:34:32 +00:00
bcffb1fbb8
under cmake). Add libprofile_rt.a so that we can tell clang to link against it in --coverage mode. Also turn it on by default in cmake builds. Oscar, this touches a change you made for EXCLUDE_FROM_ALL support -- I think I've done the right thing, but please let me know (or fix and commit) if not! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130470 91177308-0d34-0410-b5e6-96231b3b80d8
23 lines
631 B
Makefile
23 lines
631 B
Makefile
##===- runtime/libprofile/Makefile -------------------------*- Makefile -*-===##
|
|
#
|
|
# The LLVM Compiler Infrastructure
|
|
#
|
|
# This file is distributed under the University of Illinois Open Source
|
|
# License. See LICENSE.TXT for details.
|
|
#
|
|
##===----------------------------------------------------------------------===##
|
|
|
|
LEVEL = ../..
|
|
include $(LEVEL)/Makefile.config
|
|
|
|
ifneq ($(strip $(LLVMCC)),)
|
|
BYTECODE_LIBRARY = 1
|
|
endif
|
|
LIBRARYNAME = profile_rt
|
|
LINK_LIBS_IN_SHARED = 1
|
|
SHARED_LIBRARY = 1
|
|
EXTRA_DIST = libprofile.exports
|
|
EXPORTED_SYMBOL_FILE = $(PROJ_SRC_DIR)/libprofile.exports
|
|
|
|
include $(LEVEL)/Makefile.common
|