blob: f91c69a0fec7f5dada88999109f7efbf158524a3 [file] [log] [blame]
##===- tools/jnjvm/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
TOOLNAME = j3
ifeq ($(WITH_LLVM_GCC), 1)
MODULESNAME = j3
USEDMODULES = J3.bc Classpath.bc J3Compiler.bc Allocator.bc CommonThread.bc \
Mvm.bc MvmCompiler.bc $(GCLIB).bc
ifeq ($(ISOLATE_SHARING_BUILD), 1)
USEDMODULES += Isolate.bc
endif
BUILT_SOURCES = j3.s
SOURCES = j3.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
ifeq ($(ISOLATE_SHARING_BUILD), 1)
USEDLIBS += Isolate
endif
endif
LINK_COMPONENTS = jit nativecodegen scalaropts instrumentation ipa ipo bitreader asmparser linker
include $(LEVEL)/Makefile.common