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