blob: 42e91f727c375f973b518651eb3529ae9bd86459 [file] [log] [blame]
#===-- Makefile.common - Common make rules for LLVM -------*- makefile -*--====
#
# The LLVM Compiler Infrastructure
#
# This file was developed by the LLVM research group and is distributed under
# the University of Illinois Open Source License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===#
#
# 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/Java
BUILD_SRC_DIR := $(subst //,/,$(BUILD_SRC_ROOT)/$(patsubst $(BUILD_OBJ_ROOT)%,%, $(BUILD_OBJ_DIR)))
#
# Additional utilities
#
JIKES=@JIKES@
JAVAC=@JAVAC@
JAVA=@JAVA@
#
# Include LLVM's build rules.
#
include $(LLVM_SRC_ROOT)/Makefile.rules
#
# Include local build rules.
#
include $(LEVEL)/Makefile.rules