[llvm-commits] CVS: llvm/projects/sample/Makefile Makefile.common Makefile.config

John Criswell criswell at choi.cs.uiuc.edu
Mon Jun 30 17:13:01 PDT 2003


Changes in directory llvm/projects/sample:

Makefile updated: 1.1 -> 1.2
Makefile.common updated: 1.1 -> 1.2
Makefile.config updated: 1.1 -> 1.2

---
Log message:

Adding in sample project tree.


---
Diffs of the changes:

Index: llvm/projects/sample/Makefile
diff -u /dev/null llvm/projects/sample/Makefile:1.2
--- /dev/null	Mon Jun 30 17:12:52 2003
+++ llvm/projects/sample/Makefile	Mon Jun 30 17:12:41 2003
@@ -0,0 +1,19 @@
+#
+# This is a sample Makefile for a project that uses LLVM.
+#
+
+#
+# Indicates our relative path to the top of the project's root directory.
+#
+LEVEL = .
+
+#
+# Directories that needs to be built.
+#
+DIRS = lib tools
+
+#
+# Include the Master Makefile that knows how to build all.
+#
+include $(LEVEL)/Makefile.common
+


Index: llvm/projects/sample/Makefile.common
diff -u /dev/null llvm/projects/sample/Makefile.common:1.2
--- /dev/null	Mon Jun 30 17:12:52 2003
+++ llvm/projects/sample/Makefile.common	Mon Jun 30 17:12:41 2003
@@ -0,0 +1,16 @@
+#
+# Set this variable to the top of the LLVM source tree.
+#
+LLVM_SRC_ROOT = $(LEVEL)/../..
+
+#
+# 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 = $(LEVEL)/../..
+
+#
+# Include LLVM's Master Makefile.
+#
+include $(LLVM_SRC_ROOT)/Makefile.common
+


Index: llvm/projects/sample/Makefile.config
diff -u /dev/null llvm/projects/sample/Makefile.config:1.2
--- /dev/null	Mon Jun 30 17:12:52 2003
+++ llvm/projects/sample/Makefile.config	Mon Jun 30 17:12:41 2003
@@ -0,0 +1,16 @@
+#
+# Set this variable to the top of the LLVM source tree.
+#
+LLVM_SRC_ROOT = $(LEVEL)/../..
+
+#
+# Set this variable to the top level directory where LLVM was built
+# (i.e. where all of the object files are located).
+#
+#LLVM_OBJ_ROOT = $(LEVEL)/../..
+
+#
+# Include LLVM's Makefile Makefile.
+#
+include $(LLVM_SRC_ROOT)/Makefile.config
+





More information about the llvm-commits mailing list