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