blob: 5374152e47fc0e3dd40a402246d4a3485300fc7c [file] [log] [blame]
# Set the name of the project here
PROJECT_NAME := vmkit
PROJ_VERSION := 0.1
# Set this variable to the top of the LLVM source tree.
LLVM_SRC_ROOT = @LLVM_SRC@
# Set this variable to the top level directory where LLVM was built
# (this is *not* the same as OBJ_ROOT as defined in LLVM's Makefile.config).
LLVM_OBJ_ROOT = @LLVM_OBJ@
# Set the directory root of this project's source files
PROJ_SRC_ROOT := $(subst //,/,@abs_top_srcdir@)
# Set the root directory of this project's object files
PROJ_OBJ_ROOT := $(subst //,/,@abs_top_objdir@)
# Set the root directory of this project's install prefix
PROJ_INSTALL_ROOT := @prefix@
REQUIRES_EH := 1
# Include LLVM's Master Makefile.
include $(LLVM_OBJ_ROOT)/Makefile.common
CXX.Flags += @GC_FLAGS@ -Wno-variadic-macros -fno-omit-frame-pointer -ansi -Werror
# GNU Classpath flags
CLASSPATH_FLAGS = -I@classpathinclude@
# Pnet location
PNETLIB = @pnetlocalprefix@
# GC configuration
LIBS += -lz
GCLIB = @GC_LIBS@
GC_MULTI_MMAP = @GC_MULTI_MMAP@
GC_SINGLE_MMAP = @GC_SINGLE_MMAP@
GC_BOEHM = @GC_BOEHM@
GC_MMAP2 = @GC_MMAP2@
ifeq ($(GCLIB), BoehmGC)
LIBS += -lgc
endif