[llvm-commits] CVS: llvm/projects/sample/Makefile.common.in
Reid Spencer
reid at x10sys.com
Sat Jan 15 18:21:54 PST 2005
Changes in directory llvm/projects/sample:
Makefile.common.in updated: 1.1 -> 1.2
---
Log message:
Update per new Makefile requirements for projects
---
Diffs of the changes: (+11 -17)
Index: llvm/projects/sample/Makefile.common.in
diff -u llvm/projects/sample/Makefile.common.in:1.1 llvm/projects/sample/Makefile.common.in:1.2
--- llvm/projects/sample/Makefile.common.in:1.1 Wed Oct 15 20:45:10 2003
+++ llvm/projects/sample/Makefile.common.in Sat Jan 15 20:21:42 2005
@@ -1,28 +1,22 @@
-#
+# 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@
-#
# Set this variable to the top level directory where LLVM was built
# (this is *not* the same as OBJ_ROOT as defined in LLVM's Makefile.config).
-#
LLVM_OBJ_ROOT = @LLVM_OBJ@
-#
-# Include LLVM's Master Makefile.
-#
-include $(LLVM_OBJ_ROOT)/Makefile.config
+# Set the directory root of this project's source files
+PROJ_SRC_ROOT := $(subst //,/, at abs_top_srcdir@)
-#
-# Set the source root and source directory pathnames
-#
-BUILD_SRC_DIR := $(subst //,/, at abs_top_srcdir@/$(patsubst $(BUILD_OBJ_ROOT)%,%,$(BUILD_OBJ_DIR)))
+# Set the root directory of this project's object files
+PROJ_OBJ_ROOT := $(subst //,/, at abs_top_objdir@)
-BUILD_SRC_ROOT := $(subst //,/, at abs_top_srcdir@)
+# Set the root directory of this project's install prefix
+PROJ_INSTALL_ROOT := @prefix@
-#
# Include LLVM's Master Makefile.
-#
-include $(LLVM_SRC_ROOT)/Makefile.rules
-
+include $(LLVM_OBJ_ROOT)/Makefile.common
More information about the llvm-commits
mailing list