4991N/A#
4991N/A# CDDL HEADER START
4991N/A#
4991N/A# The contents of this file are subject to the terms of the
4991N/A# Common Development and Distribution License (the "License").
4991N/A# You may not use this file except in compliance with the License.
4991N/A#
4991N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4991N/A# or http://www.opensolaris.org/os/licensing.
4991N/A# See the License for the specific language governing permissions
4991N/A# and limitations under the License.
4991N/A#
4991N/A# When distributing Covered Code, include this CDDL HEADER in each
4991N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4991N/A# If applicable, add the following below this CDDL HEADER, with the
4991N/A# fields enclosed by brackets "[]" replaced with your own identifying
4991N/A# information: Portions Copyright [yyyy] [name of copyright owner]
4991N/A#
4991N/A# CDDL HEADER END
4991N/A#
4991N/A# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
4991N/A#
4991N/A
4991N/ACOMPONENT_NAME= nettle
4991N/ACOMPONENT_VERSION= 3.1
4991N/ACOMPONENT_PROJECT_URL= http://www.lysator.liu.se/~nisse/nettle/
4991N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
4991N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
4991N/ACOMPONENT_ARCHIVE_HASH= \
4991N/A sha256:f6859d4ec88e70805590af9862b4b8c43a2d1fc7991df0a7a711b1e7ca9fc9d3
4991N/ACOMPONENT_ARCHIVE_URL= https://ftp.gnu.org/gnu/nettle/$(COMPONENT_ARCHIVE)
4991N/ACOMPONENT_BUGDB= library/nettle
4991N/A
4991N/ATPNO= 22160
4991N/A
4991N/Ainclude ../../make-rules/shared-macros.mk
4991N/Ainclude $(WS_MAKE_RULES)/prep.mk
4991N/Ainclude $(WS_MAKE_RULES)/configure.mk
4991N/Ainclude $(WS_MAKE_RULES)/ips.mk
4991N/A
4991N/ACONFIGURE_OPTIONS += --libexecdir=$(CONFIGURE_LIBDIR.$(BITS))
4991N/ACONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
4991N/ACONFIGURE_OPTIONS += --with-include-path=/usr/include/gmp
4991N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
4991N/ACONFIGURE_OPTIONS += CXXFLAGS="$(CXXFLAGS)"
4991N/ACONFIGURE_OPTIONS += LDFLAGS="$(LDFLAGS)"
4991N/ACONFIGURE_OPTIONS += CC_FOR_BUILD="$(CC) $(CC_BITS)"
4991N/ACONFIGURE_OPTIONS += --disable-elliptic-curves
4991N/ACONFIGURE_OPTIONS += --disable-knuth-lfib
4991N/A
4991N/A# The additional set of transforms to be applied to the
4991N/A# test results to try to normalize them.
4991N/ACOMPONENT_TEST_TRANSFORMS += \
4991N/A '-e "1,/run-tests/d"' \
4991N/A '-e "/^e/d"'
4991N/A
4991N/ACOMPONENT_PREP_ACTION = \
4991N/A (cd $(@D) ; ACLOCAL=aclocal-1.11 AUTOMAKE=automake-1.11 autoreconf -fiv)
4991N/A
4991N/AASLR_MODE = $(ASLR_ENABLE)
4991N/A
4991N/A# common targets
4991N/Aconfigure: $(CONFIGURE_32_and_64)
4991N/A
4991N/Abuild: $(BUILD_32_and_64)
4991N/A
4991N/Ainstall: $(INSTALL_32_and_64)
4991N/A
4991N/Atest: $(TEST_32_and_64)
4991N/A
4991N/Asystem-test: $(SYSTEM_TESTS_NOT_IMPLEMENTED)
4991N/A
4991N/AREQUIRED_PACKAGES += library/gmp
4991N/AREQUIRED_PACKAGES += system/library