Defs-embedded.gmk revision 5142
3867N/A#
5005N/A# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
3867N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
3867N/A#
3867N/A# This code is free software; you can redistribute it and/or modify it
3867N/A# under the terms of the GNU General Public License version 2 only, as
3867N/A# published by the Free Software Foundation. Oracle designates this
3867N/A# particular file as subject to the "Classpath" exception as provided
3867N/A# by Oracle in the LICENSE file that accompanied this code.
3867N/A#
3867N/A# This code is distributed in the hope that it will be useful, but WITHOUT
3867N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
3867N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
3867N/A# version 2 for more details (a copy is included in the LICENSE file that
3867N/A# accompanied this code).
3867N/A#
3867N/A# You should have received a copy of the GNU General Public License version
3867N/A# 2 along with this work; if not, write to the Free Software Foundation,
3867N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
3867N/A#
3867N/A# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
3867N/A# or visit www.oracle.com if you need additional information or have any
3867N/A# questions.
3867N/A#
3867N/A
3867N/A#
3867N/A# Variable definitions for SE Embedded builds. This file should
3867N/A# not contain rules.
3867N/A#
3867N/Aifdef JAVASE_EMBEDDED
3867N/A
3867N/A# Compress jar files
3867N/ACOMPRESS_JARS = true
3867N/A
3867N/A# Don't mmap zip files
3867N/ALIBZIP_CAN_USE_MMAP = false
3867N/A
3867N/A# Disable ALSA version check
3867N/AREQUIRED_ALSA_VERSION =
3867N/A
3867N/A# Compilation settings
3867N/AOTHER_CPPFLAGS += -DJAVASE_EMBEDDED
3867N/A
3867N/A# Product naming
5142N/APRODUCT_SUFFIX = SE Embedded Runtime Environment
3867N/ARUNTIME_NAME = $(PRODUCT_NAME) $(PRODUCT_SUFFIX)
3867N/A
3867N/A# Reduced JRE locations
3867N/AJRE_REDUCED_HEADLESS_IMAGE_DIR = $(ABS_OUTPUTDIR)/j2re-reduced-headless-image
3867N/AJRE_REDUCED_IMAGE_DIR = $(ABS_OUTPUTDIR)/j2re-reduced-image
3867N/A
4254N/A# Override on linux to further reduce binary/lib sizes in product build
4254N/Aifeq ($(PLATFORM), linux)
4254N/A ifeq ($(VARIANT), OPT)
4254N/A ifneq ($(NO_STRIP), true)
4254N/A ifneq ($(DEBUG_BINARIES), true)
4254N/A POST_STRIP_PROCESS = $(STRIP) --strip-unneeded
4254N/A endif
4254N/A endif
4254N/A endif
4254N/Aendif
4254N/A
5005N/Aendif # JAVASE_EMBEDDED
5005N/Aifeq ($(ZERO_BUILD), )
4344N/A# NIO Platform specific source file location
4344N/Aifdef CROSS_COMPILE_ARCH
4344N/A NIO_PLATFORM_CLASSES_ROOT_DIR = $(CLOSED_PLATFORM_SRC)/classes/
4344N/Aendif
4344N/A
4547N/A# For ARM sflt we need to link to a library with improved FP accuracy
4547N/A# and it must be linked after fdlibm - this places it at the end after libc
4547N/A# -z muldefs avoids linker errors for duplicate symbols.
4547N/Aifeq ($(CROSS_COMPILE_ARCH), arm)
4547N/A EXTRA_LIBS += $(EXT_LIBS_PATH)/sflt_glibc_jdk.a -Xlinker -z -Xlinker muldefs
4547N/Aendif
5005N/Aendif
4547N/A