Makefile revision 6630
1N/A#
1N/A# CDDL HEADER START
1N/A#
1N/A# The contents of this file are subject to the terms of the
1N/A# Common Development and Distribution License (the "License").
1N/A# You may not use this file except in compliance with the License.
1N/A#
1N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1N/A# or http://www.opensolaris.org/os/licensing.
1N/A# See the License for the specific language governing permissions
1N/A# and limitations under the License.
1N/A#
1N/A# When distributing Covered Code, include this CDDL HEADER in each
1N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1N/A# If applicable, add the following below this CDDL HEADER, with the
1N/A# fields enclosed by brackets "[]" replaced with your own identifying
1N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1N/A#
1N/A# CDDL HEADER END
1N/A#
1N/A
1N/A#
1N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
1N/A#
1N/A# Prefer 32-bit as only "binary" delivered is a script with embedded paths.
1N/ABUILD_BITS= 32_and_64
1N/Ainclude ../../make-rules/shared-macros.mk
1N/A
1N/ACOMPONENT_NAME= libassuan
1N/ACOMPONENT_VERSION= 2.4.3
1N/ACOMPONENT_PROJECT_URL= http://www.gnupg.org/related_software/libassuan/
1N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
1N/ACOMPONENT_ARCHIVE_HASH= \
1N/A sha256:22843a3bdb256f59be49842abf24da76700354293a066d82ade8134bb5aa2b71
1N/ACOMPONENT_ARCHIVE_URL= ftp://ftp.gnupg.org/gcrypt/libassuan/$(COMPONENT_ARCHIVE)
1N/ACOMPONENT_BUGDB= utility/gnupg
1N/A
1N/ATPNO= 30305
1N/A
1N/Ainclude $(WS_MAKE_RULES)/common.mk
1N/A
1N/A# Enable C99 mode + -Xc for its additional warnings.
1N/Astudio_C99MODE = -Xc $(studio_C99_ENABLE)
1N/A
1N/A# -xinline=%auto -- we like inlining where appropriate
1N/ACFLAGS += -xinline=%auto
1N/A
1N/A# -xbuiltin=%none -- builtins have been known to be buggy
1N/ACFLAGS += -xbuiltin=%none
1N/A
1N/ACFLAGS += $(CPP_LARGEFILES)
1N/ACFLAGS += $(XPG6MODE)
1N/ACFLAGS += $(CPP_POSIX)
1N/ACFLAGS += $(CPP_C99_EXTENDED_MATH)
1N/ACFLAGS += $(studio_PIC)
1N/A
1N/ACOMPONENT_TEST_MASTER = \
1N/A $(COMPONENT_TEST_RESULTS_DIR)/results-libassuan.master
1N/A
1N/ACOMPONENT_TEST_TRANSFORMS += \
1N/A '-e "s/fdpassing\[[0-9]\{1,9\}\]\: //g"' \
1N/A '-e "s/ Pleased to meet you, process [0-9]\{1,9\}//g"' \
1N/A '-e "s/chan_[0-9]\{1,9\}/chan/g"'
1N/A
1N/ACONFIGURE_ENV += CFLAGS="$(CFLAGS)"
1N/ACONFIGURE_ENV += INSTALL="$(INSTALL)"
1N/A
1N/ACONFIGURE_OPTIONS += --localstatedir=$(VARDIR)
1N/ACONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
1N/ACONFIGURE_OPTIONS += --enable-shared
1N/ACONFIGURE_OPTIONS += --disable-static
1N/ACONFIGURE_OPTIONS += --disable-silent-rules
1N/ACONFIGURE_OPTIONS += --with-gpg-error-prefix=$(CONFIGURE_PREFIX)
1N/ACONFIGURE_OPTIONS += --with-pic
1N/A
1N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
1N/A
1N/AREQUIRED_PACKAGES += library/security/libgpg-error
1N/AREQUIRED_PACKAGES += shell/ksh93
1N/A