#
# @(#)GNUmakefile	1.30 98/10/06
#
# Build classes for security tools:
#
#		* keytool
#		* jarsigner
#		* policytool
#
# Also install wrappers for all of these.
#

BUILDDIR = ../..
include $(BUILDDIR)/Platform.gmk
include $(BUILDDIR)/makefiles/Defs.gmk

ifdef JAE_ONLY
TOOLS_SUBDIRS =
else
TOOLS_SUBDIRS = jarsigner policytool
endif

SUBDIRS = acl action util x509 pkcs provider tools keytool $(TOOLS_SUBDIRS)

all optimized debug clean clobber ::
	@for i in $(SUBDIRS) ; do \
	    echo ">>>Recursively making "$$i" "$@" @ `date` ..."; \
	    cd $$i; $(MAKE) $@ RELEASE=$(RELEASE) || exit 1; cd ..; \
	    echo "<<<Finished Recursively making "$$i" "$@" @ `date`." ; \
	done

clean::
	rm -rf $(CLASSBINDIR)/sun/security
