llvm.org GIT mirror llvm / bc3814f
fix make install/uninstall of libcrtend. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25796 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 13 years ago
1 changed file(s) with 19 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
5858
5959 all-local:: $(LibName.BCA)
6060
61 ifdef BYTECODE_DESTINATION
62 BytecodeDestDir := $(BYTECODE_DESTINATION)
63 else
64 BytecodeDestDir := $(PROJ_libdir)
65 endif
66
67 DestBytecodeLib = $(BytecodeDestDir)/lib$(LIBRARYNAME).a
68 install-bytecode-local:: $(DestBytecodeLib)
69 install-local:: $(DestBytecodeLib)
70
6171 $(LibName.BCA): $(SYMBOLHACKEDOBJS) $(LibDir)/.dir $(LLVMToolDir)/llvm-ar
6272 $(Echo) Building $(BuildMode) Bytecode Archive $(notdir $@)
6373 $(Verb) $(RM) -f $@
6474 $(Verb) $(LArchive) $@ $(SYMBOLHACKEDOBJS)
6575
76 $(DestBytecodeLib): $(BytecodeDestDir) $(LibName.BCA)
77 $(Echo) Installing $(BuildMode) Bytecode Archive $(DestBytecodeLib)
78 $(Verb) $(DataInstall) $(LibName.BCA) $(DestBytecodeLib)
79
80 uninstall-local::
81 $(Echo) Uninstalling $(BuildMode) Bytecode Archive $(DestBytecodeLib)
82 -$(Verb) $(RM) -f $(DestBytecodeLib)
83
84