2003-06-30 22:13:48 +00:00
|
|
|
#
|
2003-09-06 15:03:24 +00:00
|
|
|
# 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.
|
2003-06-30 22:13:48 +00:00
|
|
|
#
|
2003-09-06 15:03:24 +00:00
|
|
|
LLVM_OBJ_ROOT=$(LEVEL)/../..
|
2003-06-30 22:13:48 +00:00
|
|
|
|
|
|
|
#
|
2003-09-06 15:03:24 +00:00
|
|
|
# Grab the LLVM configuration file.
|
2003-06-30 22:13:48 +00:00
|
|
|
#
|
2003-09-06 15:03:24 +00:00
|
|
|
include $(LEVEL)/../../Makefile.config
|
|
|
|
|
|
|
|
#
|
|
|
|
# Reconfigure the source directories
|
|
|
|
#
|
|
|
|
BUILD_SRC_ROOT:=$(LLVM_SRC_ROOT)/projects/sample
|
|
|
|
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
|
2003-06-30 22:13:48 +00:00
|
|
|
|