Makefile revision 4675
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# CDDL HEADER START
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# The contents of this file are subject to the terms of the
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# Common Development and Distribution License (the "License").
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# You may not use this file except in compliance with the License.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# See the License for the specific language governing permissions
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# and limitations under the License.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# When distributing Covered Code, include this CDDL HEADER in each
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# If applicable, add the following below this CDDL HEADER, with the
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# fields enclosed by brackets "[]" replaced with your own identifying
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# information: Portions Copyright [yyyy] [name of copyright owner]
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# CDDL HEADER END
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterCOMPONENT_PROJECT_URL= http://www.lysator.liu.se/~nisse/nettle/
e6c3a72a023407f5d1fface64356e1cc81f1af31Phill CunningtonCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
bee2440354b4bc8796e1de0b6cbd60e1f68deba0Phill Cunnington sha256:f6859d4ec88e70805590af9862b4b8c43a2d1fc7991df0a7a711b1e7ca9fc9d3
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterCOMPONENT_ARCHIVE_URL= https://ftp.gnu.org/gnu/nettle/$(COMPONENT_ARCHIVE)
bee2440354b4bc8796e1de0b6cbd60e1f68deba0Phill CunningtonCONFIGURE_OPTIONS += --libexecdir=$(CONFIGURE_LIBDIR.$(BITS))
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterCONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterCONFIGURE_OPTIONS += --with-include-path=/usr/include/gmp
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterCONFIGURE_OPTIONS += CC_FOR_BUILD="$(CC) $(CC_BITS)"
bee2440354b4bc8796e1de0b6cbd60e1f68deba0Phill CunningtonCONFIGURE_OPTIONS += --disable-elliptic-curves
a82d04bc19fee9d5e34b41ccd7641da1f62ab634Neil Madden# The additional set of transforms to be applied to the
a82d04bc19fee9d5e34b41ccd7641da1f62ab634Neil Madden# test results to try to normalize them.
a82d04bc19fee9d5e34b41ccd7641da1f62ab634Neil Madden '-e "1,/run-tests/d"' \
a82d04bc19fee9d5e34b41ccd7641da1f62ab634Neil Madden '-e "/^e/d"'
bee2440354b4bc8796e1de0b6cbd60e1f68deba0Phill Cunnington (cd $(@D) ; ACLOCAL=aclocal-1.11 AUTOMAKE=automake-1.11 autoreconf -fiv)
bee2440354b4bc8796e1de0b6cbd60e1f68deba0Phill Cunnington# common targets