Makefile revision 6284
0N/A#
31N/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.
0N/A#
0N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0N/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#
0N/A
0N/A#
0N/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.
87N/ABUILD_BITS= 32_and_64
0N/Ainclude ../../make-rules/shared-macros.mk
0N/A
0N/ACOMPONENT_NAME= libksba
0N/ACOMPONENT_VERSION= 1.3.4
0N/ACOMPONENT_PROJECT_URL= http://www.gnupg.org/related_software/libksba/
0N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
0N/ACOMPONENT_ARCHIVE_HASH= \
0N/A sha256:f6c2883cebec5608692d8730843d87f237c0964d923bbe7aa89c05f20558ad4f
0N/ACOMPONENT_ARCHIVE_URL= ftp://ftp.gnupg.org/gcrypt/libksba/$(COMPONENT_ARCHIVE)
0N/ACOMPONENT_BUGDB= utility/gnupg
0N/A
0N/ATPNO= 28582
0N/A
0N/Ainclude $(WS_MAKE_RULES)/common.mk
0N/A
0N/A# Enable C99 mode + -Xc for its additional warnings.
0N/Astudio_C99MODE = -Xc $(studio_C99_ENABLE)
87N/A
87N/A# -xinline=%auto -- we like inlining where appropriate
0N/ACFLAGS += -xinline=%auto
0N/A
0N/A# -xbuiltin=%none -- builtins have been known to be buggy
0N/ACFLAGS += -xbuiltin=%none
0N/A
0N/ACFLAGS += $(CPP_LARGEFILES)
0N/ACFLAGS += $(XPG6MODE)
0N/ACFLAGS += $(CPP_POSIX)
0N/ACFLAGS += $(CPP_C99_EXTENDED_MATH)
0N/ACFLAGS += $(studio_PIC)
0N/A
0N/ACOMPONENT_TEST_MASTER = \
87N/A $(COMPONENT_TEST_RESULTS_DIR)/results-libksba.master
59N/A
59N/ACONFIGURE_ENV += INSTALL="$(INSTALL)"
59N/A
59N/ACONFIGURE_OPTIONS += --localstatedir=$(VARDIR)
59N/ACONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
59N/ACONFIGURE_OPTIONS += --enable-shared
59N/ACONFIGURE_OPTIONS += --disable-static
59N/ACONFIGURE_OPTIONS += --disable-silent-rules
0N/ACONFIGURE_OPTIONS += --with-gpg-error-prefix=$(CONFIGURE_PREFIX)
87N/ACONFIGURE_OPTIONS += --with-pic
87N/A
87N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
87N/A
87N/AREQUIRED_PACKAGES += library/security/libgpg-error
87N/AREQUIRED_PACKAGES += shell/ksh93
87N/A