6882745: Add DISABLE_INTREE_EC option to make new EC provider optional.
authorandrew
Thu, 10 Sep 2009 19:04:25 +0100
changeset 3856 47b5ce137a2b
parent 3855 653df3a7256d
child 3857 852042a79fdf
child 3858 ea9c34fc8590
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
jdk/make/sun/security/Makefile
--- 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)