Makefile revision 6869
195N/A#
195N/A# CDDL HEADER START
195N/A#
195N/A# The contents of this file are subject to the terms of the
195N/A# Common Development and Distribution License (the "License").
195N/A# You may not use this file except in compliance with the License.
195N/A#
195N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
195N/A# or http://www.opensolaris.org/os/licensing.
195N/A# See the License for the specific language governing permissions
195N/A# and limitations under the License.
195N/A#
195N/A# When distributing Covered Code, include this CDDL HEADER in each
195N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
195N/A# If applicable, add the following below this CDDL HEADER, with the
195N/A# fields enclosed by brackets "[]" replaced with your own identifying
195N/A# information: Portions Copyright [yyyy] [name of copyright owner]
195N/A#
195N/A# CDDL HEADER END
195N/A
3643N/A#
195N/A# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
195N/A#
195N/A
195N/ABUILD_BITS= 64
3883N/Ainclude ../../make-rules/shared-macros.mk
618N/A
195N/A# COMPONENT_VERSION number in ./history must be >= s11 COMPONENT_VERSION
195N/A# at all times, so update ./history if planning to backport an update.
844N/A
3883N/ACOMPONENT_NAME= libpki
195N/ACOMPONENT_VERSION= 0.8.9
1258N/ACOMPONENT_PROJECT_URL= https://www.openca.org/projects/libpki/
195N/ACOMPONENT_ARCHIVE_SRC= git
778N/ACOMPONENT_BUGDB= library/smartcard
778N/A
844N/AGIT_REPO= https://github.com/openca/libpki
3883N/AGIT_COMMIT_ID= b46aebc
778N/AGIT_HASH= sha256:16e84a529f0871dcff175c717cf472bdad0de0a4719bf1f204d49d9011eace2c
778N/A
3883N/ATPNO = 26905
2899N/A
3817N/Ainclude $(WS_MAKE_RULES)/common.mk
3817N/A
3817N/APKG_PROTO_DIRS += $(COMPONENT_SRC)/docs
195N/A
3904N/A# Need to include the path below because not all headers are available in
3904N/A# $(BUILD_DIR)/src/libpki.
3904N/ACPPFLAGS += -I$(COMPONENT_DIR)/$(COMPONENT_SRC)/src
3902N/A
3902N/A# configure.in and Makefile.am patches need configure script recreation.
1845N/ACOMPONENT_PREP_ACTION +=(cd $(@D); autoreconf);
3902N/A
1845N/A# This is necessary because 'gmake install' tries to install some files under
1845N/A# /usr/bin without it.
195N/ACONFIGURE_ENV += DESTDIR="$(PROTO_DIR)"
195N/A
195N/ACONFIGURE_OPTIONS += --with-libdir=$(USRLIBDIR64)
195N/ACONFIGURE_OPTIONS += --with-lib-prefix=$(USRLIBDIR64)
195N/A
195N/ACOMPONENT_PRE_TEST_ACTION = files/setup_test.sh $(@D) $(COMPONENT_SRC)
3902N/A
195N/A# Tests may output some compilation lines, so just pull out the relevant test
3040N/A# output lines for the test results comparison.
195N/ACOMPONENT_TEST_TRANSFORMS += \
3040N/A '-n ' \
3040N/A '-e "/\# TOTAL:/p" ' \
3040N/A '-e "/\# PASS:/p" ' \
3040N/A '-e "/\# SKIP:/p" ' \
1789N/A '-e "/\# XFAIL:/p" ' \
3040N/A '-e "/\# FAIL:/p" ' \
3040N/A '-e "/\# XPASS:/p" ' \
3040N/A '-e "/\# ERROR:/p" '
3040N/A
3040N/AREQUIRED_PACKAGES += library/libxml2
3643N/AREQUIRED_PACKAGES += library/openldap
3643N/AREQUIRED_PACKAGES += library/security/openssl
3643N/AREQUIRED_PACKAGES += library/security/openssl/openssl-fips-140
3643N/AREQUIRED_PACKAGES += shell/ksh93
3643N/AREQUIRED_PACKAGES += system/network/ldap/openldap
4735N/A