[llvm-commits] CVS: llvm/projects/ModuleMaker/Makefile.common.in Makefile.common

John Criswell criswell at cs.uiuc.edu
Tue Nov 25 14:00:06 PST 2003


Changes in directory llvm/projects/ModuleMaker:

Makefile.common.in added (r1.1)
Makefile.common (r1.2) removed

---
Log message:

Auto-conf'ed the ModuleMaker code.
Moved Makefile.common to Makefile.common.in.



---
Diffs of the changes:  (+23 -0)

Index: llvm/projects/ModuleMaker/Makefile.common.in
diff -c /dev/null llvm/projects/ModuleMaker/Makefile.common.in:1.1
*** /dev/null	Tue Nov 25 13:59:31 2003
--- llvm/projects/ModuleMaker/Makefile.common.in	Tue Nov 25 13:59:21 2003
***************
*** 0 ****
--- 1,23 ----
+ #
+ # Configure the location of the LLVM object root.  We know it is two
+ # directories up.  The source tree location we do not know; let the LLVM
+ # Makefiles find it for us.
+ #
+ LLVM_OBJ_ROOT=$(LEVEL)/../..
+ 
+ #
+ # Grab the LLVM configuration file.
+ #
+ include $(LEVEL)/../../Makefile.config
+ 
+ #
+ # Reconfigure the source directories
+ #
+ BUILD_SRC_ROOT:=$(LLVM_SRC_ROOT)/projects/ModuleMaker
+ BUILD_SRC_DIR := $(subst //,/,$(BUILD_SRC_ROOT)/$(patsubst $(BUILD_OBJ_ROOT)%,%,$(BUILD_OBJ_DIR)))
+ 
+ #
+ # Include LLVM's build rules.
+ #
+ include $(LLVM_SRC_ROOT)/Makefile.rules
+ 





More information about the llvm-commits mailing list