annotate make/ZipSecurity.gmk @ 39428:24cb2cb4ae0b

8159149: Several compiler tests fail with minimal VM Reviewed-by: kvn, psandoz
author iignatyev
date Thu, 16 Jun 2016 01:43:11 +0300
parents
children d5c5e07498ef
rev   line source
chegar@27560 1 #
chegar@27560 2 # Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
chegar@27560 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
chegar@27560 4 #
chegar@27560 5 # This code is free software; you can redistribute it and/or modify it
chegar@27560 6 # under the terms of the GNU General Public License version 2 only, as
chegar@27560 7 # published by the Free Software Foundation. Oracle designates this
chegar@27560 8 # particular file as subject to the "Classpath" exception as provided
chegar@27560 9 # by Oracle in the LICENSE file that accompanied this code.
chegar@27560 10 #
chegar@27560 11 # This code is distributed in the hope that it will be useful, but WITHOUT
chegar@27560 12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
chegar@27560 13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
chegar@27560 14 # version 2 for more details (a copy is included in the LICENSE file that
chegar@27560 15 # accompanied this code).
chegar@27560 16 #
chegar@27560 17 # You should have received a copy of the GNU General Public License version
chegar@27560 18 # 2 along with this work; if not, write to the Free Software Foundation,
chegar@27560 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
chegar@27560 20 #
chegar@27560 21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
chegar@27560 22 # or visit www.oracle.com if you need additional information or have any
chegar@27560 23 # questions.
chegar@27560 24 #
chegar@27560 25
chegar@27560 26 default: all
chegar@27560 27
chegar@27560 28 include $(SPEC)
chegar@27560 29 include MakeBase.gmk
chegar@27560 30 include JavaCompilation.gmk
chegar@27560 31
chegar@27560 32 ##########################################################################################
chegar@27560 33 #
chegar@27560 34 # sec-bin.zip is used by builds where the corresponding sources are not available
chegar@27560 35 #
chegar@27560 36 $(eval $(call SetupZipArchive,BUILD_SEC_BIN_ZIP, \
chegar@27560 37 SRC := $(JDK_OUTPUTDIR), \
chegar@27560 38 INCLUDES := \
chegar@27560 39 modules/java.base/javax/crypto \
chegar@27560 40 modules/java.base/javax/crypto/spec \
chegar@27560 41 modules/java.base/sun/security/internal/interfaces \
chegar@27560 42 modules/java.base/sun/security/internal/spec \
chegar@27560 43 modules/java.base/com/sun/crypto/provider \
chegar@27560 44 modules/jdk.crypto.ec/sun/security/ec \
chegar@27560 45 modules/jdk.crypto.mscapi/sun/security/mscapi \
chegar@27560 46 modules/jdk.crypto.pkcs11/sun/security/pkcs11 \
chegar@27560 47 modules/jdk.crypto.pkcs11/sun/security/pkcs11/wrapper \
chegar@27560 48 modules/jdk.crypto.ucrypto/com/oracle/security/ucrypto \
chegar@27560 49 modules/java.base/javax/net \
chegar@27560 50 modules/java.base/javax/security/cert \
chegar@27560 51 modules/java.base/com/sun/net/ssl \
chegar@27560 52 modules/java.base/com/sun/security/cert \
chegar@27560 53 modules/java.base/sun/net/www/protocol/https \
chegar@27560 54 modules/java.base/sun/security/pkcs12 \
chegar@27560 55 modules/java.base/sun/security/ssl \
chegar@27560 56 modules/java.security.jgss/sun/security/krb5 \
chegar@27560 57 modules/java.security.jgss/sun/security/krb5/internal \
chegar@27560 58 modules/java.security.jgss/sun/security/krb5/internal/ccache \
chegar@27560 59 modules/java.security.jgss/sun/security/krb5/internal/crypto \
chegar@27560 60 modules/java.security.jgss/sun/security/krb5/internal/ktab \
chegar@27560 61 modules/java.security.jgss/sun/security/krb5/internal/rcache \
chegar@27560 62 modules/java.security.jgss/sun/security/krb5/internal/util, \
chegar@27560 63 INCLUDE_FILES := modules/java.security.jgss/sun/security/jgss/spi/GSSContextSpi.class, \
chegar@27560 64 EXCLUDES := modules/java.security.jgss/sun/security/krb5/internal/tools, \
chegar@27560 65 ZIP := $(IMAGES_OUTPUTDIR)/sec-bin.zip))
chegar@27560 66
chegar@27560 67 TARGETS += $(IMAGES_OUTPUTDIR)/sec-bin.zip
chegar@27560 68
chegar@27560 69 ##########################################################################################
chegar@27560 70 #
chegar@27560 71 # Windows specific binary security packages.
chegar@27560 72 #
chegar@27560 73 ifeq ($(OPENJDK_TARGET_OS), windows)
chegar@27560 74 # sec-windows-bin.zip is used by builds where the corresponding sources are not available
chegar@27560 75 $(eval $(call SetupZipArchive,BUILD_SEC_WINDOWS_BIN_ZIP, \
chegar@27560 76 SRC := $(JDK_OUTPUTDIR), \
chegar@27560 77 INCLUDES := modules/java.security.jgss/sun/security/krb5/internal/tools, \
chegar@27560 78 ZIP := $(IMAGES_OUTPUTDIR)/sec-windows-bin.zip))
chegar@27560 79
chegar@27560 80 TARGETS += $(IMAGES_OUTPUTDIR)/sec-windows-bin.zip
chegar@27560 81
chegar@27560 82 # JGSS files contain the native Kerberos library
chegar@27560 83 ifeq ($(OPENJDK_TARGET_CPU), x86_64)
chegar@27560 84 JGSS_ZIP_NAME = jgss-windows-x64-bin.zip
chegar@27560 85 else
chegar@27560 86 JGSS_ZIP_NAME = jgss-windows-i586-bin.zip
chegar@27560 87 endif
chegar@27560 88
chegar@27560 89 $(eval $(call SetupZipArchive,BUILD_JGSS_BIN_ZIP, \
chegar@27560 90 SRC := $(SUPPORT_OUTPUTDIR), \
chegar@27560 91 INCLUDE_FILES := modules_libs/java.security.jgss/w2k_lsa_auth.dll \
chegar@27560 92 modules_libs/java.security.jgss/w2k_lsa_auth.diz \
chegar@27560 93 modules_libs/java.security.jgss/w2k_lsa_auth.map \
chegar@27560 94 modules_libs/java.security.jgss/w2k_lsa_auth.pdb, \
chegar@27560 95 ZIP := $(IMAGES_OUTPUTDIR)/$(JGSS_ZIP_NAME)))
chegar@27560 96
chegar@27560 97 TARGETS += $(IMAGES_OUTPUTDIR)/$(JGSS_ZIP_NAME)
chegar@27560 98 endif
chegar@27560 99
chegar@27560 100 ##########################################################################################
chegar@27560 101
chegar@27560 102 all: $(TARGETS)
chegar@27560 103
chegar@27560 104 .PHONY: default all