1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00
llvm-mirror/lib/CompilerDriver/Makefile
2009-06-29 22:59:36 +00:00

35 lines
1.0 KiB
Makefile

##===- lib/CompilerDriver/Makefile -------------------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open
# Source License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LEVEL = ../..
# We don't want this library to appear in `llvm-config --libs` output, so its
# name doesn't start with "LLVM".
LIBRARYNAME = libCompilerDriver
LLVMLIBS = LLVMSupport.a LLVMSystem.a
LOADABLE_MODULE := 1
REQUIRES_EH := 1
include $(LEVEL)/Makefile.common
FullLibName = $(LIBRARYNAME)$(SHLIBEXT)
all-local:: $(ToolDir)/$(FullLibName)
# Copy the library to the bin dir so that llvmc can find it.
$(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)