303N/A#
303N/A# CDDL HEADER START
303N/A#
303N/A# The contents of this file are subject to the terms of the
303N/A# Common Development and Distribution License (the "License").
303N/A# You may not use this file except in compliance with the License.
303N/A#
303N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
303N/A# or http://www.opensolaris.org/os/licensing.
303N/A# See the License for the specific language governing permissions
303N/A# and limitations under the License.
303N/A#
303N/A# When distributing Covered Code, include this CDDL HEADER in each
303N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
303N/A# If applicable, add the following below this CDDL HEADER, with the
303N/A# fields enclosed by brackets "[]" replaced with your own identifying
303N/A# information: Portions Copyright [yyyy] [name of copyright owner]
303N/A#
303N/A# CDDL HEADER END
303N/A#
5680N/A
303N/A#
5680N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
5680N/A#
5680N/A# Prefer 32-bit as only "binary" delivered is a script with embedded paths.
5680N/ABUILD_BITS= 32_and_64
303N/Ainclude ../../make-rules/shared-macros.mk
303N/A
303N/ACOMPONENT_NAME= libassuan
6630N/ACOMPONENT_VERSION= 2.4.3
303N/ACOMPONENT_PROJECT_URL= http://www.gnupg.org/related_software/libassuan/
303N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
844N/ACOMPONENT_ARCHIVE_HASH= \
6630N/A sha256:22843a3bdb256f59be49842abf24da76700354293a066d82ade8134bb5aa2b71
303N/ACOMPONENT_ARCHIVE_URL= ftp://ftp.gnupg.org/gcrypt/libassuan/$(COMPONENT_ARCHIVE)
1258N/ACOMPONENT_BUGDB= utility/gnupg
303N/A
6630N/ATPNO= 30305
3083N/A
5680N/Ainclude $(WS_MAKE_RULES)/common.mk
303N/A
303N/A# Enable C99 mode + -Xc for its additional warnings.
303N/Astudio_C99MODE = -Xc $(studio_C99_ENABLE)
303N/A
303N/A# -xinline=%auto -- we like inlining where appropriate
303N/ACFLAGS += -xinline=%auto
303N/A
303N/A# -xbuiltin=%none -- builtins have been known to be buggy
303N/ACFLAGS += -xbuiltin=%none
303N/A
303N/ACFLAGS += $(CPP_LARGEFILES)
303N/ACFLAGS += $(XPG6MODE)
303N/ACFLAGS += $(CPP_POSIX)
303N/ACFLAGS += $(CPP_C99_EXTENDED_MATH)
303N/ACFLAGS += $(studio_PIC)
303N/A
4115N/ACOMPONENT_TEST_MASTER = \
4115N/A $(COMPONENT_TEST_RESULTS_DIR)/results-libassuan.master
4115N/A
4115N/ACOMPONENT_TEST_TRANSFORMS += \
4115N/A '-e "s/fdpassing\[[0-9]\{1,9\}\]\: //g"' \
4115N/A '-e "s/ Pleased to meet you, process [0-9]\{1,9\}//g"' \
4115N/A '-e "s/chan_[0-9]\{1,9\}/chan/g"'
4115N/A
303N/ACONFIGURE_ENV += CFLAGS="$(CFLAGS)"
303N/ACONFIGURE_ENV += INSTALL="$(INSTALL)"
303N/A
5680N/ACONFIGURE_OPTIONS += --localstatedir=$(VARDIR)
303N/ACONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
303N/ACONFIGURE_OPTIONS += --enable-shared
303N/ACONFIGURE_OPTIONS += --disable-static
4115N/ACONFIGURE_OPTIONS += --disable-silent-rules
303N/ACONFIGURE_OPTIONS += --with-gpg-error-prefix=$(CONFIGURE_PREFIX)
303N/ACONFIGURE_OPTIONS += --with-pic
303N/A
1938N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
1938N/A
3817N/AREQUIRED_PACKAGES += library/security/libgpg-error
3817N/AREQUIRED_PACKAGES += shell/ksh93