summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Makefile
diff options
context:
space:
mode:
authorAnders Waldenborg <anders@0x63.nu>2013-10-15 12:08:59 +0000
committerAnders Waldenborg <anders@0x63.nu>2013-10-15 12:08:59 +0000
commit1d9cb434b3ff6942ab9d1e1992f65481346e16ab (patch)
treef2ba11edbaceddf1ce15a052ea997c2dc0863ae0 /llvm/lib/Target/Makefile
parent14b9924c7bfa23a3cbe3b5fc33b7f28bba3f4822 (diff)
downloadbcm5719-llvm-1d9cb434b3ff6942ab9d1e1992f65481346e16ab.tar.gz
bcm5719-llvm-1d9cb434b3ff6942ab9d1e1992f65481346e16ab.zip
Add AllTargetsBindings sublibrary instead of having static inlines in the llvm-c headers.
This new library will be linked in when using the "all-targets" component and contains the LLVMInitializeAll* functions. This means that those functions will exist as real symbols in the shared library, and can therefore can be called from bindings that are using ffi the shared library. llvm-svn: 192690
Diffstat (limited to 'llvm/lib/Target/Makefile')
-rw-r--r--llvm/lib/Target/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Makefile b/llvm/lib/Target/Makefile
index 50a360f1f86..cfa2edb4afe 100644
--- a/llvm/lib/Target/Makefile
+++ b/llvm/lib/Target/Makefile
@@ -15,6 +15,6 @@ BUILD_ARCHIVE = 1
# value for PARALLEL_DIRS which must be set before Makefile.rules is included
include $(LEVEL)/Makefile.config
-PARALLEL_DIRS := $(TARGETS_TO_BUILD)
+PARALLEL_DIRS := $(TARGETS_TO_BUILD) AllTargetsBindings
include $(LLVM_SRC_ROOT)/Makefile.rules
OpenPOWER on IntegriCloud