Makefile revision 1258
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#
844N/A# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
291N/A#
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/
291N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
291N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
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
291N/Ainclude ../../make-rules/prep.mk
291N/Ainclude ../../make-rules/configure.mk
291N/Ainclude ../../make-rules/ips.mk
291N/A
291N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
291N/ACONFIGURE_OPTIONS += --with-pcsclite=no
291N/ACONFIGURE_OPTIONS += --with-included-gettext=yes
291N/ACONFIGURE_OPTIONS += --localstatedir=/var
849N/ACONFIGURE_OPTIONS += OPENSSL_LIBS="-lssl -lcrypto -lsocket -lnsl"
291N/A
291N/A# common targets
291N/Abuild: $(BUILD_32_and_64)
291N/A
291N/Ainstall: $(INSTALL_32_and_64)
291N/A
291N/Atest: $(NO_TESTS)
291N/A
291N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
291N/A
291N/Ainclude ../../make-rules/depend.mk