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