Makefile revision 911
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater#
49644c0c8f98a45063c600ae90632bf2b91c4c37Automatic Updater# CDDL HEADER START
a8d090b3625c57bddfb815ad0fd987e265e8e1f8Automatic Updater#
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater# The contents of this file are subject to the terms of the
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater# Common Development and Distribution License (the "License").
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater# You may not use this file except in compliance with the License.
a8d090b3625c57bddfb815ad0fd987e265e8e1f8Automatic Updater#
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater# or http://www.opensolaris.org/os/licensing.
a8d090b3625c57bddfb815ad0fd987e265e8e1f8Automatic Updater# See the License for the specific language governing permissions
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater# and limitations under the License.
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater#
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater# When distributing Covered Code, include this CDDL HEADER in each
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater# If applicable, add the following below this CDDL HEADER, with the
a8d090b3625c57bddfb815ad0fd987e265e8e1f8Automatic Updater# fields enclosed by brackets "[]" replaced with your own identifying
49644c0c8f98a45063c600ae90632bf2b91c4c37Automatic Updater# information: Portions Copyright [yyyy] [name of copyright owner]
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater#
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater# CDDL HEADER END
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater#
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater#
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater#
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updaterinclude ../../make-rules/shared-macros.mk
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic UpdaterCOMPONENT_NAME= mpc
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic UpdaterCOMPONENT_VERSION= 0.9
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic UpdaterCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic UpdaterCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic UpdaterCOMPONENT_ARCHIVE_HASH= sha1:229722d553030734d49731844abfef7617b64f1a
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic UpdaterCOMPONENT_ARCHIVE_URL= http://www.multiprecision.org/mpc/download/$(COMPONENT_ARCHIVE)
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updaterinclude ../../make-rules/prep.mk
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updaterinclude ../../make-rules/configure.mk
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updaterinclude ../../make-rules/ips.mk
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updaterexport SHELL
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic UpdaterSHELL=/bin/sh
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic UpdaterCFLAGS += `pkg-config --cflags libmpfr`
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic UpdaterCONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic UpdaterCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic UpdaterCONFIGURE_OPTIONS += --disable-static
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updaterinclude ../../make-rules/shared-targets.mk
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater# common targets
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updaterbuild: $(BUILD_32_and_64)
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater
fdd80e9a55c70b36a3bf3e409b86897301c44ff8Automatic Updater
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updaterinstall: $(INSTALL_32_and_64)
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updatertest: install
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater @cd $(BUILD_DIR_32)/tests; $(MAKE) check
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater @cd $(BUILD_DIR_64)/tests; $(MAKE) check
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic UpdaterBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updaterinclude ../../make-rules/depend.mk
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater