blob: 9c2ca07023cd182902120a9901726a0fa97e42aa [file] [log] [blame]
##===- tools/vmjc/Makefile --------------------------------*- Makefile -*-===##
#
# The VMKit project
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LEVEL = ../..
include $(LEVEL)/Makefile.config
EXTRA_DIST = libvmjc
TOOLNAME = vmjc
ifeq ($(WITH_LLVM_GCC), 1)
MODULESNAME = vmkit
USEDMODULES = J3.bc Classpath.bc J3Compiler.bc Allocator.bc \
CommonThread.bc Mvm.bc MvmCompiler.bc $(GCLIB).bc
BUILT_SOURCES = vmkit.s
SOURCES = vmkit.s $(notdir $(wildcard $(PROJ_SRC_DIR)/*.cpp))
else
USEDLIBS = J3.a Classpath.a J3.a J3Compiler.a Allocator.a \
Mvm.a MvmCompiler.a $(GCLIB).a CommonThread.a
endif
LINK_COMPONENTS = jit nativecodegen scalaropts instrumentation ipa ipo bitwriter bitreader asmparser linker
include $(LEVEL)/Makefile.common