Makefile revision 6125
849N/A#
661N/A# CDDL HEADER START
661N/A#
661N/A# The contents of this file are subject to the terms of the
661N/A# Common Development and Distribution License (the "License").
661N/A# You may not use this file except in compliance with the License.
661N/A#
661N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
661N/A# or http://www.opensolaris.org/os/licensing.
661N/A# See the License for the specific language governing permissions
661N/A# and limitations under the License.
661N/A#
661N/A# When distributing Covered Code, include this CDDL HEADER in each
661N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
661N/A# If applicable, add the following below this CDDL HEADER, with the
661N/A# fields enclosed by brackets "[]" replaced with your own identifying
661N/A# information: Portions Copyright [yyyy] [name of copyright owner]
661N/A#
661N/A# CDDL HEADER END
661N/A
661N/A#
2852N/A# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
2852N/A#
1902N/A
661N/ABUILD_BITS= 64
661N/Ainclude ../../make-rules/shared-macros.mk
661N/A
2852N/ACOMPONENT_NAME= libpki
2852N/ACOMPONENT_VERSION= 0.8.9
2852N/ACOMPONENT_PROJECT_URL= https://www.openca.org/projects/libpki/
661N/ACOMPONENT_ARCHIVE_SRC= git
2852N/ACOMPONENT_BUGDB= library/smartcard
2852N/A
2852N/AGIT_REPO= https://github.com/openca/libpki
2852N/AGIT_COMMIT_ID= b46aebc
2852N/AGIT_HASH= sha256:16e84a529f0871dcff175c717cf472bdad0de0a4719bf1f204d49d9011eace2c
2852N/A
2852N/ATPNO = 26905
2852N/A
2852N/Ainclude $(WS_MAKE_RULES)/common.mk
2852N/A
2852N/APKG_PROTO_DIRS += $(COMPONENT_SRC)/docs
2852N/A
2852N/A# This is necessary because 'gmake install' tries to install some files under
2852N/A# /usr/bin without it.
2852N/ACONFIGURE_ENV += DESTDIR="$(PROTO_DIR)"
2852N/A
2852N/ACONFIGURE_OPTIONS += --with-libdir=$(USRLIBDIR64)
2852N/ACONFIGURE_OPTIONS += --with-lib-prefix=$(USRLIBDIR64)
2852N/A
2852N/ACOMPONENT_PRE_TEST_ACTION = files/setup_test.sh $(@D) $(COMPONENT_SRC)
2852N/A
2852N/A# Tests may output some compilation lines, so just pull out the relevant test
2852N/A# output lines for the test results comparison.
2852N/ACOMPONENT_TEST_TRANSFORMS += \
2852N/A '-n ' \
2852N/A '-e "/\# TOTAL:/p" ' \
2852N/A '-e "/\# PASS:/p" ' \
2852N/A '-e "/\# SKIP:/p" ' \
2852N/A '-e "/\# XFAIL:/p" ' \
2852N/A '-e "/\# FAIL:/p" ' \
661N/A '-e "/\# XPASS:/p" ' \
2852N/A '-e "/\# ERROR:/p" '
2852N/A
2852N/AREQUIRED_PACKAGES += library/libxml2
2852N/AREQUIRED_PACKAGES += library/openldap
2852N/AREQUIRED_PACKAGES += library/security/openssl
2852N/AREQUIRED_PACKAGES += library/security/openssl/openssl-fips-140
2852N/AREQUIRED_PACKAGES += shell/ksh93
2852N/AREQUIRED_PACKAGES += system/network/ldap/openldap
2852N/A