summaryrefslogtreecommitdiff
path: root/projects/sample/Makefile.common.in
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2011-10-18 23:10:47 +0000
committerDaniel Dunbar <daniel@zuster.org>2011-10-18 23:10:47 +0000
commit2532fa21a963edf53183357edfc79a9361b44435 (patch)
tree437546067c905d1d6cd931a47b663c548c290607 /projects/sample/Makefile.common.in
parent857bf8341498448851fd7205e48307138823698b (diff)
downloadllvm-2532fa21a963edf53183357edfc79a9361b44435.tar.gz
llvm-2532fa21a963edf53183357edfc79a9361b44435.tar.bz2
llvm-2532fa21a963edf53183357edfc79a9361b44435.tar.xz
projects/sample: Import adapted form of current LLVM autoconf/Makefile setup so that projects/sample is standalone and not tied to the LLVM build setup.
- This currently just moves over all of the behavior from LLVM. Eventually all of the configure checks that are directly needed by the LLVM build setup should probably go away, and the project should manage their own configuration checks if necessary. - This is the 1st half of this work, the actual Makefile.common hasn't moved over yet. I've tried to stage this in such a way that incremental builds will properly reconfigure for most active developers (the Makefiles don't handle reconfiguring in a perfectly reliable way, and I haven't found an easy way to make them do so). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142456 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'projects/sample/Makefile.common.in')
-rw-r--r--projects/sample/Makefile.common.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/projects/sample/Makefile.common.in b/projects/sample/Makefile.common.in
index 33bfcd6788..ac08a52ac5 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,7 +13,7 @@ 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@