diff options
author | Mikhail Glushenkov <foldr@codedgers.com> | 2010-08-15 07:07:12 +0000 |
---|---|---|
committer | Mikhail Glushenkov <foldr@codedgers.com> | 2010-08-15 07:07:12 +0000 |
commit | b3d36293c2b7d5f4b53f3f907f97264309205c23 (patch) | |
tree | 9e3c0c04e35dd73864cced2cb17c5fb77e973f80 /lib/CompilerDriver/Makefile | |
parent | c0b2a2018ad194de6a9cf46a2a5936319787f1b1 (diff) | |
download | external_llvm-b3d36293c2b7d5f4b53f3f907f97264309205c23.zip external_llvm-b3d36293c2b7d5f4b53f3f907f97264309205c23.tar.gz external_llvm-b3d36293c2b7d5f4b53f3f907f97264309205c23.tar.bz2 |
llvmc: remove dynamic plugins.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111094 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CompilerDriver/Makefile')
-rw-r--r-- | lib/CompilerDriver/Makefile | 31 |
1 files changed, 2 insertions, 29 deletions
diff --git a/lib/CompilerDriver/Makefile b/lib/CompilerDriver/Makefile index b829f52..69c3707 100644 --- a/lib/CompilerDriver/Makefile +++ b/lib/CompilerDriver/Makefile @@ -12,34 +12,7 @@ LEVEL = ../.. # We don't want this library to appear in `llvm-config --libs` output, so its # name doesn't start with "LLVM". -ifeq ($(ENABLE_LLVMC_DYNAMIC),1) - LIBRARYNAME = libCompilerDriver - LLVMLIBS = LLVMSupport.a LLVMSystem.a - LOADABLE_MODULE := 1 -else - LIBRARYNAME = CompilerDriver - LINK_COMPONENTS = support system -endif +LIBRARYNAME = CompilerDriver +LINK_COMPONENTS = support system include $(LEVEL)/Makefile.common - -ifeq ($(ENABLE_LLVMC_DYNAMIC_PLUGINS), 1) - CPP.Flags += -DENABLE_LLVMC_DYNAMIC_PLUGINS -endif - -# Copy libCompilerDriver to the bin dir so that llvmc can find it. -ifeq ($(ENABLE_LLVMC_DYNAMIC),1) - -FullLibName = $(LIBRARYNAME)$(SHLIBEXT) - -all-local:: $(ToolDir)/$(FullLibName) - -$(ToolDir)/$(FullLibName): $(LibDir)/$(FullLibName) $(ToolDir)/.dir - $(Echo) Copying $(BuildMode) Shared Library $(FullLibName) to $@ - -$(Verb) $(CP) $< $@ - -clean-local:: - $(Echo) Removing $(BuildMode) Shared Library $(FullLibName) \ - from $(ToolDir) - -$(Verb) $(RM) -f $(ToolDir)/$(FullLibName) -endif |