From ae7e2a4bbbdfa82b4e2670fccb3a0aed812c3b0a Mon Sep 17 00:00:00 2001 From: Bob Wilson Date: Mon, 28 Nov 2011 07:59:52 +0000 Subject: Add an optional separate install prefix for internal components. rdar://10217046 Some files installed by clang are not relevant for general users and we'd like to be able to install them to a different location. This adds a new --with-internal-prefix configure option and a corresponding PROJ_internal_prefix makefile variable, which defaults to the standard prefix. A tool makefile can specify that it should be installed to this internal prefix by defining INTERNAL_TOOL. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145234 91177308-0d34-0410-b5e6-96231b3b80d8 --- Makefile.config.in | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Makefile.config.in') diff --git a/Makefile.config.in b/Makefile.config.in index dd948bf..6422559 100644 --- a/Makefile.config.in +++ b/Makefile.config.in @@ -86,6 +86,13 @@ PROJ_VERSION := 1.0 endif endif +INTERNAL_PREFIX := @INTERNAL_PREFIX@ +ifneq ($(INTERNAL_PREFIX),) +PROJ_internal_prefix := $(INTERNAL_PREFIX) +else +PROJ_internal_prefix := $(prefix) +endif + PROJ_bindir := $(PROJ_prefix)/bin PROJ_libdir := $(PROJ_prefix)/lib PROJ_datadir := $(PROJ_prefix)/share -- cgit v1.1