2014-08-17 14:54:13 +00:00
|
|
|
#
|
2017-03-09 08:14:04 +00:00
|
|
|
# Copyright (c) 2014, 2017, Oracle and/or its affiliates. All rights reserved.
|
2014-08-17 14:54:13 +00:00
|
|
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
|
|
#
|
|
|
|
# This code is free software; you can redistribute it and/or modify it
|
|
|
|
# under the terms of the GNU General Public License version 2 only, as
|
|
|
|
# published by the Free Software Foundation. Oracle designates this
|
|
|
|
# particular file as subject to the "Classpath" exception as provided
|
|
|
|
# by Oracle in the LICENSE file that accompanied this code.
|
|
|
|
#
|
|
|
|
# This code is distributed in the hope that it will be useful, but WITHOUT
|
|
|
|
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
|
|
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
|
|
# version 2 for more details (a copy is included in the LICENSE file that
|
|
|
|
# accompanied this code).
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License version
|
|
|
|
# 2 along with this work; if not, write to the Free Software Foundation,
|
|
|
|
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
#
|
|
|
|
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
|
|
|
# or visit www.oracle.com if you need additional information or have any
|
|
|
|
# questions.
|
|
|
|
#
|
|
|
|
|
|
|
|
include CopyCommon.gmk
|
|
|
|
|
2017-10-05 10:41:06 +00:00
|
|
|
$(eval $(call IncludeCustomExtension, copy/Copy-java.base.gmk))
|
2014-08-17 14:54:13 +00:00
|
|
|
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
ifneq ($(findstring $(OPENJDK_TARGET_OS), windows aix),)
|
|
|
|
|
2017-09-12 17:03:56 +00:00
|
|
|
TZMAPPINGS_SRC := $(TOPDIR)/src/java.base/$(OPENJDK_TARGET_OS)/conf
|
2014-08-17 14:54:13 +00:00
|
|
|
|
2014-08-21 09:05:35 +00:00
|
|
|
$(LIB_DST_DIR)/tzmappings: $(TZMAPPINGS_SRC)/tzmappings
|
2014-08-17 14:54:13 +00:00
|
|
|
$(call install-file)
|
|
|
|
|
2014-12-03 14:22:58 +00:00
|
|
|
TARGETS += $(LIB_DST_DIR)/tzmappings
|
2014-08-17 14:54:13 +00:00
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
################################################################################
|
2015-01-15 15:52:10 +00:00
|
|
|
# Copy the microsoft runtime libraries on windows
|
2014-08-17 14:54:13 +00:00
|
|
|
ifeq ($(OPENJDK_TARGET_OS), windows)
|
2015-01-15 15:52:10 +00:00
|
|
|
|
2014-08-17 14:54:13 +00:00
|
|
|
# Chmod to avoid permission issues if bundles are unpacked on unix platforms.
|
2015-01-15 15:52:10 +00:00
|
|
|
define copy-and-chmod
|
|
|
|
$(install-file)
|
2014-08-17 14:54:13 +00:00
|
|
|
$(CHMOD) a+rx $@
|
2015-01-15 15:52:10 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
# Use separate macro calls in case the source files are not in the same
|
|
|
|
# directory.
|
|
|
|
$(eval $(call SetupCopyFiles,COPY_MSVCR, \
|
|
|
|
DEST := $(LIB_DST_DIR), \
|
|
|
|
FILES := $(MSVCR_DLL), \
|
|
|
|
MACRO := copy-and-chmod))
|
|
|
|
|
|
|
|
$(eval $(call SetupCopyFiles,COPY_MSVCP, \
|
|
|
|
DEST := $(LIB_DST_DIR), \
|
|
|
|
FILES := $(MSVCP_DLL), \
|
|
|
|
MACRO := copy-and-chmod))
|
2014-12-03 14:22:58 +00:00
|
|
|
|
2015-01-15 15:52:10 +00:00
|
|
|
TARGETS += $(COPY_MSVCR) $(COPY_MSVCP)
|
2014-08-17 14:54:13 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# How to install jvm.cfg.
|
|
|
|
#
|
2017-10-15 20:54:03 +00:00
|
|
|
ifeq ($(call check-jvm-variant, zero), true)
|
2014-08-17 14:54:13 +00:00
|
|
|
JVMCFG_ARCH := zero
|
|
|
|
else
|
|
|
|
JVMCFG_ARCH := $(OPENJDK_TARGET_CPU_LEGACY)
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(OPENJDK_TARGET_OS), macosx)
|
2017-09-12 17:03:56 +00:00
|
|
|
JVMCFG_SRC := $(TOPDIR)/src/java.base/macosx/conf/$(JVMCFG_ARCH)/jvm.cfg
|
2014-08-17 14:54:13 +00:00
|
|
|
else
|
2017-09-12 17:03:56 +00:00
|
|
|
JVMCFG_SRC := $(TOPDIR)/src/java.base/$(OPENJDK_TARGET_OS_TYPE)/conf/$(JVMCFG_ARCH)/jvm.cfg
|
2015-03-26 23:25:48 +00:00
|
|
|
# Allow override by ALT_JVMCFG_SRC if it exists
|
2016-04-08 11:14:23 +00:00
|
|
|
JVMCFG_SRC := $(if $(wildcard $(ALT_JVMCFG_SRC)),$(ALT_JVMCFG_SRC),$(JVMCFG_SRC))
|
2014-08-17 14:54:13 +00:00
|
|
|
endif
|
2016-12-05 16:56:20 +00:00
|
|
|
JVMCFG := $(LIB_DST_DIR)/jvm.cfg
|
2014-08-17 14:54:13 +00:00
|
|
|
|
|
|
|
ifeq ($(OPENJDK_TARGET_CPU_BITS), 64)
|
|
|
|
COPY_JVM_CFG_FILE := true
|
|
|
|
else
|
|
|
|
# On 32-bit machines we have three potential VMs: client, server and minimal.
|
|
|
|
# Historically we usually have both client and server and so that is what the
|
|
|
|
# committed jvm.cfg expects (including platform specific ergonomics switches
|
|
|
|
# to decide whether to use client or server by default). So when we have anything
|
|
|
|
# other than client and server we need to define a new jvm.cfg file.
|
|
|
|
# The main problem is deciding whether to use aliases for the VMs that are not
|
|
|
|
# present and the current position is that we add aliases for client and server, but
|
|
|
|
# not for minimal.
|
2016-04-08 11:14:23 +00:00
|
|
|
CLIENT_AND_SERVER := $(call check-jvm-variant, client)+$(call check-jvm-variant, server)
|
|
|
|
ifeq ($(CLIENT_AND_SERVER), true+true)
|
2014-08-17 14:54:13 +00:00
|
|
|
COPY_JVM_CFG_FILE := true
|
|
|
|
else
|
|
|
|
# For zero, the default jvm.cfg file is sufficient
|
2017-10-15 20:54:03 +00:00
|
|
|
ifeq ($(call check-jvm-variant, zero), true)
|
2014-08-17 14:54:13 +00:00
|
|
|
COPY_JVM_CFG_FILE := true
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(COPY_JVM_CFG_FILE), true)
|
|
|
|
$(JVMCFG): $(JVMCFG_SRC)
|
|
|
|
$(call install-file)
|
|
|
|
else
|
|
|
|
$(JVMCFG):
|
|
|
|
$(MKDIR) -p $(@D)
|
|
|
|
$(RM) $(@)
|
|
|
|
# Now check for other permutations
|
2016-04-08 11:14:23 +00:00
|
|
|
ifeq ($(call check-jvm-variant, server), true)
|
2014-08-17 14:54:13 +00:00
|
|
|
$(PRINTF) "-server KNOWN\n">>$(@)
|
|
|
|
$(PRINTF) "-client ALIASED_TO -server\n">>$(@)
|
2016-04-08 11:14:23 +00:00
|
|
|
ifeq ($(call check-jvm-variant, minimal), true)
|
2014-08-17 14:54:13 +00:00
|
|
|
$(PRINTF) "-minimal KNOWN\n">>$(@)
|
|
|
|
endif
|
|
|
|
else
|
2016-04-08 11:14:23 +00:00
|
|
|
ifeq ($(call check-jvm-variant, client), true)
|
2014-08-17 14:54:13 +00:00
|
|
|
$(PRINTF) "-client KNOWN\n">>$(@)
|
|
|
|
$(PRINTF) "-server ALIASED_TO -client\n">>$(@)
|
2016-04-08 11:14:23 +00:00
|
|
|
ifeq ($(call check-jvm-variant, minimal), true)
|
2014-08-17 14:54:13 +00:00
|
|
|
$(PRINTF) "-minimal KNOWN\n">>$(@)
|
|
|
|
endif
|
|
|
|
else
|
2016-04-08 11:14:23 +00:00
|
|
|
ifeq ($(call check-jvm-variant, minimal), true)
|
2014-08-17 14:54:13 +00:00
|
|
|
$(PRINTF) "-minimal KNOWN\n">>$(@)
|
|
|
|
$(PRINTF) "-server ALIASED_TO -minimal\n">>$(@)
|
|
|
|
$(PRINTF) "-client ALIASED_TO -minimal\n">>$(@)
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2014-12-03 14:22:58 +00:00
|
|
|
TARGETS += $(JVMCFG)
|
2014-08-17 14:54:13 +00:00
|
|
|
|
|
|
|
################################################################################
|
|
|
|
|
2017-09-12 17:03:56 +00:00
|
|
|
POLICY_SRC := $(TOPDIR)/src/java.base/share/conf/security/java.policy
|
2014-12-03 14:22:58 +00:00
|
|
|
POLICY_DST := $(CONF_DST_DIR)/security/java.policy
|
2014-08-17 14:54:13 +00:00
|
|
|
|
2016-07-29 23:00:54 +00:00
|
|
|
POLICY_SRC_LIST := $(POLICY_SRC)
|
|
|
|
|
|
|
|
$(POLICY_DST): $(POLICY_SRC_LIST)
|
|
|
|
$(MKDIR) -p $(@D)
|
|
|
|
$(RM) $@ $@.tmp
|
|
|
|
$(foreach f,$(POLICY_SRC_LIST),$(CAT) $(f) >> $@.tmp;)
|
|
|
|
$(MV) $@.tmp $@
|
|
|
|
|
|
|
|
TARGETS += $(POLICY_DST)
|
|
|
|
|
|
|
|
################################################################################
|
|
|
|
|
2017-09-12 17:03:56 +00:00
|
|
|
DEF_POLICY_SRC := $(TOPDIR)/src/java.base/share/lib/security/default.policy
|
2016-07-29 23:00:54 +00:00
|
|
|
DEF_POLICY_DST := $(LIB_DST_DIR)/security/default.policy
|
|
|
|
|
|
|
|
DEF_POLICY_SRC_LIST := $(DEF_POLICY_SRC)
|
2016-11-23 19:53:40 +00:00
|
|
|
DEF_POLICY_SRC_LIST += $(CUSTOM_POLICY_SRC_LIST)
|
2014-08-17 14:54:13 +00:00
|
|
|
|
2016-08-17 18:40:12 +00:00
|
|
|
ifneq ($(filter $(OPENJDK_TARGET_OS), windows solaris), )
|
2017-09-12 17:03:56 +00:00
|
|
|
DEF_POLICY_SRC_LIST += $(TOPDIR)/src/java.base/$(OPENJDK_TARGET_OS)/lib/security/default.policy
|
2014-08-17 14:54:13 +00:00
|
|
|
endif
|
|
|
|
|
8142968: Module System implementation
Initial integration of JEP 200, JEP 260, JEP 261, and JEP 282
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Alexandr Scherbatiy <alexandr.scherbatiy@oracle.com>
Co-authored-by: Amy Lu <amy.lu@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Jaroslav Bachorik <jaroslav.bachorik@oracle.com>
Co-authored-by: Jean-Francois Denise <jean-francois.denise@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: Miroslav Kos <miroslav.kos@oracle.com>
Co-authored-by: Huaming Li <huaming.li@oracle.com>
Co-authored-by: Sean Mullan <sean.mullan@oracle.com>
Co-authored-by: Naoto Sato <naoto.sato@oracle.com>
Co-authored-by: Masayoshi Okutsu <masayoshi.okutsu@oracle.com>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Co-authored-by: Philip Race <philip.race@oracle.com>
Co-authored-by: Claes Redestad <claes.redestad@oracle.com>
Co-authored-by: Sergey Bylokhov <sergey.bylokhov@oracle.com>
Co-authored-by: Alexandre Iline <alexandre.iline@oracle.com>
Co-authored-by: Volker Simonis <volker.simonis@gmail.com>
Co-authored-by: Staffan Larsen <staffan.larsen@oracle.com>
Co-authored-by: Stuart Marks <stuart.marks@oracle.com>
Co-authored-by: Semyon Sadetsky <semyon.sadetsky@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Co-authored-by: Valerie Peng <valerie.peng@oracle.com>
Co-authored-by: Vincent Ryan <vincent.x.ryan@oracle.com>
Co-authored-by: Weijun Wang <weijun.wang@oracle.com>
Co-authored-by: Yuri Nesterenko <yuri.nesterenko@oracle.com>
Co-authored-by: Yekaterina Kantserova <yekaterina.kantserova@oracle.com>
Co-authored-by: Alexander Kulyakthin <alexander.kulyakhtin@oracle.com>
Co-authored-by: Felix Yang <felix.yang@oracle.com>
Co-authored-by: Andrei Eremeev <andrei.eremeev@oracle.com>
Co-authored-by: Frank Yuan <frank.yuan@oracle.com>
Co-authored-by: Sergei Pikalev <sergei.pikalev@oracle.com>
Co-authored-by: Sibabrata Sahoo <sibabrata.sahoo@oracle.com>
Co-authored-by: Tiantian Du <tiantian.du@oracle.com>
Co-authored-by: Sha Jiang <sha.jiang@oracle.com>
Reviewed-by: alanb, mchung, naoto, rriggs, psandoz, plevart, mullan, ascarpino, vinnie, prr, sherman, dfuchs, mhaupt
2016-03-17 19:04:16 +00:00
|
|
|
# Allow imported modules to modify the java.policy
|
|
|
|
ifneq ($(IMPORT_MODULES_CONF), )
|
2016-07-29 23:00:54 +00:00
|
|
|
DEF_POLICY_SRC_LIST += $(wildcard $(IMPORT_MODULES_CONF)/java.base/security/java.policy.extra)
|
8142968: Module System implementation
Initial integration of JEP 200, JEP 260, JEP 261, and JEP 282
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Alexandr Scherbatiy <alexandr.scherbatiy@oracle.com>
Co-authored-by: Amy Lu <amy.lu@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Jaroslav Bachorik <jaroslav.bachorik@oracle.com>
Co-authored-by: Jean-Francois Denise <jean-francois.denise@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: Miroslav Kos <miroslav.kos@oracle.com>
Co-authored-by: Huaming Li <huaming.li@oracle.com>
Co-authored-by: Sean Mullan <sean.mullan@oracle.com>
Co-authored-by: Naoto Sato <naoto.sato@oracle.com>
Co-authored-by: Masayoshi Okutsu <masayoshi.okutsu@oracle.com>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Co-authored-by: Philip Race <philip.race@oracle.com>
Co-authored-by: Claes Redestad <claes.redestad@oracle.com>
Co-authored-by: Sergey Bylokhov <sergey.bylokhov@oracle.com>
Co-authored-by: Alexandre Iline <alexandre.iline@oracle.com>
Co-authored-by: Volker Simonis <volker.simonis@gmail.com>
Co-authored-by: Staffan Larsen <staffan.larsen@oracle.com>
Co-authored-by: Stuart Marks <stuart.marks@oracle.com>
Co-authored-by: Semyon Sadetsky <semyon.sadetsky@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Co-authored-by: Valerie Peng <valerie.peng@oracle.com>
Co-authored-by: Vincent Ryan <vincent.x.ryan@oracle.com>
Co-authored-by: Weijun Wang <weijun.wang@oracle.com>
Co-authored-by: Yuri Nesterenko <yuri.nesterenko@oracle.com>
Co-authored-by: Yekaterina Kantserova <yekaterina.kantserova@oracle.com>
Co-authored-by: Alexander Kulyakthin <alexander.kulyakhtin@oracle.com>
Co-authored-by: Felix Yang <felix.yang@oracle.com>
Co-authored-by: Andrei Eremeev <andrei.eremeev@oracle.com>
Co-authored-by: Frank Yuan <frank.yuan@oracle.com>
Co-authored-by: Sergei Pikalev <sergei.pikalev@oracle.com>
Co-authored-by: Sibabrata Sahoo <sibabrata.sahoo@oracle.com>
Co-authored-by: Tiantian Du <tiantian.du@oracle.com>
Co-authored-by: Sha Jiang <sha.jiang@oracle.com>
Reviewed-by: alanb, mchung, naoto, rriggs, psandoz, plevart, mullan, ascarpino, vinnie, prr, sherman, dfuchs, mhaupt
2016-03-17 19:04:16 +00:00
|
|
|
endif
|
|
|
|
|
2016-07-29 23:00:54 +00:00
|
|
|
$(DEF_POLICY_DST): $(DEF_POLICY_SRC_LIST)
|
2014-08-17 14:54:13 +00:00
|
|
|
$(MKDIR) -p $(@D)
|
|
|
|
$(RM) $@ $@.tmp
|
2016-07-29 23:00:54 +00:00
|
|
|
$(foreach f,$(DEF_POLICY_SRC_LIST),$(CAT) $(f) >> $@.tmp;)
|
2014-08-17 14:54:13 +00:00
|
|
|
$(MV) $@.tmp $@
|
|
|
|
|
2016-07-29 23:00:54 +00:00
|
|
|
TARGETS += $(DEF_POLICY_DST)
|
2014-08-17 14:54:13 +00:00
|
|
|
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
ifeq ($(CACERTS_FILE), )
|
2017-09-12 17:03:56 +00:00
|
|
|
CACERTS_FILE := $(TOPDIR)/src/java.base/share/lib/security/cacerts
|
2014-08-17 14:54:13 +00:00
|
|
|
endif
|
2016-01-16 12:01:44 +00:00
|
|
|
|
2014-12-03 14:22:58 +00:00
|
|
|
CACERTS_DST := $(LIB_DST_DIR)/security/cacerts
|
2014-08-17 14:54:13 +00:00
|
|
|
|
|
|
|
$(CACERTS_DST): $(CACERTS_FILE)
|
2017-09-25 08:32:00 +00:00
|
|
|
$(call LogInfo, Copying $(patsubst $(OUTPUTDIR)/%, %, $@))
|
2014-08-17 14:54:13 +00:00
|
|
|
$(call install-file)
|
|
|
|
|
2014-12-03 14:22:58 +00:00
|
|
|
TARGETS += $(CACERTS_DST)
|
2014-08-17 14:54:13 +00:00
|
|
|
|
|
|
|
################################################################################
|
|
|
|
|
2016-01-16 12:01:44 +00:00
|
|
|
$(eval $(call SetupCopyFiles, COPY_NET_PROPERTIES, \
|
2017-09-12 17:03:56 +00:00
|
|
|
FILES := $(TOPDIR)/src/java.base/share/conf/net.properties, \
|
2016-01-16 12:01:44 +00:00
|
|
|
DEST := $(CONF_DST_DIR), \
|
|
|
|
))
|
2014-08-17 14:54:13 +00:00
|
|
|
|
2016-01-16 12:01:44 +00:00
|
|
|
TARGETS += $(COPY_NET_PROPERTIES)
|
2014-08-17 14:54:13 +00:00
|
|
|
|
|
|
|
ifeq ($(OPENJDK_TARGET_OS), solaris)
|
2016-01-16 12:01:44 +00:00
|
|
|
$(eval $(call SetupCopyFiles, COPY_SDP_CONF, \
|
2017-09-12 17:03:56 +00:00
|
|
|
FILES := $(TOPDIR)/src/java.base/$(OPENJDK_TARGET_OS_TYPE)/conf/sdp/sdp.conf.template, \
|
2016-01-16 12:01:44 +00:00
|
|
|
DEST := $(CONF_DST_DIR)/sdp, \
|
|
|
|
))
|
2014-08-17 14:54:13 +00:00
|
|
|
|
2016-01-16 12:01:44 +00:00
|
|
|
TARGETS += $(COPY_SDP_CONF)
|
2014-08-17 14:54:13 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
################################################################################
|
2016-12-13 02:56:50 +00:00
|
|
|
|
|
|
|
# JDK license and assembly exception files to be packaged in JMOD
|
|
|
|
|
2017-03-16 13:46:50 +00:00
|
|
|
# The license files may not be present if the source has been obtained using a
|
|
|
|
# different license.
|
|
|
|
JDK_LICENSE ?= $(wildcard $(TOPDIR)/LICENSE)
|
|
|
|
JDK_NOTICE ?= $(wildcard $(TOPDIR)/ASSEMBLY_EXCEPTION)
|
2016-12-13 02:56:50 +00:00
|
|
|
|
|
|
|
$(eval $(call SetupCopyFiles, COPY_JDK_NOTICES, \
|
|
|
|
FILES := $(JDK_LICENSE) $(JDK_NOTICE), \
|
|
|
|
DEST := $(LEGAL_DST_DIR), \
|
|
|
|
FLATTEN := true, \
|
|
|
|
))
|
|
|
|
|
|
|
|
TARGETS += $(COPY_JDK_NOTICES)
|
2017-10-17 13:47:53 +00:00
|
|
|
|
|
|
|
################################################################################
|
|
|
|
# Optionally copy libffi.so.? into the the image
|
|
|
|
|
|
|
|
ifeq ($(ENABLE_LIBFFI_BUNDLING), true)
|
|
|
|
$(eval $(call SetupCopyFiles, COPY_LIBFFI, \
|
|
|
|
FILES := $(LIBFFI_LIB_FILE), \
|
|
|
|
DEST := $(call FindLibDirForModule, $(MODULE)), \
|
|
|
|
FLATTEN := true, \
|
|
|
|
MACRO := install-file-nolink, \
|
|
|
|
))
|
|
|
|
|
|
|
|
TARGETS += $(COPY_LIBFFI)
|
|
|
|
endif
|
|
|
|
|
|
|
|
################################################################################
|