aboutsummaryrefslogtreecommitdiff
path: root/projects/sample/Makefile.common.in
diff options
context:
space:
mode:
Diffstat (limited to 'projects/sample/Makefile.common.in')
-rw-r--r--projects/sample/Makefile.common.in12
1 files changed, 8 insertions, 4 deletions
diff --git a/projects/sample/Makefile.common.in b/projects/sample/Makefile.common.in
index 33bfcd678809..758423b89599 100644
--- a/projects/sample/Makefile.common.in
+++ b/projects/sample/Makefile.common.in
@@ -1,7 +1,7 @@
# Set the name of the project here
PROJECT_NAME := sample
PROJ_VERSION := 0.9
-
+
# Set this variable to the top of the LLVM source tree.
LLVM_SRC_ROOT = @LLVM_SRC@
@@ -13,10 +13,14 @@ LLVM_OBJ_ROOT = @LLVM_OBJ@
PROJ_SRC_ROOT := $(subst //,/,@abs_top_srcdir@)
# Set the root directory of this project's object files
-PROJ_OBJ_ROOT := $(subst //,/,@abs_top_objdir@)
+PROJ_OBJ_ROOT := $(subst //,/,@abs_top_builddir@)
# Set the root directory of this project's install prefix
PROJ_INSTALL_ROOT := @prefix@
-# Include LLVM's Master Makefile.
-include $(LLVM_SRC_ROOT)/Makefile.common
+# Configuration file to set paths specific to local installation of LLVM
+include $(PROJ_OBJ_ROOT)/Makefile.llvm.config
+
+# Include all of the build rules used for making LLVM
+include $(PROJ_SRC_ROOT)/Makefile.llvm.rules
+