209N/A#
209N/A# CDDL HEADER START
209N/A#
209N/A# The contents of this file are subject to the terms of the
209N/A# Common Development and Distribution License (the "License").
209N/A# You may not use this file except in compliance with the License.
209N/A#
209N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
209N/A# or http://www.opensolaris.org/os/licensing.
209N/A# See the License for the specific language governing permissions
209N/A# and limitations under the License.
209N/A#
209N/A# When distributing Covered Code, include this CDDL HEADER in each
209N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
209N/A# If applicable, add the following below this CDDL HEADER, with the
209N/A# fields enclosed by brackets "[]" replaced with your own identifying
209N/A# information: Portions Copyright [yyyy] [name of copyright owner]
209N/A#
209N/A# CDDL HEADER END
209N/A#
209N/A
209N/A#
209N/A# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
209N/A#
209N/A
209N/ABUILD_BITS = 64_and_32
209N/Ainclude ../../../make-rules/shared-macros.mk
209N/A
611N/ACOMPONENT_NAME= p11-kit
611N/ACOMPONENT_VERSION= 0.23.1
611N/ACOMPONENT_PROJECT_URL= http://p11-glue.freedesktop.org/
209N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
611N/ACOMPONENT_ARCHIVE_HASH= \
611N/A sha256:e57371669f3b157141b86c429bd9c29741994b2f5ff115fcb8a03e751b0f6ac4
209N/ACOMPONENT_ARCHIVE_URL= http://p11-glue.freedesktop.org/releases/$(COMPONENT_ARCHIVE)
209N/ACOMPONENT_BUGDB= gnome/security
209N/A
209N/ATPNO= 25611
209N/A
209N/A# Needs header updates from ON, available in S12 but not S11.
209N/Aifeq ($(BUILD_TYPE), evaluation)
209N/ABUILD_32_and_64=
209N/AINSTALL_32_and_64=
209N/APUBLISH_STAMP=
209N/Aendif
209N/A
209N/Ainclude $(WS_MAKE_RULES)/common.mk
209N/A
209N/Astudio_C99MODE=$(studio_C99_ENABLE)
209N/A
209N/A# Needed due to patch to automake-related files.
611N/ACOMPONENT_PREP_ACTION += (cd $(@D); autoreconf -fiv);
209N/A
209N/ACONFIGURE_ENV += CFLAGS="$(CFLAGS)"
209N/ACONFIGURE_OPTIONS += --enable-doc
209N/ACONFIGURE_OPTIONS += --localstatedir=$(VARDIR)
209N/ACONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)
209N/ACONFIGURE_OPTIONS.32 += --with-module-path=/usr/lib/security
209N/ACONFIGURE_OPTIONS.64 += --with-module-path=/usr/lib/security/$(MACH64)
209N/ACONFIGURE_OPTIONS += --with-trust-paths=/etc/certs/ca-certificates.crt
209N/A
209N/ACOMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-$(BITS).master
209N/ACOMPONENT_TEST_TRANSFORMS += \
209N/A '-n ' \
'-e "/TOTAL:/p" ' \
'-e "/SKIP:/p" ' \
'-e "/PASS:/p" ' \
'-e "/FAIL:/p" ' \
'-e "/ok/p" ' \
'-e "/ERROR:/p" '
REQUIRED_PACKAGES += developer/build/automake-115
REQUIRED_PACKAGES += developer/build/gnu-make
REQUIRED_PACKAGES += developer/documentation-tool/gtk-doc
REQUIRED_PACKAGES += library/libffi
REQUIRED_PACKAGES += library/libtasn1
REQUIRED_PACKAGES += library/libxslt