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