jdk/make/gendata/GendataPolicyJars.gmk
author chegar
Wed, 03 Dec 2014 14:22:58 +0000
changeset 27565 729f9700483a
child 28520 178ac8a1fbde
permissions -rw-r--r--
8049367: Modular Run-Time Images Reviewed-by: chegar, dfuchs, ihse, joehw, mullan, psandoz, wetmore Contributed-by: alan.bateman@oracle.com, alex.buckley@oracle.com, bradford.wetmore@oracle.com, chris.hegarty@oracle.com, erik.joelsson@oracle.com, james.laskey@oracle.com, jonathan.gibbons@oracle.com, karen.kinnear@oracle.com, magnus.ihse.bursie@oracle.com, mandy.chung@oracle.com, mark.reinhold@oracle.com, paul.sandoz@oracle.com, sundararajan.athijegannathan@oracle.com
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
27565
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
     1
#
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
     2
# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
     3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
     4
#
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
     5
# This code is free software; you can redistribute it and/or modify it
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
     6
# under the terms of the GNU General Public License version 2 only, as
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
     7
# published by the Free Software Foundation.  Oracle designates this
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
     8
# particular file as subject to the "Classpath" exception as provided
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
     9
# by Oracle in the LICENSE file that accompanied this code.
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    10
#
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    11
# This code is distributed in the hope that it will be useful, but WITHOUT
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    12
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    13
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    14
# version 2 for more details (a copy is included in the LICENSE file that
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    15
# accompanied this code).
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    16
#
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    17
# You should have received a copy of the GNU General Public License version
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    18
# 2 along with this work; if not, write to the Free Software Foundation,
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    19
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    20
#
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    21
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    22
# or visit www.oracle.com if you need additional information or have any
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    23
# questions.
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    24
#
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    25
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    26
default: all
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    27
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    28
include $(SPEC)
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    29
include MakeBase.gmk
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    30
include JavaCompilation.gmk
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    31
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    32
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    33
################################################################################
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    34
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    35
US_EXPORT_POLICY_JAR_DST := \
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    36
    $(SUPPORT_OUTPUTDIR)/modules_libs/java.base/security/US_export_policy.jar
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    37
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    38
ifneq ($(BUILD_CRYPTO), no)
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    39
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    40
  US_EXPORT_POLICY_JAR_LIMITED := \
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    41
      $(SUPPORT_OUTPUTDIR)/jce/policy/limited/US_export_policy.jar
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    42
  US_EXPORT_POLICY_JAR_UNLIMITED := \
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    43
      $(SUPPORT_OUTPUTDIR)/jce/policy/unlimited/US_export_policy.jar
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    44
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    45
  ifndef OPENJDK
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    46
    #
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    47
    # In past releases, Oracle JDK has had a separately downloadable set of
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    48
    # policy files which has been a nightmare for deployment.
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    49
    #
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    50
    # Now if we're closed and limited (default for Oracle JDK), create
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    51
    # an "unlimited_policy" directory that contains the unlimited policy
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    52
    # files.  It will be up to the user/deployer to make an informed choice
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    53
    # as to whether they are legally entitled to use the unlimited policy
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    54
    # file in their environment.  Users/deployers simply need to overwrite
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    55
    # the files.  Consult README.txt (below) for more info.
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    56
    #
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    57
    UNLIMITED_POLICY_DIR := \
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    58
        $(SUPPORT_OUTPUTDIR)/modules_libs/java.base/security/unlimited_policy
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    59
  endif
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    60
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    61
  #
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    62
  # TODO fix so that SetupArchive does not write files into SRCS
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    63
  # then we don't need this extra copying
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    64
  #
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    65
  # NOTE: We currently do not place restrictions on our limited export
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    66
  # policy. This was not a typo. This means we are shipping the same file
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    67
  # for both limited and unlimited US_export_policy.jar.  Only the local
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    68
  # policy file currently has restrictions.
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    69
  #
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    70
  US_EXPORT_POLICY_JAR_SRC_DIR := \
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    71
      $(JDK_TOPDIR)/make/data/cryptopolicy/unlimited
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    72
  US_EXPORT_POLICY_JAR_TMP := \
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    73
      $(SUPPORT_OUTPUTDIR)/jce/policy/unlimited/US_export_policy_jar.tmp
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    74
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    75
  $(US_EXPORT_POLICY_JAR_TMP)/%: $(US_EXPORT_POLICY_JAR_SRC_DIR)/%
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    76
	$(install-file)
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    77
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    78
  US_EXPORT_POLICY_JAR_DEPS := \
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    79
      $(US_EXPORT_POLICY_JAR_TMP)/default_US_export.policy
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    80
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    81
  $(eval $(call SetupArchive,BUILD_US_EXPORT_POLICY_JAR, \
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    82
      $(US_EXPORT_POLICY_JAR_DEPS), \
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    83
      SRCS := $(US_EXPORT_POLICY_JAR_TMP), \
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    84
      SUFFIXES := .policy, \
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    85
      JAR := $(US_EXPORT_POLICY_JAR_UNLIMITED), \
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    86
      EXTRA_MANIFEST_ATTR := Crypto-Strength: unlimited, \
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    87
      SKIP_METAINF := true))
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    88
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    89
  $(US_EXPORT_POLICY_JAR_LIMITED): \
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    90
      $(US_EXPORT_POLICY_JAR_UNLIMITED)
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    91
		$(ECHO) $(LOG_INFO) \
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    92
		    Copying unlimited $(patsubst $(OUTPUT_ROOT)/%,%,$@)
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    93
		$(install-file)
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    94
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    95
  TARGETS += $(US_EXPORT_POLICY_JAR_LIMITED) $(US_EXPORT_POLICY_JAR_UNLIMITED)
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    96
endif
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    97
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    98
ifeq ($(UNLIMITED_CRYPTO), true)
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    99
  $(US_EXPORT_POLICY_JAR_DST): $(US_EXPORT_POLICY_JAR_UNLIMITED)
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   100
	$(install-file)
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   101
else
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   102
  $(US_EXPORT_POLICY_JAR_DST): $(US_EXPORT_POLICY_JAR_LIMITED)
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   103
	$(install-file)
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   104
endif 
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   105
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   106
ifndef OPENJDK
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   107
  ifneq ($(UNLIMITED_CRYPTO), true)
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   108
    $(UNLIMITED_POLICY_DIR)/US_export_policy.jar: \
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   109
        $(US_EXPORT_POLICY_JAR_UNLIMITED)
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   110
		$(install-file)
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   111
    TARGETS += $(UNLIMITED_POLICY_DIR)/US_export_policy.jar
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   112
  endif
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   113
endif
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   114
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   115
POLICY_JARS += $(US_EXPORT_POLICY_JAR_DST)
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   116
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   117
################################################################################
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   118
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   119
LOCAL_POLICY_JAR_DST := \
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   120
    $(SUPPORT_OUTPUTDIR)/modules_libs/java.base/security/local_policy.jar
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   121
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   122
ifneq ($(BUILD_CRYPTO), no)
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   123
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   124
  LOCAL_POLICY_JAR_LIMITED := \
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   125
      $(SUPPORT_OUTPUTDIR)/jce/policy/limited/local_policy.jar
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   126
  LOCAL_POLICY_JAR_UNLIMITED := \
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   127
      $(SUPPORT_OUTPUTDIR)/jce/policy/unlimited/local_policy.jar
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   128
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   129
  #
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   130
  # TODO fix so that SetupArchive does not write files into SRCS
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   131
  # then we don't need this extra copying
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   132
  #
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   133
  LOCAL_POLICY_JAR_LIMITED_TMP := \
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   134
      $(SUPPORT_OUTPUTDIR)/jce/policy/limited/local_policy_jar.tmp
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   135
  LOCAL_POLICY_JAR_UNLIMITED_TMP := \
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   136
      $(SUPPORT_OUTPUTDIR)/jce/policy/unlimited/local_policy_jar.tmp
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   137
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   138
  $(LOCAL_POLICY_JAR_LIMITED_TMP)/%: \
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   139
      $(JDK_TOPDIR)/make/data/cryptopolicy/limited/%
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   140
		$(install-file)
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   141
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   142
  $(LOCAL_POLICY_JAR_UNLIMITED_TMP)/%: \
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   143
      $(JDK_TOPDIR)/make/data/cryptopolicy/unlimited/%
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   144
		$(install-file)
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   145
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   146
  $(eval $(call SetupArchive,BUILD_LOCAL_POLICY_JAR_LIMITED, \
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   147
      $(LOCAL_POLICY_JAR_LIMITED_TMP)/exempt_local.policy \
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   148
      $(LOCAL_POLICY_JAR_LIMITED_TMP)/default_local.policy, \
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   149
      SRCS := $(LOCAL_POLICY_JAR_LIMITED_TMP), \
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   150
      SUFFIXES := .policy, \
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   151
      JAR := $(LOCAL_POLICY_JAR_LIMITED), \
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   152
      EXTRA_MANIFEST_ATTR := Crypto-Strength: limited, \
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   153
      SKIP_METAINF := true))
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   154
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   155
  $(eval $(call SetupArchive,BUILD_LOCAL_POLICY_JAR_UNLIMITED, \
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   156
      $(LOCAL_POLICY_JAR_UNLIMITED_TMP)/default_local.policy, \
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   157
      SRCS := $(LOCAL_POLICY_JAR_UNLIMITED_TMP), \
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   158
      SUFFIXES := .policy, \
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   159
      JAR := $(LOCAL_POLICY_JAR_UNLIMITED), \
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   160
      EXTRA_MANIFEST_ATTR := Crypto-Strength: unlimited, \
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   161
      SKIP_METAINF := true))
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   162
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   163
  TARGETS += $(LOCAL_POLICY_JAR_LIMITED) $(LOCAL_POLICY_JAR_UNLIMITED)
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   164
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   165
  ifndef OPENJDK
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   166
    ifneq ($(UNLIMITED_CRYPTO), true)
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   167
      $(UNLIMITED_POLICY_DIR)/README.txt: \
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   168
          $(JDK_TOPDIR)/make/closed/data/cryptopolicy/README.txt
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   169
		$(install-file)
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   170
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   171
      TARGETS += $(UNLIMITED_POLICY_DIR)/README.txt
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   172
    endif
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   173
  endif
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   174
endif
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   175
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   176
ifeq ($(UNLIMITED_CRYPTO), true)
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   177
  $(LOCAL_POLICY_JAR_DST): $(LOCAL_POLICY_JAR_UNLIMITED)
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   178
	$(install-file)
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   179
else 
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   180
  $(LOCAL_POLICY_JAR_DST): $(LOCAL_POLICY_JAR_LIMITED)
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   181
	$(install-file)
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   182
endif 
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   183
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   184
ifndef OPENJDK
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   185
  ifneq ($(UNLIMITED_CRYPTO), true)
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   186
    $(UNLIMITED_POLICY_DIR)/local_policy.jar: \
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   187
        $(LOCAL_POLICY_JAR_UNLIMITED)
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   188
		$(install-file) 
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   189
    TARGETS += $(UNLIMITED_POLICY_DIR)/local_policy.jar
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   190
  endif
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   191
endif
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   192
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   193
POLICY_JARS += $(LOCAL_POLICY_JAR_DST)
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   194
TARGETS += $(POLICY_JARS)
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   195
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   196
################################################################################
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   197