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