diff options
| author | John Criswell <criswell@uiuc.edu> | 2003-11-25 19:59:21 +0000 |
|---|---|---|
| committer | John Criswell <criswell@uiuc.edu> | 2003-11-25 19:59:21 +0000 |
| commit | 27bf6376da3f190895c718635164ab2ff5dcd392 (patch) | |
| tree | b085b6c7ec57b15d2be63a979f9411289be4469b /projects/SmallExamples/ModuleMaker/Makefile.common.in | |
| parent | 94a28c6bc816486c5754c5492202359a1f733ec4 (diff) | |
| download | llvm-27bf6376da3f190895c718635164ab2ff5dcd392.tar.gz llvm-27bf6376da3f190895c718635164ab2ff5dcd392.tar.bz2 llvm-27bf6376da3f190895c718635164ab2ff5dcd392.tar.xz | |
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
Diffstat (limited to 'projects/SmallExamples/ModuleMaker/Makefile.common.in')
| -rw-r--r-- | projects/SmallExamples/ModuleMaker/Makefile.common.in | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/projects/SmallExamples/ModuleMaker/Makefile.common.in b/projects/SmallExamples/ModuleMaker/Makefile.common.in new file mode 100644 index 0000000000..b90ad9f926 --- /dev/null +++ b/projects/SmallExamples/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 + |
