| ##===- 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 | |
| ifeq ($(GC_MMTK), 1) | |
| USEDMODULES += FinalMMTk.bc | |
| else | |
| USEDMODULES += $(GCLIB).bc | |
| endif | |
| 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 Allocator.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 |