Makefile revision 4901
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# CDDL HEADER START
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# The contents of this file are subject to the terms of the
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# Common Development and Distribution License (the "License").
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# You may not use this file except in compliance with the License.
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# or http://www.opensolaris.org/os/licensing.
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# See the License for the specific language governing permissions
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# and limitations under the License.
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# When distributing Covered Code, include this CDDL HEADER in each
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# If applicable, add the following below this CDDL HEADER, with the
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# fields enclosed by brackets "[]" replaced with your own identifying
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# information: Portions Copyright [yyyy] [name of copyright owner]
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# CDDL HEADER END
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved.
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah WaterlandCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah WaterlandCOMPONENT_PROJECT_URL= ftp://ftp.gnutls.org/gcrypt/gnutls/v3.4
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland sha256:e9b5f58becf34756464216056cd5abbf04315eda80a374d02699dee83f80b12e
53520bfd0d8e6401efee237b91e682ab66f77eefMoriah WaterlandCOMPONENT_ARCHIVE_URL= ftp://ftp.gnutls.org/gcrypt/gnutls/v3.4/$(COMPONENT_ARCHIVE)
62224350e5355e6834f7deb9d8a7d062a50cb7c2Casper H.S. Dik# The GnuTLS API and ABI have incompatible changes between versions 2.8.6
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# and 3.4.1; but the basic symlink name 'libgnutls.so' and pkg-config file
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# name 'gnutls.pc' are unchanged. As a result, it's not possible to have
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# both versions installed at the same time in the default paths in a way
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# that makes it possible to build programs that are only compatible with
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# one version of the API. As a result, GnuTLS version 3 delivered to a folder
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# called gnutls-3 temporarily. The plan is to integrate 3.4.1 and move all
82623ab63a7c17ffa0e306afef3be05316812f6eMoriah Waterland# programs to 3.4.1; after all usage of 2.8.6 excised, move 3.4.1 to the
82623ab63a7c17ffa0e306afef3be05316812f6eMoriah Waterland# default location.
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah WaterlandCONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah WaterlandCONFIGURE_OPTIONS += --mandir=/usr/share/$(COMPONENT_NAME)-3/man
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah WaterlandCONFIGURE_OPTIONS += --includedir=/usr/include/$(COMPONENT_NAME)-3/
82623ab63a7c17ffa0e306afef3be05316812f6eMoriah WaterlandCONFIGURE_OPTIONS.32 += --libdir=/usr/lib/$(COMPONENT_NAME)-3/
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah WaterlandCONFIGURE_OPTIONS.64 += --libdir=/usr/lib/$(MACH64)/$(COMPONENT_NAME)-3/
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah WaterlandCONFIGURE_OPTIONS.32 += --libexecdir=/usr/lib/pkgconfig/$(COMPONENT_NAME)-3/
62224350e5355e6834f7deb9d8a7d062a50cb7c2Casper H.S. DikCONFIGURE_OPTIONS.64 += --libexecdir=/usr/lib/$(MACH64)/pkgconfig/$(COMPONENT_NAME)-3/
82623ab63a7c17ffa0e306afef3be05316812f6eMoriah WaterlandCONFIGURE_OPTIONS += --localedir=/usr/share/locale/$(COMPONENT_NAME)-3/
82623ab63a7c17ffa0e306afef3be05316812f6eMoriah WaterlandCONFIGURE_OPTIONS += --with-included-libtasn1
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah WaterlandCONFIGURE_OPTIONS += --disable-openssl-compatibility
test: $(TEST_32_and_64)