#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
# TESTING:
# Requires physical card reader attached to USB with card inserted.
# SCM Microsystems, model SCR3310 is what was used in-house to test.
# The pkcs11_coolkey package, once built needs to be installed on
# the system building and running the test.
#
# To build the test:
# $ cd components/coolkey/test
# $ gmake build-test
#
# To run the test, as root:
# # cd components/coolkey/test
# # ./testcoolkey> testoutput.log
# enter PIN at prompt and press <enter>
#
# If the last line of output says:
# Testing libcoolkey... DONE. Status = 0
# then you have a finished test and results.
# Search for "failed" in testoutput.log to see the actual failures, then
# review any failed messages to determine if the test ran successfully or not.
COMPONENT_DOWNLOAD_URL= http://pkgs.fedoraproject.org/repo/pkgs/$(COMPONENT_NAME)/$(COMPONENT_NAME)-$(COMPONENT_VERSION).tar.gz/815a1811a46bf9b8782107c073149cbe
# configuration related patch needs aclocal to be regenerated
# Allow building with Developer Studio 12.5.
# Do not add the SUNWspro area to the RUNPATH. Follow exactly what CC does.
# Propagate correct LDFLAGS to the linking phase.
# no dependency information exists the first time this package is built
# required packages