diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2004-08-19 20:16:42 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2004-08-19 20:16:42 +0000 |
commit | 90b057bf2a5e902e991ae24579aeec5d26bd0eec (patch) | |
tree | b6d0113eb0c322d6a61214213ad06d432f974a99 /llvm/projects/SmallExamples/ModuleMaker/Makefile.common.in | |
parent | f30f28e05f1617662e40adabb174f7949de2c035 (diff) | |
download | bcm5719-llvm-90b057bf2a5e902e991ae24579aeec5d26bd0eec.tar.gz bcm5719-llvm-90b057bf2a5e902e991ae24579aeec5d26bd0eec.zip |
Moved these files to "SmallExamples" directory.
llvm-svn: 15925
Diffstat (limited to 'llvm/projects/SmallExamples/ModuleMaker/Makefile.common.in')
-rw-r--r-- | llvm/projects/SmallExamples/ModuleMaker/Makefile.common.in | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/llvm/projects/SmallExamples/ModuleMaker/Makefile.common.in b/llvm/projects/SmallExamples/ModuleMaker/Makefile.common.in new file mode 100644 index 00000000000..1f1cfc3c2e0 --- /dev/null +++ b/llvm/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/SmallExamples/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 + |