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