mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-19 01:47:52 +00:00
Merge
This commit is contained in:
commit
f217a785d5
@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (c) 1996, 2005, Oracle and/or its affiliates. All rights reserved.
|
||||
# Copyright (c) 1996, 2010 Oracle and/or its affiliates. All rights reserved.
|
||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
#
|
||||
# This code is free software; you can redistribute it and/or modify it
|
||||
@ -62,6 +62,11 @@ POLICY_BUILD = $(LIBDIR)/security/java.policy
|
||||
CACERTS_SRC = $(CACERTS_FILE)
|
||||
CACERTS_BUILD = $(LIBDIR)/security/cacerts
|
||||
|
||||
ifndef OPENJDK
|
||||
BLACKLIST_SRC = $(CLOSED_SHARE_SRC)/lib/security/blacklist
|
||||
BLACKLIST_BUILD = $(LIBDIR)/security/blacklist
|
||||
endif
|
||||
|
||||
FILES_class = $(FILES_java:%.java=$(CLASSBINDIR)/%.class)
|
||||
|
||||
#
|
||||
@ -69,7 +74,11 @@ FILES_class = $(FILES_java:%.java=$(CLASSBINDIR)/%.class)
|
||||
#
|
||||
include $(BUILDDIR)/common/Rules.gmk
|
||||
|
||||
ifdef OPENJDK
|
||||
build: properties policy cacerts
|
||||
else
|
||||
build: properties policy cacerts blacklist
|
||||
endif
|
||||
|
||||
install: all
|
||||
|
||||
@ -79,6 +88,8 @@ policy: classes $(POLICY_BUILD)
|
||||
|
||||
cacerts: classes $(CACERTS_BUILD)
|
||||
|
||||
blacklist: classes $(BLACKLIST_BUILD)
|
||||
|
||||
$(PROPS_BUILD): $(PROPS_SRC)
|
||||
$(install-file)
|
||||
|
||||
@ -88,9 +99,12 @@ $(POLICY_BUILD): $(POLICY_SRC)
|
||||
$(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)
|
||||
$(RM) $(PROPS_BUILD) $(POLICY_BUILD) $(CACERTS_BUILD) $(BLACKLIST_BUILD)
|
||||
|
||||
# Additional Rule for building sun.security.util
|
||||
$(CLASSBINDIR)/%.class: $(SHARE_SRC)/sun/%.java
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user