blob: 430f08652821f0e40d0a8b21b7b0055b58c80596 [file] [log] [blame]
##===- tools/p3/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 = p3
ifeq ($(WITH_LLVM_GCC), 1)
MODULESNAME = p3
USEDMODULES = P3.bc J3.bc Classpath.bc J3Compiler.bc Allocator.bc CommonThread.bc \
Mvm.bc MvmCompiler.bc
ifeq ($(GC_MMTK), 1)
USEDMODULES += FinalMMTk.bc InlineMMTk.bc
else
USEDMODULES += $(GCLIB).bc
endif
BUILT_SOURCES = p3.s
SOURCES = p3.s $(notdir $(wildcard $(PROJ_SRC_DIR)/*.cpp))
else
USEDLIBS = P3.a J3.a Classpath.a J3.a J3Compiler.a Allocator.a \
Mvm.a MvmCompiler.a $(GCLIB).a Allocator.a CommonThread.a
endif
LINK_COMPONENTS = jit nativecodegen scalaropts instrumentation ipa ipo bitreader asmparser linker
include $(LEVEL)/Makefile.common