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