projects/sample: Switch over to imported Makefile setup.
authorDaniel Dunbar <daniel@zuster.org>
Thu, 27 Oct 2011 21:25:09 +0000 (21:25 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Thu, 27 Oct 2011 21:25:09 +0000 (21:25 +0000)
 - This will require you to manually reconfigure the projects/sample project (by running projects/config/sample/config.status --recheck) if you haven't updated/built since the 1st part of this commit went in.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143148 91177308-0d34-0410-b5e6-96231b3b80d8

projects/sample/Makefile.common.in

index ac08a52ac5debb84045c9a0057bb1f37bb18fe50..758423b89599a1b3d1c2d95ce37611ee9a7772a3 100644 (file)
@@ -18,5 +18,9 @@ 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
+