Makefile revision 5680
6a67d144095c31bbafed93cec1619590157335eajvergara# CDDL HEADER START
6a67d144095c31bbafed93cec1619590157335eajvergara# The contents of this file are subject to the terms of the
6a67d144095c31bbafed93cec1619590157335eajvergara# Common Development and Distribution License (the "License").
6a67d144095c31bbafed93cec1619590157335eajvergara# You may not use this file except in compliance with the License.
6a67d144095c31bbafed93cec1619590157335eajvergara# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
8cf870d281dc8c242f083d14dfef05f24aa5fceeJnRouvignac# See the License for the specific language governing permissions
6a67d144095c31bbafed93cec1619590157335eajvergara# and limitations under the License.
6a67d144095c31bbafed93cec1619590157335eajvergara# When distributing Covered Code, include this CDDL HEADER in each
6a67d144095c31bbafed93cec1619590157335eajvergara# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
8cf870d281dc8c242f083d14dfef05f24aa5fceeJnRouvignac# If applicable, add the following below this CDDL HEADER, with the
8cf870d281dc8c242f083d14dfef05f24aa5fceeJnRouvignac# fields enclosed by brackets "[]" replaced with your own identifying
8cf870d281dc8c242f083d14dfef05f24aa5fceeJnRouvignac# information: Portions Copyright [yyyy] [name of copyright owner]
6a67d144095c31bbafed93cec1619590157335eajvergara# CDDL HEADER END
6a67d144095c31bbafed93cec1619590157335eajvergara# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
7b6b125d52edabd5b1c9134feef7aeae0e69499ekenneth_suter sha256:57646d3e4b919fa1e5c8f1c0cf5fe1215333041c493a5ebc4b8f2978dbe930f2
7b6b125d52edabd5b1c9134feef7aeae0e69499ekenneth_suterCOMPONENT_ARCHIVE_URL= ftp://ftp.gnupg.org/gcrypt/gnupg/$(COMPONENT_ARCHIVE)
5b9085a87d43ed3ae0b149a9c79ba57723733185jvergara# Enable C99 mode + -Xc for its additional warnings.
6a67d144095c31bbafed93cec1619590157335eajvergara# -xinline=%auto -- we like inlining where appropriate
0877596da3b90efc5fd39171cef80a2fb8ec395ekenneth_suter# -xbuiltin=%none -- builtins have been known to be buggy
6a67d144095c31bbafed93cec1619590157335eajvergara# If we pass -lc, -mt won't link with -lthread
5b3741e0620fd2baaa974cecc2c2d953bb7d4fbbkenneth_suter# (which is what it does by default, and we don't
6a67d144095c31bbafed93cec1619590157335eajvergara# want that, because we use POSIX threads).
7b6b125d52edabd5b1c9134feef7aeae0e69499ekenneth_suter '-e "/libtool/d"' \
7b6b125d52edabd5b1c9134feef7aeae0e69499ekenneth_suter '-e "/-m32/d"' \
6a67d144095c31bbafed93cec1619590157335eajvergara '-e "/-m64/d"' \
6a67d144095c31bbafed93cec1619590157335eajvergara '-e "/ld: warning/d"' \
6a67d144095c31bbafed93cec1619590157335eajvergara '-e "/warning/d"' \
6a67d144095c31bbafed93cec1619590157335eajvergara '-e "/Generat/d"' \
6a67d144095c31bbafed93cec1619590157335eajvergara '-e "/Creat/d"' \
6a67d144095c31bbafed93cec1619590157335eajvergara '-e "/Compos/d"' \
6a67d144095c31bbafed93cec1619590157335eajvergara '-e "/Writ/d"' \
6a67d144095c31bbafed93cec1619590157335eajvergara '-e "/Read/d"' \
6a67d144095c31bbafed93cec1619590157335eajvergara '-e "/Home/d"' \
6a67d144095c31bbafed93cec1619590157335eajvergara '-e "/from/d"' \
6a67d144095c31bbafed93cec1619590157335eajvergara '-e "/--run/d"' \
6a67d144095c31bbafed93cec1619590157335eajvergara '-e "/rm -f/d"' \
3e6ff045d382a718a951d6305c8910ffc268f893kenneth_suter '-e "/Nothing/d"' \
6a67d144095c31bbafed93cec1619590157335eajvergara '-e "/Leaving/d"' \
6a67d144095c31bbafed93cec1619590157335eajvergara '-e "/Entering/d"' \
6a67d144095c31bbafed93cec1619590157335eajvergara '-e "/Making/d"' \
6a67d144095c31bbafed93cec1619590157335eajvergara '-e "/Known envvars/d"' \
6a67d144095c31bbafed93cec1619590157335eajvergara '-e "/make/d"' \
6a67d144095c31bbafed93cec1619590157335eajvergara '-e "s/[0-9]\{1,\}\.[0-9]\{1,\} s, //g"' \
857225469c51bedb8c0566aa7757800cfaac4075kenneth_suter '-e "s^[0-9]\{1,\} kB/s^^g"' \
5b3741e0620fd2baaa974cecc2c2d953bb7d4fbbkenneth_suter '-e "s^[0-9]\{1,\} kB/s^^g"' \
0142bbb7ccb5d0efb942c20f5d27e5ddfb4344fdkenneth_suter '-e "s^[0-9]\{1,\}\.[0-9]\{1,\} MB/s^^g"' \
0142bbb7ccb5d0efb942c20f5d27e5ddfb4344fdkenneth_suter '-e "s^[0-9]\{1,\}\.[0-9]\{1,\} MB/s^^g"' \
5b3741e0620fd2baaa974cecc2c2d953bb7d4fbbkenneth_suter '-e "s/([0-9]\{1,\} B)//g"' \
2401d3c2af505789c7c3b860a43e973f27731243jvergara '-e "s/([0-9]\{1,\} B)//g"' \
6a67d144095c31bbafed93cec1619590157335eajvergara '-e "s/copied,/copied/g"' \
6a67d144095c31bbafed93cec1619590157335eajvergara '-e "s/ \{1,\}copied/ copied/g"' \
5b3741e0620fd2baaa974cecc2c2d953bb7d4fbbkenneth_suter '-e "s/copied $$/copied/g"' \
5b3741e0620fd2baaa974cecc2c2d953bb7d4fbbkenneth_suter '-e "s/copied [0-9]\{1,\}\./copied/g"'
0142bbb7ccb5d0efb942c20f5d27e5ddfb4344fdkenneth_suter# Without this GnuPG's ./configure will complain that we're not using
0142bbb7ccb5d0efb942c20f5d27e5ddfb4344fdkenneth_suter# GNU make. But we are.
5b3741e0620fd2baaa974cecc2c2d953bb7d4fbbkenneth_suterCONFIGURE_OPTIONS += --datadir=$(CONFIGURE_PREFIX)/share
0142bbb7ccb5d0efb942c20f5d27e5ddfb4344fdkenneth_suterCONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
5b3741e0620fd2baaa974cecc2c2d953bb7d4fbbkenneth_suterCONFIGURE_OPTIONS += --with-pinentry-pgm=$(CONFIGURE_PREFIX)/lib/pinentry
5b3741e0620fd2baaa974cecc2c2d953bb7d4fbbkenneth_suterCONFIGURE_OPTIONS += --with-gpg-error-prefix=$(CONFIGURE_PREFIX)
6a67d144095c31bbafed93cec1619590157335eajvergaraCONFIGURE_OPTIONS += --with-libassuan-prefix=$(CONFIGURE_PREFIX)
6a67d144095c31bbafed93cec1619590157335eajvergaraCONFIGURE_OPTIONS += --with-ksba-prefix=$(CONFIGURE_PREFIX)
5b9085a87d43ed3ae0b149a9c79ba57723733185jvergaraCONFIGURE_OPTIONS += --with-pth-prefix=$(CONFIGURE_PREFIX)
c6c8254710feb80354037c2afb8d1cdae930a27akenneth_suterCONFIGURE_OPTIONS += --with-libcurl=$(CONFIGURE_PREFIX)
6a67d144095c31bbafed93cec1619590157335eajvergaraCONFIGURE_OPTIONS += --with-libiconv-prefix=$(CONFIGURE_PREFIX)
6a67d144095c31bbafed93cec1619590157335eajvergaraCONFIGURE_OPTIONS += --with-libintl-prefix=$(CONFIGURE_PREFIX)
6a67d144095c31bbafed93cec1619590157335eajvergaraCONFIGURE_OPTIONS += --with-zlib=$(CONFIGURE_PREFIX)
6a67d144095c31bbafed93cec1619590157335eajvergaraCONFIGURE_OPTIONS += --with-bzip2=$(CONFIGURE_PREFIX)
6a67d144095c31bbafed93cec1619590157335eajvergaraCONFIGURE_OPTIONS += --with-readline=$(CONFIGURE_PREFIX)
6a67d144095c31bbafed93cec1619590157335eajvergaraLIBASSUAN_MANIFEST = manifest-$(MACH)-libassuan.depend
6a67d144095c31bbafed93cec1619590157335eajvergaraPINENTRY_MANIFEST = manifest-$(MACH)-pinentry.depend
a7d59bf59f3b588e70b86d920e0ab271496f4f06kenneth_suter# Work around pkgdepend bug which doesn't resolve dependencies from
5b3741e0620fd2baaa974cecc2c2d953bb7d4fbbkenneth_suter# the local workspace repo. Fortunately we only have to do this once.
6a67d144095c31bbafed93cec1619590157335eajvergaraDEPENDED += $(WS_TOP)/components/libksba/build/$(LIBKSBA_MANIFEST)
6a67d144095c31bbafed93cec1619590157335eajvergaraDEPENDED += $(WS_TOP)/components/libassuan/build/$(LIBASSUAN_MANIFEST)
6a67d144095c31bbafed93cec1619590157335eajvergaraDEPENDED += $(WS_TOP)/components/gpgme/build/$(GPGME_MANIFEST)
6a67d144095c31bbafed93cec1619590157335eajvergaraDEPENDED += $(WS_TOP)/components/pinentry/build/$(PINENTRY_MANIFEST)