blob: 16e1c9868ee5b6d8ba5ded3e0653fec28b5bf89c [file] [log] [blame]
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Makefile for module 'em'
#
HY_BIN=$(HY_TARGET)/build/drlvm/vm/native/em/
include $(HY_TARGET)/hdk/build/make/defines.mk
VM_HOME=../../../../../../../vm/
DEFINES += \
-DREFS_USE_UNCOMPRESSED -DPLATFORM_POSIX \
-D__SMP__ -DLINUX_TLS_OPT -D_LARGEFILE64_SOURCE
OPT += -fexceptions
CXXFLAGS += -Wno-deprecated
INCLUDES := -I$(VM_HOME)include -I$(VM_HOME)port/include \
-I$(VM_HOME)vmcore/include $(INCLUDES)
BUILDFILES := \
DrlEMImpl.o EBProfileCollector.o EdgeProfileCollector.o MTable.o \
NValueProfileCollector.o em_intf.o method_lookup.o
OSLIBS += $(STDCLIBS)
MDLLIBFILES += $(DLLPATH)default/libharmonyvm$(HY_LINKLIB_SUFFIX) \
$(LIBPATH)libapr-1.a
DLLNAME = $(DLLPATH)default/libem$(HY_SHLIB_SUFFIX)
EXPNAME = EM_0.1
include $(HY_HDK)/build/make/rules.mk