blob: 167e280198868adfd34fd6c45e309522c8d3b7c4 [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 = vmkit
USEDLIBS = Allocator CommonThread Mvm $(GCLIB)
ifeq ($(WITH_JNJVM), 1)
USEDLIBS += JnJVM Classpath
endif
ifeq ($(ISOLATE_BUILD), 1)
USEDLIBS += Isolate
endif
ifeq ($(WITH_N3_PNETLIB), 1)
USEDLIBS += N3 PNetLib
endif
LINK_COMPONENTS = jit nativecodegen scalaropts instrumentation ipa ipo
include $(LEVEL)/Makefile.common
ifeq ($(WITH_N3_PNETLIB), 1)
LIBS += $(PNETLIB)/engine/libILEngine.a $(PNETLIB)/image/libILImage.a $(PNETLIB)/support/libILSupport.a \
$(PNETLIB)/libffi/.libs/libffi.a $(PNETLIB)//dumpasm/libILDumpAsm.a
endif