Makefile revision 2080
0N/A#
0N/A# Copyright 1996-2005 Sun Microsystems, Inc. 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. Sun designates this
0N/A# particular file as subject to the "Classpath" exception as provided
0N/A# by Sun 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#
0N/A# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
0N/A# CA 95054 USA or visit www.sun.com if you need additional information or
0N/A# have any questions.
0N/A#
0N/A
0N/ABUILDDIR = ../..
2080N/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
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
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
2080N/Abuild: properties policy cacerts
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
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
0N/Aclean clobber:: .delete.classlist
0N/A $(RM) -r $(CLASSBINDIR)/java/security
2080N/A $(RM) $(PROPS_BUILD) $(POLICY_BUILD) $(CACERTS_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