6882745: Add DISABLE_INTREE_EC option to make new EC provider optional

Don't build the ec subdirectory when DISABLE_INTREE_EC is defined.

Reviewed-by: vinnie
This commit is contained in:
Andrew John Hughes 2009-09-10 19:04:25 +01:00
parent 19396438bb
commit 923f665126

View File

@ -60,8 +60,15 @@ ifeq ($(PLATFORM), windows)
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)