2
# Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5
# This code is free software; you can redistribute it and/or modify it
6
# under the terms of the GNU General Public License version 2 only, as
7
# published by the Free Software Foundation. Oracle designates this
8
# particular file as subject to the "Classpath" exception as provided
9
# by Oracle in the LICENSE file that accompanied this code.
11
# This code is distributed in the hope that it will be useful, but WITHOUT
12
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14
# version 2 for more details (a copy is included in the LICENSE file that
15
# accompanied this code).
17
# You should have received a copy of the GNU General Public License version
18
# 2 along with this work; if not, write to the Free Software Foundation,
19
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
21
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22
# or visit www.oracle.com if you need additional information or have any
27
# In pre-JDK9 releases, Oracle JDK has had a separately downloadable set
28
# of policy files which has been a nightmare for deployment.
30
# We now create 2 complete initial sets of policy files and package into
31
# 2 different directories. The crypto.policy Security property will select
34
# It will be up to the user/deployer to make an informed choice
35
# as to whether they are legally entitled to use the unlimited policy
36
# file in their environment. The $(UNLIMITED_CRYPTO) make variable
37
# determines the default directory/policy.
46
################################################################################
47
POLICY_DIR := $(SUPPORT_OUTPUTDIR)/modules_conf/java.base/security/policy
48
LIMITED_POLICY_DIR := $(POLICY_DIR)/limited
49
UNLIMITED_POLICY_DIR := $(POLICY_DIR)/unlimited
51
POLICY_SRC_DIR := $(TOPDIR)/src/java.base/share/conf/security/policy
52
LIMITED_POLICY_SRC_DIR := $(POLICY_SRC_DIR)/limited
53
UNLIMITED_POLICY_SRC_DIR := $(POLICY_SRC_DIR)/unlimited
55
$(POLICY_DIR)/README.txt: $(POLICY_SRC_DIR)/README.txt
58
$(LIMITED_POLICY_DIR)/%: $(LIMITED_POLICY_SRC_DIR)/%
61
$(UNLIMITED_POLICY_DIR)/%: $(UNLIMITED_POLICY_SRC_DIR)/%
65
$(POLICY_DIR)/README.txt \
66
$(LIMITED_POLICY_DIR)/default_US_export.policy \
67
$(LIMITED_POLICY_DIR)/default_local.policy \
68
$(LIMITED_POLICY_DIR)/exempt_local.policy \
69
$(UNLIMITED_POLICY_DIR)/default_US_export.policy \
70
$(UNLIMITED_POLICY_DIR)/default_local.policy \
72
################################################################################