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