1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 12:33:33 +02:00
llvm-mirror/projects/ModuleMaker/Makefile.common.in
John Criswell 7e7ae396e1 Auto-conf'ed the ModuleMaker code.
Moved Makefile.common to Makefile.common.in.

llvm-svn: 10214
2003-11-25 19:59:21 +00:00

24 lines
554 B
Makefile

#
# 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