author | mchung |
Wed, 27 May 2015 13:25:32 -0700 | |
changeset 30813 | 302fa7e3d2f0 |
parent 29394 | d812e63542e3 |
child 33503 | 3a11763ae20a |
permissions | -rw-r--r-- |
27565 | 1 |
# |
2 |
# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. |
|
3 |
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
|
4 |
# |
|
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. |
|
10 |
# |
|
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). |
|
16 |
# |
|
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. |
|
20 |
# |
|
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 |
|
23 |
# questions. |
|
24 |
# |
|
25 |
||
26 |
default: all |
|
27 |
||
28 |
include $(SPEC) |
|
29 |
include MakeBase.gmk |
|
30 |
include JavaCompilation.gmk |
|
31 |
||
32 |
||
33 |
################################################################################ |
|
34 |
||
35 |
US_EXPORT_POLICY_JAR_DST := \ |
|
36 |
$(SUPPORT_OUTPUTDIR)/modules_libs/java.base/security/US_export_policy.jar |
|
37 |
||
28520
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
38 |
US_EXPORT_POLICY_JAR_LIMITED := \ |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
39 |
$(SUPPORT_OUTPUTDIR)/jce/policy/limited/US_export_policy.jar |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
40 |
US_EXPORT_POLICY_JAR_UNLIMITED := \ |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
41 |
$(SUPPORT_OUTPUTDIR)/jce/policy/unlimited/US_export_policy.jar |
27565 | 42 |
|
28520
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
43 |
ifndef OPENJDK |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
44 |
# |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
45 |
# In past releases, Oracle JDK has had a separately downloadable set of |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
46 |
# policy files which has been a nightmare for deployment. |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
47 |
# |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
48 |
# Now if we're closed and limited (default for Oracle JDK), create |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
49 |
# an "unlimited_policy" directory that contains the unlimited policy |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
50 |
# files. It will be up to the user/deployer to make an informed choice |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
51 |
# as to whether they are legally entitled to use the unlimited policy |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
52 |
# file in their environment. Users/deployers simply need to overwrite |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
53 |
# the files. Consult README.txt (below) for more info. |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
54 |
# |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
55 |
UNLIMITED_POLICY_DIR := \ |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
56 |
$(SUPPORT_OUTPUTDIR)/modules_libs/java.base/security/unlimited_policy |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
57 |
endif |
27565 | 58 |
|
28520
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
59 |
# |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
60 |
# TODO fix so that SetupArchive does not write files into SRCS |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
61 |
# then we don't need this extra copying |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
62 |
# |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
63 |
# NOTE: We currently do not place restrictions on our limited export |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
64 |
# policy. This was not a typo. This means we are shipping the same file |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
65 |
# for both limited and unlimited US_export_policy.jar. Only the local |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
66 |
# policy file currently has restrictions. |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
67 |
# |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
68 |
US_EXPORT_POLICY_JAR_SRC_DIR := \ |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
69 |
$(JDK_TOPDIR)/make/data/cryptopolicy/unlimited |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
70 |
US_EXPORT_POLICY_JAR_TMP := \ |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
71 |
$(SUPPORT_OUTPUTDIR)/jce/policy/unlimited/US_export_policy_jar.tmp |
27565 | 72 |
|
28520
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
73 |
$(US_EXPORT_POLICY_JAR_TMP)/%: $(US_EXPORT_POLICY_JAR_SRC_DIR)/% |
27565 | 74 |
$(install-file) |
75 |
||
28520
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
76 |
US_EXPORT_POLICY_JAR_DEPS := \ |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
77 |
$(US_EXPORT_POLICY_JAR_TMP)/default_US_export.policy |
27565 | 78 |
|
28520
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
79 |
$(eval $(call SetupArchive,BUILD_US_EXPORT_POLICY_JAR, \ |
29394
d812e63542e3
8074988: Reduce boilerplate in Setup* macro definitions
erikj
parents:
28520
diff
changeset
|
80 |
DEPENDENCIES := $(US_EXPORT_POLICY_JAR_DEPS), \ |
28520
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
81 |
SRCS := $(US_EXPORT_POLICY_JAR_TMP), \ |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
82 |
SUFFIXES := .policy, \ |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
83 |
JAR := $(US_EXPORT_POLICY_JAR_UNLIMITED), \ |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
84 |
EXTRA_MANIFEST_ATTR := Crypto-Strength: unlimited, \ |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
85 |
SKIP_METAINF := true)) |
27565 | 86 |
|
28520
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
87 |
$(US_EXPORT_POLICY_JAR_LIMITED): \ |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
88 |
$(US_EXPORT_POLICY_JAR_UNLIMITED) |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
89 |
$(ECHO) $(LOG_INFO) \ |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
90 |
Copying unlimited $(patsubst $(OUTPUT_ROOT)/%,%,$@) |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
91 |
$(install-file) |
27565 | 92 |
|
28520
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
93 |
TARGETS += $(US_EXPORT_POLICY_JAR_LIMITED) $(US_EXPORT_POLICY_JAR_UNLIMITED) |
27565 | 94 |
|
95 |
ifeq ($(UNLIMITED_CRYPTO), true) |
|
96 |
$(US_EXPORT_POLICY_JAR_DST): $(US_EXPORT_POLICY_JAR_UNLIMITED) |
|
97 |
$(install-file) |
|
98 |
else |
|
99 |
$(US_EXPORT_POLICY_JAR_DST): $(US_EXPORT_POLICY_JAR_LIMITED) |
|
100 |
$(install-file) |
|
101 |
endif |
|
102 |
||
103 |
ifndef OPENJDK |
|
104 |
ifneq ($(UNLIMITED_CRYPTO), true) |
|
105 |
$(UNLIMITED_POLICY_DIR)/US_export_policy.jar: \ |
|
106 |
$(US_EXPORT_POLICY_JAR_UNLIMITED) |
|
107 |
$(install-file) |
|
108 |
TARGETS += $(UNLIMITED_POLICY_DIR)/US_export_policy.jar |
|
109 |
endif |
|
110 |
endif |
|
111 |
||
112 |
POLICY_JARS += $(US_EXPORT_POLICY_JAR_DST) |
|
113 |
||
114 |
################################################################################ |
|
115 |
||
116 |
LOCAL_POLICY_JAR_DST := \ |
|
117 |
$(SUPPORT_OUTPUTDIR)/modules_libs/java.base/security/local_policy.jar |
|
118 |
||
28520
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
119 |
LOCAL_POLICY_JAR_LIMITED := \ |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
120 |
$(SUPPORT_OUTPUTDIR)/jce/policy/limited/local_policy.jar |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
121 |
LOCAL_POLICY_JAR_UNLIMITED := \ |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
122 |
$(SUPPORT_OUTPUTDIR)/jce/policy/unlimited/local_policy.jar |
27565 | 123 |
|
28520
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
124 |
# |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
125 |
# TODO fix so that SetupArchive does not write files into SRCS |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
126 |
# then we don't need this extra copying |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
127 |
# |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
128 |
LOCAL_POLICY_JAR_LIMITED_TMP := \ |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
129 |
$(SUPPORT_OUTPUTDIR)/jce/policy/limited/local_policy_jar.tmp |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
130 |
LOCAL_POLICY_JAR_UNLIMITED_TMP := \ |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
131 |
$(SUPPORT_OUTPUTDIR)/jce/policy/unlimited/local_policy_jar.tmp |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
132 |
|
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
133 |
$(LOCAL_POLICY_JAR_LIMITED_TMP)/%: \ |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
134 |
$(JDK_TOPDIR)/make/data/cryptopolicy/limited/% |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
135 |
$(install-file) |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
136 |
|
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
137 |
$(LOCAL_POLICY_JAR_UNLIMITED_TMP)/%: \ |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
138 |
$(JDK_TOPDIR)/make/data/cryptopolicy/unlimited/% |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
139 |
$(install-file) |
27565 | 140 |
|
28520
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
141 |
$(eval $(call SetupArchive,BUILD_LOCAL_POLICY_JAR_LIMITED, \ |
29394
d812e63542e3
8074988: Reduce boilerplate in Setup* macro definitions
erikj
parents:
28520
diff
changeset
|
142 |
DEPENDENCIES := $(LOCAL_POLICY_JAR_LIMITED_TMP)/exempt_local.policy \ |
d812e63542e3
8074988: Reduce boilerplate in Setup* macro definitions
erikj
parents:
28520
diff
changeset
|
143 |
$(LOCAL_POLICY_JAR_LIMITED_TMP)/default_local.policy, \ |
28520
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
144 |
SRCS := $(LOCAL_POLICY_JAR_LIMITED_TMP), \ |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
145 |
SUFFIXES := .policy, \ |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
146 |
JAR := $(LOCAL_POLICY_JAR_LIMITED), \ |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
147 |
EXTRA_MANIFEST_ATTR := Crypto-Strength: limited, \ |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
148 |
SKIP_METAINF := true)) |
27565 | 149 |
|
28520
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
150 |
$(eval $(call SetupArchive,BUILD_LOCAL_POLICY_JAR_UNLIMITED, \ |
29394
d812e63542e3
8074988: Reduce boilerplate in Setup* macro definitions
erikj
parents:
28520
diff
changeset
|
151 |
DEPENDENCIES := $(LOCAL_POLICY_JAR_UNLIMITED_TMP)/default_local.policy, \ |
28520
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
152 |
SRCS := $(LOCAL_POLICY_JAR_UNLIMITED_TMP), \ |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
153 |
SUFFIXES := .policy, \ |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
154 |
JAR := $(LOCAL_POLICY_JAR_UNLIMITED), \ |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
155 |
EXTRA_MANIFEST_ATTR := Crypto-Strength: unlimited, \ |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
156 |
SKIP_METAINF := true)) |
27565 | 157 |
|
28520
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
158 |
TARGETS += $(LOCAL_POLICY_JAR_LIMITED) $(LOCAL_POLICY_JAR_UNLIMITED) |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
159 |
|
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
160 |
ifndef OPENJDK |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
161 |
ifneq ($(UNLIMITED_CRYPTO), true) |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
162 |
$(UNLIMITED_POLICY_DIR)/README.txt: \ |
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
163 |
$(JDK_TOPDIR)/make/closed/data/cryptopolicy/README.txt |
27565 | 164 |
$(install-file) |
165 |
||
28520
178ac8a1fbde
8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents:
27565
diff
changeset
|
166 |
TARGETS += $(UNLIMITED_POLICY_DIR)/README.txt |
27565 | 167 |
endif |
168 |
endif |
|
169 |
||
170 |
ifeq ($(UNLIMITED_CRYPTO), true) |
|
171 |
$(LOCAL_POLICY_JAR_DST): $(LOCAL_POLICY_JAR_UNLIMITED) |
|
172 |
$(install-file) |
|
173 |
else |
|
174 |
$(LOCAL_POLICY_JAR_DST): $(LOCAL_POLICY_JAR_LIMITED) |
|
175 |
$(install-file) |
|
176 |
endif |
|
177 |
||
178 |
ifndef OPENJDK |
|
179 |
ifneq ($(UNLIMITED_CRYPTO), true) |
|
180 |
$(UNLIMITED_POLICY_DIR)/local_policy.jar: \ |
|
181 |
$(LOCAL_POLICY_JAR_UNLIMITED) |
|
182 |
$(install-file) |
|
183 |
TARGETS += $(UNLIMITED_POLICY_DIR)/local_policy.jar |
|
184 |
endif |
|
185 |
endif |
|
186 |
||
187 |
POLICY_JARS += $(LOCAL_POLICY_JAR_DST) |
|
188 |
TARGETS += $(POLICY_JARS) |
|
189 |
||
190 |
################################################################################ |
|
191 |