[llvm-commits] CVS: llvm/projects/sample/Makefile.common.in Makefile.common Makefile.config
John Criswell
criswell at cs.uiuc.edu
Wed Oct 15 20:46:14 PDT 2003
Changes in directory llvm/projects/sample:
Makefile.common.in added (r1.1)
Makefile.common (r1.4) removed
Makefile.config (r1.2) removed
---
Log message:
Adding autoconf support for the sample project.
This should make setting up a new project much easier.
---
Diffs of the changes: (+28 -0)
Index: llvm/projects/sample/Makefile.common.in
diff -c /dev/null llvm/projects/sample/Makefile.common.in:1.1
*** /dev/null Wed Oct 15 20:45:20 2003
--- llvm/projects/sample/Makefile.common.in Wed Oct 15 20:45:10 2003
***************
*** 0 ****
--- 1,28 ----
+ #
+ # 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 source root and source directory pathnames
+ #
+ BUILD_SRC_DIR := $(subst //,/, at abs_top_srcdir@/$(patsubst $(BUILD_OBJ_ROOT)%,%,$(BUILD_OBJ_DIR)))
+
+ BUILD_SRC_ROOT := $(subst //,/, at abs_top_srcdir@)
+
+ #
+ # Include LLVM's Master Makefile.
+ #
+ include $(LLVM_SRC_ROOT)/Makefile.rules
+
More information about the llvm-commits
mailing list