6882745: Add DISABLE_INTREE_EC option to make new EC provider optional.
Summary: Don't build the ec subdirectory when DISABLE_INTREE_EC is defined.
Reviewed-by: vinnie
--- a/jdk/make/sun/security/Makefile Fri Sep 18 10:51:44 2009 +0200
+++ b/jdk/make/sun/security/Makefile Thu Sep 10 19:04:25 2009 +0100
@@ -60,8 +60,15 @@
endif
endif
-SUBDIRS = ec other action util tools jgss krb5 smartcardio $(PKCS11) \
- $(JGSS_WRAPPER) $(MSCAPI)
+# Build in-tree elliptic curve crypto provider only when
+# DISABLE_INTREE_EC is not set
+INTREE_EC = ec
+ifdef DISABLE_INTREE_EC
+ INTREE_EC =
+endif
+
+SUBDIRS = $(INTREE_EC) other action util tools jgss krb5 smartcardio \
+ $(PKCS11) $(JGSS_WRAPPER) $(MSCAPI)
all build clean clobber::
$(SUBDIRS-loop)