changeset 5406:53fc48ac178f

7201205: Add Makefile configuration option to build with unlimited crypto in OpenJDK. Summary: Allow OpenJDK to use the unlimited crypto policy. Reviewed-by: wetmore, ohair
author andrew
date Thu, 27 Sep 2012 17:55:10 +0100
parents 019c69143daf
children eb3f916e88c8
files make/javax/crypto/Makefile
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/make/javax/crypto/Makefile	Thu Oct 25 19:01:26 2012 +0100
+++ b/make/javax/crypto/Makefile	Thu Sep 27 17:55:10 2012 +0100
@@ -156,7 +156,12 @@
 #
 
 ifdef OPENJDK
-all: build-jar install-jar build-policy install-limited
+ifdef UNLIMITED_CRYPTO
+POLICY = install-unlimited
+else
+POLICY = install-limited
+endif
+all: build-jar install-jar build-policy $(POLICY)
 else  # OPENJDK
 ifeq ($(strip $(FILES_java)),)
 all: