blob: ccabcee642a4d3943d7c34c50ed96f3269b47c4f [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.
#
##===----------------------------------------------------------------------===#
#
# Set this variable to the top of the LLVM source tree.
#
LLVM_SRC_ROOT = @LLVM_SRC@
#
# Set this variable to the top level directory where LLVM was built
# (this is *not* the same as OBJ_ROOT as defined in LLVM's Makefile.config).
#
LLVM_OBJ_ROOT = @LLVM_OBJ@
#
# Include LLVM's Master Makefile.
#
include $(LLVM_OBJ_ROOT)/Makefile.config
#
# Set the source root and source directory pathnames
#
BUILD_SRC_DIR := $(subst //,/,@abs_top_srcdir@/$(patsubst $(BUILD_OBJ_ROOT)%,%,$(BUILD_OBJ_DIR)))
BUILD_SRC_ROOT := $(subst //,/,@abs_top_srcdir@)
#
# Include LLVM's Master Makefile.
#
include $(LLVM_SRC_ROOT)/Makefile.rules
#
# Additional utilities
#
JIKES=@JIKES@
JAVAC=@JAVAC@
JAVA=@JAVA@
#
# Include local build rules.
#
include $(BUILD_SRC_ROOT)/Makefile.rules