Include the top-level Makefile.config from the LLVM tree for projects
authorChris Lattner <sabre@nondot.org>
Thu, 21 Aug 2003 22:28:46 +0000 (22:28 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 21 Aug 2003 22:28:46 +0000 (22:28 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8035 91177308-0d34-0410-b5e6-96231b3b80d8

Makefile.common
Makefile.rules

index 7effb4cd204810fac74503f5cdff11a319e5b218..47c5f7b5dea610ebc64e205b164e8b1f245390a5 100644 (file)
 #
 # 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
index 7effb4cd204810fac74503f5cdff11a319e5b218..47c5f7b5dea610ebc64e205b164e8b1f245390a5 100644 (file)
 #
 # 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