Auto-conf'ed the ModuleMaker code.
authorJohn Criswell <criswell@uiuc.edu>
Tue, 25 Nov 2003 19:59:21 +0000 (19:59 +0000)
committerJohn Criswell <criswell@uiuc.edu>
Tue, 25 Nov 2003 19:59:21 +0000 (19:59 +0000)
Moved Makefile.common to Makefile.common.in.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10214 91177308-0d34-0410-b5e6-96231b3b80d8

examples/ModuleMaker/Makefile.common [deleted file]
examples/ModuleMaker/Makefile.common.in [new file with mode: 0644]
projects/ModuleMaker/Makefile.common [deleted file]
projects/ModuleMaker/Makefile.common.in [new file with mode: 0644]
projects/SmallExamples/ModuleMaker/Makefile.common [deleted file]
projects/SmallExamples/ModuleMaker/Makefile.common.in [new file with mode: 0644]

diff --git a/examples/ModuleMaker/Makefile.common b/examples/ModuleMaker/Makefile.common
deleted file mode 100644 (file)
index b90ad9f..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-#
-# 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
-
diff --git a/examples/ModuleMaker/Makefile.common.in b/examples/ModuleMaker/Makefile.common.in
new file mode 100644 (file)
index 0000000..b90ad9f
--- /dev/null
@@ -0,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
+
diff --git a/projects/ModuleMaker/Makefile.common b/projects/ModuleMaker/Makefile.common
deleted file mode 100644 (file)
index b90ad9f..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-#
-# 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
-
diff --git a/projects/ModuleMaker/Makefile.common.in b/projects/ModuleMaker/Makefile.common.in
new file mode 100644 (file)
index 0000000..b90ad9f
--- /dev/null
@@ -0,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
+
diff --git a/projects/SmallExamples/ModuleMaker/Makefile.common b/projects/SmallExamples/ModuleMaker/Makefile.common
deleted file mode 100644 (file)
index b90ad9f..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-#
-# 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
-
diff --git a/projects/SmallExamples/ModuleMaker/Makefile.common.in b/projects/SmallExamples/ModuleMaker/Makefile.common.in
new file mode 100644 (file)
index 0000000..b90ad9f
--- /dev/null
@@ -0,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
+