From 27bf6376da3f190895c718635164ab2ff5dcd392 Mon Sep 17 00:00:00 2001 From: John Criswell Date: Tue, 25 Nov 2003 19:59:21 +0000 Subject: Auto-conf'ed the ModuleMaker code. 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 | 23 ----------------------- examples/ModuleMaker/Makefile.common.in | 23 +++++++++++++++++++++++ 2 files changed, 23 insertions(+), 23 deletions(-) delete mode 100644 examples/ModuleMaker/Makefile.common create mode 100644 examples/ModuleMaker/Makefile.common.in (limited to 'examples/ModuleMaker') diff --git a/examples/ModuleMaker/Makefile.common b/examples/ModuleMaker/Makefile.common deleted file mode 100644 index b90ad9f926..0000000000 --- a/examples/ModuleMaker/Makefile.common +++ /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 index 0000000000..b90ad9f926 --- /dev/null +++ b/examples/ModuleMaker/Makefile.common.in @@ -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 + -- cgit v1.2.3