Makefile revision 3353
278N/A#
278N/A# CDDL HEADER START
1276N/A#
278N/A# The contents of this file are subject to the terms of the
1488N/A# Common Development and Distribution License (the "License").
278N/A# You may not use this file except in compliance with the License.
278N/A#
919N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
919N/A# or http://www.opensolaris.org/os/licensing.
919N/A# See the License for the specific language governing permissions
919N/A# and limitations under the License.
919N/A#
919N/A# When distributing Covered Code, include this CDDL HEADER in each
919N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
919N/A# If applicable, add the following below this CDDL HEADER, with the
919N/A# fields enclosed by brackets "[]" replaced with your own identifying
919N/A# information: Portions Copyright [yyyy] [name of copyright owner]
919N/A#
919N/A# CDDL HEADER END
919N/A#
919N/A
919N/A#
919N/A# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
919N/A#
278N/A
278N/Ainclude ../../make-rules/shared-macros.mk
278N/A
278N/ACOMPONENT_NAME= mpc
493N/ACOMPONENT_VERSION= 0.9
278N/ACOMPONENT_PROJECT_URL= http://www.multiprecision.org/
278N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
1408N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
278N/ACOMPONENT_ARCHIVE_HASH= \
911N/A sha256:fd3efe422f0d454592059e80f2c00d1a2e381bf2beda424c5094abd4deb049ac
1408N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)mpc/download/$(COMPONENT_ARCHIVE)
1408N/ACOMPONENT_BUGDB= utility/mpc
1408N/A
911N/ATPNO= 4706
278N/A
1276N/Ainclude ../../make-rules/prep.mk
278N/Ainclude ../../make-rules/configure.mk
278N/Ainclude ../../make-rules/ips.mk
278N/A
278N/Aexport SHELL
278N/ASHELL=/bin/sh
1451N/A
493N/ACFLAGS += `pkg-config --cflags libmpfr`
1451N/A
1451N/ACONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
969N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
278N/ACONFIGURE_OPTIONS += --disable-static
1489N/A
1489N/Ainclude ../../make-rules/shared-targets.mk
1489N/A
1489N/ACOMPONENT_TEST_DIR = $(BUILD_DIR)/$(MACH$(BITS))/tests
970N/A
970N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
970N/A
970N/A# common targets
970N/Abuild: $(BUILD_32_and_64)
970N/A
970N/A
970N/Ainstall: $(INSTALL_32_and_64)
970N/A
910N/Atest: install $(TEST_32_and_64)
910N/A
278N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
1488N/A
1488N/Ainclude ../../make-rules/depend.mk
1488N/A