| ##===- lib/Mvm/Runtime/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 |
| |
| ifeq ($(WITH_LLVM_GCC), 1) |
| MODULE_NAME = MvmCompiler |
| else |
| LIBRARYNAME = MvmCompiler |
| endif |
| |
| VMKIT_RUNTIME = $(PROJ_SRC_DIR)/mvm-runtime.ll |
| |
| ifeq ($(GC_MMTK), 1) |
| VMKIT_RUNTIME += $(PROJ_SRC_DIR)/mvm-mmtk-thread.ll |
| else |
| VMKIT_RUNTIME += $(PROJ_SRC_DIR)/mvm-mmap2-thread.ll |
| endif |
| |
| BUILT_SOURCES = LLVMRuntime.inc |
| |
| include $(LEVEL)/Makefile.common |