Makefile revision 372
01d27eab5fca2dcb8e883011f8be77ae6b78a11cTed Gould#
01d27eab5fca2dcb8e883011f8be77ae6b78a11cTed Gould# CDDL HEADER START
01d27eab5fca2dcb8e883011f8be77ae6b78a11cTed Gould#
6e16a663ee96cd1329e48518138efb415046d9f6mcecchetti# The contents of this file are subject to the terms of the
6e16a663ee96cd1329e48518138efb415046d9f6mcecchetti# Common Development and Distribution License (the "License").
6e16a663ee96cd1329e48518138efb415046d9f6mcecchetti# You may not use this file except in compliance with the License.
6e16a663ee96cd1329e48518138efb415046d9f6mcecchetti#
6e16a663ee96cd1329e48518138efb415046d9f6mcecchetti# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6e16a663ee96cd1329e48518138efb415046d9f6mcecchetti# or http://www.opensolaris.org/os/licensing.
6e16a663ee96cd1329e48518138efb415046d9f6mcecchetti# See the License for the specific language governing permissions
6e16a663ee96cd1329e48518138efb415046d9f6mcecchetti# and limitations under the License.
6e16a663ee96cd1329e48518138efb415046d9f6mcecchetti#
6e16a663ee96cd1329e48518138efb415046d9f6mcecchetti# When distributing Covered Code, include this CDDL HEADER in each
6e16a663ee96cd1329e48518138efb415046d9f6mcecchetti# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6e16a663ee96cd1329e48518138efb415046d9f6mcecchetti# If applicable, add the following below this CDDL HEADER, with the
6e16a663ee96cd1329e48518138efb415046d9f6mcecchetti# fields enclosed by brackets "[]" replaced with your own identifying
6e16a663ee96cd1329e48518138efb415046d9f6mcecchetti# information: Portions Copyright [yyyy] [name of copyright owner]
6e16a663ee96cd1329e48518138efb415046d9f6mcecchetti#
6e16a663ee96cd1329e48518138efb415046d9f6mcecchetti# CDDL HEADER END
6e16a663ee96cd1329e48518138efb415046d9f6mcecchetti#
6e16a663ee96cd1329e48518138efb415046d9f6mcecchetti# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
6e16a663ee96cd1329e48518138efb415046d9f6mcecchetti#
6e16a663ee96cd1329e48518138efb415046d9f6mcecchettiinclude ../../make-rules/shared-macros.mk
6e16a663ee96cd1329e48518138efb415046d9f6mcecchetti
6e16a663ee96cd1329e48518138efb415046d9f6mcecchettiCOMPONENT_NAME= guile
6e16a663ee96cd1329e48518138efb415046d9f6mcecchettiCOMPONENT_VERSION= 1.8.4
6e16a663ee96cd1329e48518138efb415046d9f6mcecchettiCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
6e16a663ee96cd1329e48518138efb415046d9f6mcecchettiCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
6e16a663ee96cd1329e48518138efb415046d9f6mcecchettiCOMPONENT_ARCHIVE_HASH= sha1:1e80fe242acfde2bfa39fd1e8409a8f010e24e2b
6e16a663ee96cd1329e48518138efb415046d9f6mcecchettiCOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/pub/gnu/guile/$(COMPONENT_ARCHIVE)
6e16a663ee96cd1329e48518138efb415046d9f6mcecchetti
6e16a663ee96cd1329e48518138efb415046d9f6mcecchettiinclude ../../make-rules/prep.mk
6e16a663ee96cd1329e48518138efb415046d9f6mcecchettiinclude ../../make-rules/configure.mk
6e16a663ee96cd1329e48518138efb415046d9f6mcecchettiinclude ../../make-rules/ips.mk
6e16a663ee96cd1329e48518138efb415046d9f6mcecchetti
6e16a663ee96cd1329e48518138efb415046d9f6mcecchetti# Built in SFW with gcc and builds cleanly now only with gcc
6e16a663ee96cd1329e48518138efb415046d9f6mcecchettiCOMPILER = gcc
6e16a663ee96cd1329e48518138efb415046d9f6mcecchettiCONFIGURE_OPTIONS += CPPFLAGS="-I/usr/include/gmp -D__USE_LEGACY_PROTOTYPES__"
6e16a663ee96cd1329e48518138efb415046d9f6mcecchettiCONFIGURE_OPTIONS += --disable-static
6e16a663ee96cd1329e48518138efb415046d9f6mcecchettiCONFIGURE_OPTIONS += --disable-error-on-warning
6e16a663ee96cd1329e48518138efb415046d9f6mcecchettiCONFIGURE_OPTIONS += ac_cv_type_complex_double=no
8001ba81cb851b38d86650a2fef5817facffb763johanengelenCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
8001ba81cb851b38d86650a2fef5817facffb763johanengelen
8001ba81cb851b38d86650a2fef5817facffb763johanengelen# common targets
8001ba81cb851b38d86650a2fef5817facffb763johanengelenbuild: $(BUILD_32_and_64)
6e16a663ee96cd1329e48518138efb415046d9f6mcecchetti
6e16a663ee96cd1329e48518138efb415046d9f6mcecchettiinstall: $(INSTALL_32_and_64)
6e16a663ee96cd1329e48518138efb415046d9f6mcecchetti
6e16a663ee96cd1329e48518138efb415046d9f6mcecchettitest: $(TEST_32_and_64)
6e16a663ee96cd1329e48518138efb415046d9f6mcecchetti
6e16a663ee96cd1329e48518138efb415046d9f6mcecchettiBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
6e16a663ee96cd1329e48518138efb415046d9f6mcecchetti
6e16a663ee96cd1329e48518138efb415046d9f6mcecchettiinclude ../../make-rules/depend.mk
6e16a663ee96cd1329e48518138efb415046d9f6mcecchetti