< prev index next >

jdk/make/copy/Copy-java.base.gmk

Print this page


   1 #
   2 # Copyright (c) 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


 151             ifeq ($(JVM_VARIANT_MINIMAL1), true)
 152               $(PRINTF) "-minimal KNOWN\n">>$(@)
 153               $(PRINTF) "-server ALIASED_TO -minimal\n">>$(@)
 154               $(PRINTF) "-client ALIASED_TO -minimal\n">>$(@)
 155             endif
 156           endif
 157         endif
 158 endif
 159 
 160 TARGETS += $(JVMCFG)
 161 
 162 ################################################################################
 163 
 164 POLICY_SRC := $(JDK_TOPDIR)/src/java.base/share/conf/security/java.policy
 165 POLICY_DST := $(CONF_DST_DIR)/security/java.policy
 166 
 167 POLICY_SRC_LIST :=
 168 
 169 ifeq ($(OPENJDK_TARGET_OS), windows)
 170   POLICY_SRC_LIST += $(JDK_TOPDIR)/src/java.base/$(OPENJDK_TARGET_OS)/conf/security/java.policy
 171   ifndef OPENJDK
 172     POLICY_SRC_LIST += $(JDK_TOPDIR)/src/closed/java.base/$(OPENJDK_TARGET_OS)/conf/security/java.policy
 173   endif
 174 endif
 175 
 176 POLICY_SRC_LIST += $(POLICY_SRC)
 177 
 178 $(POLICY_DST): $(POLICY_SRC_LIST)
 179         $(MKDIR) -p $(@D)
 180         $(RM) $@ $@.tmp
 181         $(foreach f,$(POLICY_SRC_LIST),$(CAT) $(f) >> $@.tmp;)
 182         $(MV) $@.tmp $@
 183 
 184 TARGETS += $(POLICY_DST)
 185 
 186 ################################################################################
 187 
 188 ifeq ($(CACERTS_FILE), )
 189   CACERTS_FILE := $(JDK_TOPDIR)/src/java.base/share/conf/security/cacerts
 190 endif
 191 CACERTS_DST := $(LIB_DST_DIR)/security/cacerts
 192 
 193 $(CACERTS_DST): $(CACERTS_FILE)


   1 #
   2 # Copyright (c) 2014, 2015 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


 151             ifeq ($(JVM_VARIANT_MINIMAL1), true)
 152               $(PRINTF) "-minimal KNOWN\n">>$(@)
 153               $(PRINTF) "-server ALIASED_TO -minimal\n">>$(@)
 154               $(PRINTF) "-client ALIASED_TO -minimal\n">>$(@)
 155             endif
 156           endif
 157         endif
 158 endif
 159 
 160 TARGETS += $(JVMCFG)
 161 
 162 ################################################################################
 163 
 164 POLICY_SRC := $(JDK_TOPDIR)/src/java.base/share/conf/security/java.policy
 165 POLICY_DST := $(CONF_DST_DIR)/security/java.policy
 166 
 167 POLICY_SRC_LIST :=
 168 
 169 ifeq ($(OPENJDK_TARGET_OS), windows)
 170   POLICY_SRC_LIST += $(JDK_TOPDIR)/src/java.base/$(OPENJDK_TARGET_OS)/conf/security/java.policy



 171 endif
 172 
 173 POLICY_SRC_LIST += $(POLICY_SRC)
 174 
 175 $(POLICY_DST): $(POLICY_SRC_LIST)
 176         $(MKDIR) -p $(@D)
 177         $(RM) $@ $@.tmp
 178         $(foreach f,$(POLICY_SRC_LIST),$(CAT) $(f) >> $@.tmp;)
 179         $(MV) $@.tmp $@
 180 
 181 TARGETS += $(POLICY_DST)
 182 
 183 ################################################################################
 184 
 185 ifeq ($(CACERTS_FILE), )
 186   CACERTS_FILE := $(JDK_TOPDIR)/src/java.base/share/conf/security/cacerts
 187 endif
 188 CACERTS_DST := $(LIB_DST_DIR)/security/cacerts
 189 
 190 $(CACERTS_DST): $(CACERTS_FILE)


< prev index next >