Makefile revision 844
203N/A#
203N/A# CDDL HEADER START
203N/A#
203N/A# The contents of this file are subject to the terms of the
203N/A# Common Development and Distribution License (the "License").
203N/A# You may not use this file except in compliance with the License.
203N/A#
203N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
203N/A# or http://www.opensolaris.org/os/licensing.
203N/A# See the License for the specific language governing permissions
203N/A# and limitations under the License.
203N/A#
203N/A# When distributing Covered Code, include this CDDL HEADER in each
203N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
203N/A# If applicable, add the following below this CDDL HEADER, with the
203N/A# fields enclosed by brackets "[]" replaced with your own identifying
203N/A# information: Portions Copyright [yyyy] [name of copyright owner]
203N/A#
203N/A# CDDL HEADER END
203N/A#
813N/A# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
203N/A#
203N/Ainclude ../../make-rules/shared-macros.mk
203N/A
203N/ACOMPONENT_NAME= libksba
203N/ACOMPONENT_VERSION= 1.1.0
618N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
203N/ACOMPONENT_PROJECT_URL= http://www.gnupg.org/related_software/libksba/
203N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
844N/ACOMPONENT_ARCHIVE_HASH= \
844N/A sha256:d8eb845d7272d23a00d4da6dc65f108ded6a977f32abf4488a075335433769f7
203N/ACOMPONENT_ARCHIVE_URL= ftp://ftp.gnupg.org/gcrypt/libksba/$(COMPONENT_ARCHIVE)
203N/A
278N/Ainclude ../../make-rules/prep.mk
278N/Ainclude ../../make-rules/configure.mk
203N/Ainclude ../../make-rules/ips.mk
203N/A
203N/A# Enable C99 mode + -Xc for its additional warnings.
203N/Astudio_C99MODE = -Xc $(studio_C99_ENABLE)
203N/A
203N/A# -xinline=%auto -- we like inlining where appropriate
206N/ACFLAGS += -xinline=%auto
203N/A
203N/A# -xbuiltin=%none -- builtins have been known to be buggy
203N/ACFLAGS += -xbuiltin=%none
203N/A
203N/ACFLAGS += $(CPP_LARGEFILES)
203N/ACFLAGS += $(XPG6MODE)
203N/ACFLAGS += $(CPP_POSIX)
203N/ACFLAGS += $(CPP_C99_EXTENDED_MATH)
203N/ACFLAGS += $(studio_PIC)
203N/A
203N/ACONFIGURE_ENV += CFLAGS="$(CFLAGS)"
203N/ACONFIGURE_ENV += INSTALL="$(INSTALL)"
203N/A
203N/ACONFIGURE_OPTIONS += --localstatedir=/var
203N/ACONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
203N/ACONFIGURE_OPTIONS += --enable-shared
203N/ACONFIGURE_OPTIONS += --disable-static
203N/ACONFIGURE_OPTIONS += --with-gpg-error-prefix=$(CONFIGURE_PREFIX)
203N/ACONFIGURE_OPTIONS += --with-pic
203N/A
203N/Abuild: $(BUILD_32_and_64)
203N/A
203N/Ainstall: $(INSTALL_32_and_64)
203N/A
203N/Atest: $(TEST_32_and_64)
203N/A
813N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
206N/A
203N/Ainclude ../../make-rules/depend.mk
203N/A
203N/A