0N/A#
0N/A# CDDL HEADER START
0N/A#
0N/A# The contents of this file are subject to the terms of the
314N/A# Common Development and Distribution License (the "License").
0N/A# You may not use this file except in compliance with the License.
0N/A#
0N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0N/A# or http://www.opensolaris.org/os/licensing.
0N/A# See the License for the specific language governing permissions
0N/A# and limitations under the License.
0N/A#
0N/A# When distributing Covered Code, include this CDDL HEADER in each
0N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0N/A# If applicable, add the following below this CDDL HEADER, with the
0N/A# fields enclosed by brackets "[]" replaced with your own identifying
0N/A# information: Portions Copyright [yyyy] [name of copyright owner]
0N/A#
0N/A# CDDL HEADER END
0N/A#
0N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
0N/A#
0N/Ainclude ../../make-rules/shared-macros.mk
0N/A
0N/ACOMPONENT_NAME= libassuan
0N/ACOMPONENT_VERSION= 2.2.0
0N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
0N/ACOMPONENT_PROJECT_URL= http://www.gnupg.org/related_software/libassuan/
0N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
0N/ACOMPONENT_ARCHIVE_HASH= \
0N/A sha256:7df58ed70be4b694f77efd1f3b3f103c6311b6b71e04a370382f9fe8204f6ec6
0N/ACOMPONENT_ARCHIVE_URL= ftp://ftp.gnupg.org/gcrypt/libassuan/$(COMPONENT_ARCHIVE)
364N/ACOMPONENT_BUGDB= utility/gnupg
0N/A
0N/ATPNO= 22290
364N/A
364N/Ainclude $(WS_MAKE_RULES)/prep.mk
364N/Ainclude $(WS_MAKE_RULES)/configure.mk
364N/Ainclude $(WS_MAKE_RULES)/ips.mk
364N/A
364N/A# Enable C99 mode + -Xc for its additional warnings.
364N/Astudio_C99MODE = -Xc $(studio_C99_ENABLE)
156N/A
156N/A# -xinline=%auto -- we like inlining where appropriate
0N/ACFLAGS += -xinline=%auto
0N/A
364N/A# -xbuiltin=%none -- builtins have been known to be buggy
0N/ACFLAGS += -xbuiltin=%none
0N/A
156N/ACFLAGS += $(CPP_LARGEFILES)
156N/ACFLAGS += $(XPG6MODE)
156N/ACFLAGS += $(CPP_POSIX)
0N/ACFLAGS += $(CPP_C99_EXTENDED_MATH)
0N/ACFLAGS += $(studio_PIC)
156N/A
156N/ACONFIGURE_ENV += CFLAGS="$(CFLAGS)"
0N/ACONFIGURE_ENV += INSTALL="$(INSTALL)"
0N/A
364N/ACONFIGURE_OPTIONS += --localstatedir=/var
364N/ACONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
364N/ACONFIGURE_OPTIONS += --enable-shared
364N/ACONFIGURE_OPTIONS += --disable-static
364N/ACONFIGURE_OPTIONS += --disable-silent-rules
364N/ACONFIGURE_OPTIONS += --with-gpg-error-prefix=$(CONFIGURE_PREFIX)
0N/ACONFIGURE_OPTIONS += --with-pic
156N/A
156N/Abuild: $(BUILD_32_and_64)
0N/A
0N/Ainstall: $(INSTALL_32_and_64)
0N/A
0N/Atest: $(TEST_32_and_64)
156N/A
156N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
156N/A
156N/AREQUIRED_PACKAGES += library/security/libgpg-error
156N/AREQUIRED_PACKAGES += shell/ksh93
156N/AREQUIRED_PACKAGES += system/library
156N/A