0N/A#
4122N/A# Copyright (c) 1996, 2011, Oracle and/or its affiliates. All rights reserved.
0N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
0N/A#
0N/A# This code is free software; you can redistribute it and/or modify it
0N/A# under the terms of the GNU General Public License version 2 only, as
2362N/A# published by the Free Software Foundation. Oracle designates this
0N/A# particular file as subject to the "Classpath" exception as provided
2362N/A# by Oracle in the LICENSE file that accompanied this code.
0N/A#
0N/A# This code is distributed in the hope that it will be useful, but WITHOUT
0N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
0N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
0N/A# version 2 for more details (a copy is included in the LICENSE file that
0N/A# accompanied this code).
0N/A#
0N/A# You should have received a copy of the GNU General Public License version
0N/A# 2 along with this work; if not, write to the Free Software Foundation,
0N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
0N/A#
2362N/A# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
2362N/A# or visit www.oracle.com if you need additional information or have any
2362N/A# questions.
0N/A#
0N/A
0N/ABUILDDIR = ../..
0N/APACKAGE = java.security
0N/APRODUCT = sun
0N/Ainclude $(BUILDDIR)/common/Defs.gmk
0N/A
0N/A#
0N/A# Rules
0N/A#
0N/AAUTO_FILES_JAVA_DIRS = java/security
0N/A
0N/A#
0N/A# Directories
0N/A#
0N/A
5544N/A# The default security properties file is for linux
5544N/APROPS_SRC = $(TOPDIR)/src/share/lib/security/java.security-linux
0N/A
0N/Aifeq ($(PLATFORM), solaris)
0N/APROPS_SRC = $(TOPDIR)/src/share/lib/security/java.security-solaris
0N/A
4632N/Aelse # NOT_SOLARIS
0N/A
4122N/A# Register Microsoft CryptoAPI provider only on Windows platform.
0N/Aifeq ($(PLATFORM), windows)
4122N/A PROPS_SRC = $(TOPDIR)/src/share/lib/security/java.security-windows
4632N/A
4632N/Aelse # NOT_WINDOWS
4632N/A
4632N/Aifeq ($(PLATFORM), macosx)
4632N/A PROPS_SRC = $(TOPDIR)/src/share/lib/security/java.security-macosx
4632N/Aendif # MACOSX
4632N/A
4632N/Aendif # NOT_WINDOWS
4632N/Aendif # NOT_SOLARIS
0N/A
0N/A
0N/APROPS_BUILD = $(LIBDIR)/security/java.security
0N/A
0N/APOLICY_SRC = $(TOPDIR)/src/share/lib/security/java.policy
0N/APOLICY_BUILD = $(LIBDIR)/security/java.policy
0N/A
0N/ACACERTS_SRC = $(CACERTS_FILE)
0N/ACACERTS_BUILD = $(LIBDIR)/security/cacerts
0N/A
2572N/Aifndef OPENJDK
2572N/A BLACKLIST_SRC = $(CLOSED_SHARE_SRC)/lib/security/blacklist
2572N/A BLACKLIST_BUILD = $(LIBDIR)/security/blacklist
3570N/A TRUSTEDLIBS_SRC = $(CLOSED_SHARE_SRC)/lib/security/trusted.libraries
3570N/A TRUSTEDLIBS_BUILD = $(LIBDIR)/security/trusted.libraries
2572N/Aendif
2572N/A
0N/AFILES_class = $(FILES_java:%.java=$(CLASSBINDIR)/%.class)
0N/A
0N/A#
0N/A# Rules
0N/A#
0N/Ainclude $(BUILDDIR)/common/Rules.gmk
0N/A
2572N/Aifdef OPENJDK
2080N/Abuild: properties policy cacerts
2572N/Aelse
3570N/Abuild: properties policy cacerts blacklist trustedlibs
2572N/Aendif
0N/A
0N/Ainstall: all
0N/A
0N/Aproperties: classes $(PROPS_BUILD)
0N/A
0N/Apolicy: classes $(POLICY_BUILD)
0N/A
0N/Acacerts: classes $(CACERTS_BUILD)
0N/A
2572N/Ablacklist: classes $(BLACKLIST_BUILD)
2572N/A
3570N/Atrustedlibs: classes $(TRUSTEDLIBS_BUILD)
3570N/A
0N/A$(PROPS_BUILD): $(PROPS_SRC)
0N/A $(install-file)
0N/A
0N/A$(POLICY_BUILD): $(POLICY_SRC)
0N/A $(install-file)
0N/A
0N/A$(CACERTS_BUILD): $(CACERTS_SRC)
0N/A $(install-file)
0N/A
2572N/A$(BLACKLIST_BUILD): $(BLACKLIST_SRC)
2572N/A $(install-file)
2572N/A
3570N/A$(TRUSTEDLIBS_BUILD): $(TRUSTEDLIBS_SRC)
3570N/A $(install-file)
3570N/A
0N/Aclean clobber:: .delete.classlist
0N/A $(RM) -r $(CLASSBINDIR)/java/security
3570N/A $(RM) $(PROPS_BUILD) $(POLICY_BUILD) $(CACERTS_BUILD) $(BLACKLIST_BUILD) $(TRUSTEDLIBS_BUILD)
0N/A
0N/A# Additional Rule for building sun.security.util
0N/A$(CLASSBINDIR)/%.class: $(SHARE_SRC)/sun/%.java
0N/A @$(ECHO) $? >> $(TEMPDIR)/.classes.list
0N/A