Makefile revision 3817
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz# CDDL HEADER START
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz# The contents of this file are subject to the terms of the
bb25c06cca41ca78e5fb87fbb8e81d55beb18c95jg# Common Development and Distribution License (the "License").
bb25c06cca41ca78e5fb87fbb8e81d55beb18c95jg# You may not use this file except in compliance with the License.
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz# See the License for the specific language governing permissions
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz# and limitations under the License.
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz# When distributing Covered Code, include this CDDL HEADER in each
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz# If applicable, add the following below this CDDL HEADER, with the
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz# fields enclosed by brackets "[]" replaced with your own identifying
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz# information: Portions Copyright [yyyy] [name of copyright owner]
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz# CDDL HEADER END
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz sha256:437d0ab259854359fc48aa8795af80cff4975e559c111c92c03d0bc91408e251
60b08185ce63023f22fd6b2ed0db8c0d119b2023yzCOMPONENT_ARCHIVE_URL= ftp://ftp.gnupg.org/gcrypt/gnupg/$(COMPONENT_ARCHIVE)
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz# Enable C99 mode + -Xc for its additional warnings.
4ebb14b236958cfe1ef4ff3b7a50216d9e51f997frits# -xinline=%auto -- we like inlining where appropriate
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz# -xbuiltin=%none -- builtins have been known to be buggy
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz# If we pass -lc, -mt won't link with -lthread
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz# (which is what it does by default, and we don't
c138f478d2bc94e73ab8f6a084e323bec25e62f5yz# want that, because we use POSIX threads).
4ebb14b236958cfe1ef4ff3b7a50216d9e51f997fritsCONFIGURE_OPTIONS += --with-pinentry-pgm=$(CONFIGURE_PREFIX)/lib/pinentry
60b08185ce63023f22fd6b2ed0db8c0d119b2023yzCONFIGURE_OPTIONS += --with-gpg-error-prefix=$(CONFIGURE_PREFIX)
4ebb14b236958cfe1ef4ff3b7a50216d9e51f997fritsCONFIGURE_OPTIONS += --with-libassuan-prefix=$(CONFIGURE_PREFIX)
4ebb14b236958cfe1ef4ff3b7a50216d9e51f997fritsCONFIGURE_OPTIONS += --with-ksba-prefix=$(CONFIGURE_PREFIX)
60b08185ce63023f22fd6b2ed0db8c0d119b2023yzCONFIGURE_OPTIONS += --with-pth-prefix=$(CONFIGURE_PREFIX)
60b08185ce63023f22fd6b2ed0db8c0d119b2023yzCONFIGURE_OPTIONS += --with-libiconv-prefix=$(CONFIGURE_PREFIX)
60b08185ce63023f22fd6b2ed0db8c0d119b2023yzCONFIGURE_OPTIONS += --with-libintl-prefix=$(CONFIGURE_PREFIX)
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz# Work around pkgdepend bug which doesn't resolve dependencies from
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz# the local workspace repo. Fortunately we only have to do this once.
60b08185ce63023f22fd6b2ed0db8c0d119b2023yzDEPENDED += $(WS_TOP)/components/libksba/build/$(LIBKSBA_MANIFEST)
60b08185ce63023f22fd6b2ed0db8c0d119b2023yzDEPENDED += $(WS_TOP)/components/libassuan/build/$(LIBASSUAN_MANIFEST)
60b08185ce63023f22fd6b2ed0db8c0d119b2023yzDEPENDED += $(WS_TOP)/components/gpgme/build/$(GPGME_MANIFEST)
60b08185ce63023f22fd6b2ed0db8c0d119b2023yzDEPENDED += $(WS_TOP)/components/pinentry/build/$(PINENTRY_MANIFEST)
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz if test -d man8 ; then \
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz if test -f $$f.8 ; then \