Remove support for truncating names in archives.
[oota-llvm.git] / projects / sample / Makefile.common.in
index 2b3025bd011e033776458b8f66ac724625f3268b..758423b89599a1b3d1c2d95ce37611ee9a7772a3 100644 (file)
@@ -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_OBJ_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
+