Makefile revision 2319
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User# CDDL HEADER START
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User# The contents of this file are subject to the terms of the
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User# Common Development and Distribution License (the "License").
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User# You may not use this file except in compliance with the License.
1ebb25608fa10737ea27abd4e0481707ccd45581Tinderbox User# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1ebb25608fa10737ea27abd4e0481707ccd45581Tinderbox User# See the License for the specific language governing permissions
1ebb25608fa10737ea27abd4e0481707ccd45581Tinderbox User# and limitations under the License.
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# When distributing Covered Code, include this CDDL HEADER in each
cd32f419a8a5432fbb139f56ee73cbf68b9350ccTinderbox User# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
e108f2ec640e1acb54999c0ade58af606149956dTinderbox User# If applicable, add the following below this CDDL HEADER, with the
1ebb25608fa10737ea27abd4e0481707ccd45581Tinderbox User# fields enclosed by brackets "[]" replaced with your own identifying
1ebb25608fa10737ea27abd4e0481707ccd45581Tinderbox User# information: Portions Copyright [yyyy] [name of copyright owner]
1ebb25608fa10737ea27abd4e0481707ccd45581Tinderbox User# CDDL HEADER END
1ebb25608fa10737ea27abd4e0481707ccd45581Tinderbox User# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
1ebb25608fa10737ea27abd4e0481707ccd45581Tinderbox UserCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
1ebb25608fa10737ea27abd4e0481707ccd45581Tinderbox User sha256:437d0ab259854359fc48aa8795af80cff4975e559c111c92c03d0bc91408e251
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox UserCOMPONENT_ARCHIVE_URL= ftp://ftp.gnupg.org/gcrypt/gnupg/$(COMPONENT_ARCHIVE)
1ebb25608fa10737ea27abd4e0481707ccd45581Tinderbox User# Enable C99 mode + -Xc for its additional warnings.
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# -xinline=%auto -- we like inlining where appropriate
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# -xbuiltin=%none -- builtins have been known to be buggy
1ebb25608fa10737ea27abd4e0481707ccd45581Tinderbox User# If we pass -lc, -mt won't link with -lthread
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# (which is what it does by default, and we don't
1ebb25608fa10737ea27abd4e0481707ccd45581Tinderbox User# want that, because we use POSIX threads).
1ebb25608fa10737ea27abd4e0481707ccd45581Tinderbox UserCONFIGURE_OPTIONS += --libexecdir=$(USRBINDIR)
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntCONFIGURE_OPTIONS += --datadir=$(CONFIGURE_PREFIX)/share
1ebb25608fa10737ea27abd4e0481707ccd45581Tinderbox UserCONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
1ebb25608fa10737ea27abd4e0481707ccd45581Tinderbox UserCONFIGURE_OPTIONS += --disable-selinux-support
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox UserCONFIGURE_OPTIONS += --with-pinentry-pgm=$(CONFIGURE_PREFIX)/lib/pinentry
1ebb25608fa10737ea27abd4e0481707ccd45581Tinderbox UserCONFIGURE_OPTIONS += --with-gpg-error-prefix=$(CONFIGURE_PREFIX)
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox UserCONFIGURE_OPTIONS += --with-libassuan-prefix=$(CONFIGURE_PREFIX)
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntCONFIGURE_OPTIONS += --with-ksba-prefix=$(CONFIGURE_PREFIX)
1ebb25608fa10737ea27abd4e0481707ccd45581Tinderbox UserCONFIGURE_OPTIONS += --with-pth-prefix=$(CONFIGURE_PREFIX)
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox UserCONFIGURE_OPTIONS += --with-libcurl=$(CONFIGURE_PREFIX)
1ebb25608fa10737ea27abd4e0481707ccd45581Tinderbox UserCONFIGURE_OPTIONS += --with-libiconv-prefix=$(CONFIGURE_PREFIX)
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox UserCONFIGURE_OPTIONS += --with-libintl-prefix=$(CONFIGURE_PREFIX)
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox UserCONFIGURE_OPTIONS += --with-zlib=$(CONFIGURE_PREFIX)
1e9517ea2156b990be21f44676d3370318eacf17Tinderbox UserCONFIGURE_OPTIONS += --with-bzip2=$(CONFIGURE_PREFIX)
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox UserCONFIGURE_OPTIONS += --with-readline=$(CONFIGURE_PREFIX)
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox UserLIBKSBA_MANIFEST = manifest-$(MACH)-libksba.depend
1ebb25608fa10737ea27abd4e0481707ccd45581Tinderbox UserLIBASSUAN_MANIFEST = manifest-$(MACH)-libassuan.depend
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox UserGPGME_MANIFEST = manifest-$(MACH)-gpgme.depend
1ebb25608fa10737ea27abd4e0481707ccd45581Tinderbox UserPINENTRY_MANIFEST = manifest-$(MACH)-pinentry.depend
1ebb25608fa10737ea27abd4e0481707ccd45581Tinderbox User# Work around pkgdepend bug which doesn't resolve dependencies from
1ebb25608fa10737ea27abd4e0481707ccd45581Tinderbox User# the local workspace repo. Fortunately we only have to do this once.
1ebb25608fa10737ea27abd4e0481707ccd45581Tinderbox UserDEPENDED += $(WS_TOP)/components/libksba/build/$(LIBKSBA_MANIFEST)
1ebb25608fa10737ea27abd4e0481707ccd45581Tinderbox UserDEPENDED += $(WS_TOP)/components/libassuan/build/$(LIBASSUAN_MANIFEST)
e108f2ec640e1acb54999c0ade58af606149956dTinderbox UserDEPENDED += $(WS_TOP)/components/gpgme/build/$(GPGME_MANIFEST)
cd32f419a8a5432fbb139f56ee73cbf68b9350ccTinderbox UserDEPENDED += $(WS_TOP)/components/pinentry/build/$(PINENTRY_MANIFEST)
1ebb25608fa10737ea27abd4e0481707ccd45581Tinderbox UserPKG_PROTO_DIRS += $(WS_TOP)/components/libksba
1ebb25608fa10737ea27abd4e0481707ccd45581Tinderbox UserPKG_PROTO_DIRS += $(WS_TOP)/components/libassuan
e108f2ec640e1acb54999c0ade58af606149956dTinderbox UserPKG_PROTO_DIRS += $(WS_TOP)/components/pinentry
if test -d man8 ; then \
test: $(TEST_32)