Makefile revision 2572
0N/A#
3261N/A# Copyright (c) 1996, 2010 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
0N/A# published by the Free Software Foundation. Oracle designates this
0N/A# particular file as subject to the "Classpath" exception as provided
0N/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,
2362N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
2362N/A#
2362N/A# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
0N/A# or visit www.oracle.com if you need additional information or have any
0N/A# questions.
0N/A#
0N/A
0N/ABUILDDIR = ../..
0N/AMODULE = base
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
0N/APROPS_SRC = $(TOPDIR)/src/share/lib/security/java.security
0N/A
0N/Aifeq ($(PLATFORM), solaris)
0N/APROPS_SRC = $(TOPDIR)/src/share/lib/security/java.security-solaris
0N/A
0N/Aelse # PLATFORM
0N/A
0N/A# Register Microsoft CryptoAPI provider only on (non-64-bit) Windows platform.
0N/Aifeq ($(PLATFORM), windows)
0N/A ifneq ($(ARCH_DATA_MODEL), 64)
0N/A PROPS_SRC = $(TOPDIR)/src/share/lib/security/java.security-windows
0N/A endif
0N/Aendif
0N/Aendif # PLATFORM
0N/A
0N/A
1486N/APROPS_BUILD = $(LIBDIR)/security/java.security
1486N/A
1486N/APOLICY_SRC = $(TOPDIR)/src/share/lib/security/java.policy
1486N/APOLICY_BUILD = $(LIBDIR)/security/java.policy
0N/A
0N/ACACERTS_SRC = $(CACERTS_FILE)
0N/ACACERTS_BUILD = $(LIBDIR)/security/cacerts
0N/A
0N/Aifndef OPENJDK
0N/A BLACKLIST_SRC = $(CLOSED_SHARE_SRC)/lib/security/blacklist
0N/A BLACKLIST_BUILD = $(LIBDIR)/security/blacklist
0N/Aendif
0N/A
0N/AFILES_class = $(FILES_java:%.java=$(CLASSBINDIR)/%.class)
0N/A
3119N/A#
3119N/A# Rules
3119N/A#
0N/Ainclude $(BUILDDIR)/common/Rules.gmk
0N/A
0N/Aifdef OPENJDK
0N/Abuild: properties policy cacerts
0N/Aelse
0N/Abuild: properties policy cacerts blacklist
0N/Aendif
0N/A
0N/Ainstall: all
0N/A
0N/Aproperties: classes $(PROPS_BUILD)
0N/A
1486N/Apolicy: classes $(POLICY_BUILD)
0N/A
0N/Acacerts: classes $(CACERTS_BUILD)
3119N/A
3119N/Ablacklist: classes $(BLACKLIST_BUILD)
3119N/A
3119N/A$(PROPS_BUILD): $(PROPS_SRC)
3119N/A $(install-file)
3119N/A
3119N/A$(POLICY_BUILD): $(POLICY_SRC)
3119N/A $(install-file)
$(CACERTS_BUILD): $(CACERTS_SRC)
$(install-file)
$(BLACKLIST_BUILD): $(BLACKLIST_SRC)
$(install-file)
clean clobber:: .delete.classlist
$(RM) -r $(CLASSBINDIR)/java/security
$(RM) $(PROPS_BUILD) $(POLICY_BUILD) $(CACERTS_BUILD) $(BLACKLIST_BUILD)
# Additional Rule for building sun.security.util
$(CLASSBINDIR)/%.class: $(SHARE_SRC)/sun/%.java
@$(ECHO) $? >> $(TEMPDIR)/.classes.list