[PATCH] D14405: Create Makefile variables for 'share' and 'libexec' for D14403

Jonathan Roelofs via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 5 16:06:58 PST 2015


jroelofs created this revision.
jroelofs added reviewers: zaks.anna, beanz.
jroelofs added a subscriber: llvm-commits.

http://reviews.llvm.org/D14405

Files:
  Makefile.rules

Index: Makefile.rules
===================================================================
--- Makefile.rules
+++ Makefile.rules
@@ -486,6 +486,8 @@
 ObjRootDir  := $(PROJ_OBJ_DIR)/$(BuildMode)
 ObjDir      := $(ObjRootDir)
 LibDir      := $(PROJ_OBJ_ROOT)/$(BuildMode)/lib
+LibexecDir  := $(PROJ_OBJ_ROOT)/$(BuildMode)/libexec
+ShareDir    := $(PROJ_OBJ_ROOT)/$(BuildMode)/share
 ToolDir     := $(PROJ_OBJ_ROOT)/$(BuildMode)/bin
 ExmplDir    := $(PROJ_OBJ_ROOT)/$(BuildMode)/examples
 LLVMLibDir  := $(LLVM_OBJ_ROOT)/$(BuildMode)/lib
@@ -857,6 +859,7 @@
 
 .PRECIOUS: $(LibDir)/.dir $(ToolDir)/.dir $(ExmplDir)/.dir
 .PRECIOUS: $(LLVMLibDir)/.dir $(LLVMToolDir)/.dir $(LLVMExmplDir)/.dir
+.PRECIOUS: $(LibexecDir)/.dir $(ShareDir)/.dir
 
 #---------------------------------------------------------
 # Collect the object directories (as there may be more
@@ -2144,6 +2147,8 @@
 	$(Echo) "SrcMakefiles : " '$(SrcMakefiles)'
 	$(Echo) "ObjDir       : " '$(ObjDir)'
 	$(Echo) "LibDir       : " '$(LibDir)'
+	$(Echo) "LibexecDir   : " '$(LibexecDir)'
+	$(Echo) "ShareDir     : " '$(ShareDir)'
 	$(Echo) "ToolDir      : " '$(ToolDir)'
 	$(Echo) "ExmplDir     : " '$(ExmplDir)'
 	$(Echo) "Sources      : " '$(Sources)'


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14405.39437.patch
Type: text/x-patch
Size: 1212 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151106/5067b7ee/attachment.bin>


More information about the llvm-commits mailing list