summaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
authorJonathan Roelofs <jonathan@codesourcery.com>2015-11-09 16:10:00 +0000
committerJonathan Roelofs <jonathan@codesourcery.com>2015-11-09 16:10:00 +0000
commite5e54367e73bf4727f88efbee58bee9183a66faf (patch)
tree2d9f1f2492975c5f7ace4efae668159b96d46352 /Makefile.rules
parentae263d48b03ca2f9eb94c11a236d998ff3453619 (diff)
Create Makefile variables for 'share' and 'libexec'
in preparation for a Clang commit. http://reviews.llvm.org/D14405 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@252473 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 42d6a96cf52..a67aef7c97a 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -486,6 +486,8 @@ endif
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 @@ $(DESTDIR)$(PROJ_bindir) $(DESTDIR)$(PROJ_libdir) $(DESTDIR)$(PROJ_includedir) $
.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 @@ printvars::
$(Echo) "SrcMakefiles : " '$(SrcMakefiles)'
$(Echo) "ObjDir : " '$(ObjDir)'
$(Echo) "LibDir : " '$(LibDir)'
+ $(Echo) "LibexecDir : " '$(LibexecDir)'
+ $(Echo) "ShareDir : " '$(ShareDir)'
$(Echo) "ToolDir : " '$(ToolDir)'
$(Echo) "ExmplDir : " '$(ExmplDir)'
$(Echo) "Sources : " '$(Sources)'