From 56e4fa45654cd4a972298272750e1c032993e9ac Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 21 Aug 2003 22:28:46 +0000 Subject: [PATCH] Include the top-level Makefile.config from the LLVM tree for projects git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8035 91177308-0d34-0410-b5e6-96231b3b80d8 --- Makefile.common | 4 ++++ Makefile.rules | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/Makefile.common b/Makefile.common index 7effb4cd204..47c5f7b5dea 100644 --- a/Makefile.common +++ b/Makefile.common @@ -50,7 +50,11 @@ # # Configuration file to set paths specific to local installation of LLVM # +ifdef LLVM_SRC_ROOT +include $(LLVM_SRC_ROOT)/Makefile.config +else include $(LEVEL)/Makefile.config +endif ########################################################################### # Directory Configuration diff --git a/Makefile.rules b/Makefile.rules index 7effb4cd204..47c5f7b5dea 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -50,7 +50,11 @@ # # Configuration file to set paths specific to local installation of LLVM # +ifdef LLVM_SRC_ROOT +include $(LLVM_SRC_ROOT)/Makefile.config +else include $(LEVEL)/Makefile.config +endif ########################################################################### # Directory Configuration -- 2.34.1