Skip to content

Commit

Permalink
Create Makefile variables for 'share' and 'libexec'
Browse files Browse the repository at this point in the history
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
  • Loading branch information
jroelofs committed Nov 9, 2015
1 parent ae263d4 commit e5e5436
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile.rules
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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)'
Expand Down

0 comments on commit e5e5436

Please sign in to comment.