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