Makefile revision 5680
98N/A#
98N/A# CDDL HEADER START
98N/A#
98N/A# The contents of this file are subject to the terms of the
98N/A# Common Development and Distribution License (the "License").
98N/A# You may not use this file except in compliance with the License.
98N/A#
98N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
98N/A# or http://www.opensolaris.org/os/licensing.
98N/A# See the License for the specific language governing permissions
98N/A# and limitations under the License.
98N/A#
98N/A# When distributing Covered Code, include this CDDL HEADER in each
98N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
98N/A# If applicable, add the following below this CDDL HEADER, with the
98N/A# fields enclosed by brackets "[]" replaced with your own identifying
98N/A# information: Portions Copyright [yyyy] [name of copyright owner]
98N/A#
98N/A# CDDL HEADER END
98N/A#
98N/A
98N/A#
98N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
98N/A#
98N/ABUILD_BITS= 64_and_32
98N/Ainclude ../../make-rules/shared-macros.mk
98N/A
98N/APATH= $(GNUBIN):$(USRBINDIR)
98N/A
98N/ACOMPONENT_NAME= gpgme
98N/ACOMPONENT_VERSION= 1.5.3
98N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
343N/ACOMPONENT_PROJECT_URL= http://www.gnupg.org/related_software/gpgme/
98N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
98N/ACOMPONENT_ARCHIVE_HASH= \
235N/A sha256:0db040c5b07e69cfe9a0b4566c8e90151ebacfe122c97c452f11386654aefcc9
156N/ACOMPONENT_ARCHIVE_URL= ftp://ftp.gnupg.org/gcrypt/gpgme/$(COMPONENT_ARCHIVE)
156N/ACOMPONENT_BUGDB= utility/gnupg
156N/A
156N/ATPNO= 21167
98N/A
98N/A# Although building and running the GpgME tests is enabled, GpgME's
98N/A# Test Harness is not suitable for running in an automated test
98N/A# environment. The GpgME tests require interactive, manual input
235N/A# from the tty as well as system configuration changes.
235N/A# The GpgME Test Harness can only be run manually, and interactively
98N/A# from a terminal.
98N/ATEST_TARGET= $(SKIP_TEST)
98N/Ainclude $(WS_MAKE_RULES)/common.mk
156N/A
98N/APATCH_LEVEL = 0
98N/A
235N/A# Enable C99 mode + -Xc for its additional warnings.
261N/Astudio_C99MODE = -Xc $(studio_C99_ENABLE)
98N/A
98N/A# -xinline=%auto -- we like inlining where appropriate
98N/ACFLAGS += -xinline=%auto
98N/A
98N/A# -xbuiltin=%none -- builtins have been known to be buggy
98N/ACFLAGS += -xbuiltin=%none
98N/A
98N/ACFLAGS += $(CPP_LARGEFILES)
98N/ACFLAGS += $(XPG6MODE)
98N/ACFLAGS += $(CPP_POSIX)
98N/ACFLAGS += $(CPP_C99_EXTENDED_MATH)
98N/ACFLAGS += $(studio_PIC)
98N/A
98N/ACONFIGURE_ENV += INSTALL="$(INSTALL)"
98N/A
98N/ACONFIGURE_OPTIONS += --localstatedir=$(VARDIR)
235N/ACONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
98N/ACONFIGURE_OPTIONS += --enable-shared
98N/ACONFIGURE_OPTIONS += --disable-static
235N/ACONFIGURE_OPTIONS += --disable-silent-rules
235N/ACONFIGURE_OPTIONS += --with-gpg-error-prefix=$(CONFIGURE_PREFIX)
235N/ACONFIGURE_OPTIONS += --enable-largefile
235N/ACONFIGURE_OPTIONS += --enable-gpg-test
235N/ACONFIGURE_OPTIONS += --enable-gpgsm-test
235N/ACONFIGURE_OPTIONS += --enable-gpgconf-test
98N/ACONFIGURE_OPTIONS += --with-libgpg-error-prefix=$(CONFIGURE_PREFIX)
98N/ACONFIGURE_OPTIONS += --with-libassuan-prefix=$(CONFIGURE_PREFIX)
98N/ACONFIGURE_OPTIONS += --with-pic
98N/A
98N/AREQUIRED_PACKAGES += library/security/libgpg-error
235N/AREQUIRED_PACKAGES += library/security/libassuan
98N/AREQUIRED_PACKAGES += shell/ksh93
98N/A