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