Makefile revision 5680
291N/A#
291N/A# CDDL HEADER START
291N/A#
291N/A# The contents of this file are subject to the terms of the
291N/A# Common Development and Distribution License (the "License").
291N/A# You may not use this file except in compliance with the License.
291N/A#
291N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
291N/A# or http://www.opensolaris.org/os/licensing.
291N/A# See the License for the specific language governing permissions
291N/A# and limitations under the License.
291N/A#
291N/A# When distributing Covered Code, include this CDDL HEADER in each
291N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
291N/A# If applicable, add the following below this CDDL HEADER, with the
291N/A# fields enclosed by brackets "[]" replaced with your own identifying
291N/A# information: Portions Copyright [yyyy] [name of copyright owner]
291N/A#
291N/A# CDDL HEADER END
291N/A#
5680N/A
5680N/A#
5680N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
291N/A#
5680N/A# For this component, prefer 32-bit over 64-bit for now until sufficient
5680N/A# testing has been performed.
5680N/ABUILD_BITS= 32_and_64
291N/Ainclude ../../make-rules/shared-macros.mk
291N/A
291N/ACOMPONENT_NAME= pam_pkcs11
291N/ACOMPONENT_VERSION= 0.6.0
618N/ACOMPONENT_PROJECT_URL= http://www.opensc-project.org/
844N/ACOMPONENT_ARCHIVE_HASH= \
844N/A sha256:170db26eb9610dde5d3307771ed0e0e14cc0778aaacd3b3d4e71240ccb61cec6
618N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)files/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
1258N/ACOMPONENT_BUGDB= library/pam-pkcs11
291N/A
2899N/ATPNO= 17173
2899N/A
5680N/ATEST_TARGET= $(NO_TESTS)
5680N/Ainclude $(WS_MAKE_RULES)/common.mk
291N/A
5680N/A# Force regeneration of ancient autoconf scripts to fix 64-bit build detection
5680N/A# and due to patches to autoconf and automake files.
5680N/ACOMPONENT_PREP_ACTION += (cd $(@D); autoreconf -fiv)
291N/A
5680N/AOPENSSL_LIBS= -lssl -lcrypto
5680N/Aifeq ($(OS_VERSION),5.11)
5680N/AOPENSSL_LIBS += -lsocket -lnsl
5680N/Aendif
291N/A
5680N/ACONFIGURE_BINDIR.32= $(USRLIB.32)/pam_pkcs11
5680N/ACONFIGURE_BINDIR.64= $(USRLIB.64)/pam_pkcs11
5680N/ACONFIGURE_OPTIONS += --datarootdir=$(ETCDIR)/security
5680N/ACONFIGURE_OPTIONS += --with-pcsclite=no
5680N/ACONFIGURE_OPTIONS += --localedir=$(USRSHARELOCALEDIR)
5680N/ACONFIGURE_OPTIONS += --localstatedir=$(VARDIR)
5680N/ACONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)
5680N/ACONFIGURE_OPTIONS += OPENSSL_LIBS="$(OPENSSL_LIBS)"
291N/A
3817N/AREQUIRED_PACKAGES += library/security/openssl
3817N/AREQUIRED_PACKAGES += shell/bash