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