Makefile revision 3817
434N/A#
434N/A# CDDL HEADER START
434N/A#
434N/A# The contents of this file are subject to the terms of the
434N/A# Common Development and Distribution License (the "License").
434N/A# You may not use this file except in compliance with the License.
434N/A#
434N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
434N/A# or http://www.opensolaris.org/os/licensing.
434N/A# See the License for the specific language governing permissions
434N/A# and limitations under the License.
434N/A#
434N/A# When distributing Covered Code, include this CDDL HEADER in each
434N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
434N/A# If applicable, add the following below this CDDL HEADER, with the
434N/A# fields enclosed by brackets "[]" replaced with your own identifying
434N/A# information: Portions Copyright [yyyy] [name of copyright owner]
434N/A#
434N/A# CDDL HEADER END
434N/A#
434N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
434N/A#
1244N/A
434N/A# Built in SFW with gcc and builds cleanly now only with gcc
434N/ACOMPILER = gcc
434N/A
434N/Ainclude ../../make-rules/shared-macros.mk
434N/A
1244N/ACOMPONENT_NAME= guile
434N/ACOMPONENT_VERSION= 1.8.6
434N/ACOMPONENT_PROJECT_URL= http://www.gnu.org/software/guile/
434N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
434N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
434N/ACOMPONENT_ARCHIVE_HASH= \
434N/A sha256:69a2f9491480ff756d1cc4c8ea2bdc13d40ea8ddc8f93f26957bade8219a1d86
434N/ACOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/pub/gnu/guile/$(COMPONENT_ARCHIVE)
434N/ACOMPONENT_BUGDB= utility/guile
434N/A
434N/ATPNO= 8939
434N/A
434N/Ainclude $(WS_MAKE_RULES)/prep.mk
434N/Ainclude $(WS_MAKE_RULES)/configure.mk
434N/Ainclude $(WS_MAKE_RULES)/ips.mk
434N/A
434N/ACONFIGURE_OPTIONS += CPPFLAGS="-I/usr/include/gmp -D__USE_LEGACY_PROTOTYPES__"
434N/ACONFIGURE_OPTIONS += --disable-static
434N/ACONFIGURE_OPTIONS += --disable-error-on-warning
434N/ACONFIGURE_OPTIONS += ac_cv_type_complex_double=no
434N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
434N/A
434N/A# Master test results are the same for 32-bit and 64-bit, so override
434N/A# here, rather than create multiple identical master files.
434N/ACOMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
434N/A
434N/A# The additional guile specific set of transforms to be applied to the
434N/A# test results to try to normalize them.
COMPONENT_TEST_TRANSFORMS += \
'-e "s|\(^$(GCC_ROOT)/bin/gcc\).*|\\$$(GCC_ROOT)/bin/gcc|" ' \
'-e "s|\(^/bin/bash ../../libtool\).*|\1|" ' \
'-e "s|\(^libtool: link:\).*|\1|" ' \
'-e "/^WARNING:/d" '
ASLR_MODE = $(ASLR_ENABLE)
# common targets
configure: $(CONFIGURE_32_and_64)
build: $(BUILD_32_and_64)
install: $(INSTALL_32_and_64)
test: $(TEST_32_and_64)
REQUIRED_PACKAGES += library/gmp
REQUIRED_PACKAGES += library/libtool/libltdl
REQUIRED_PACKAGES += library/ncurses
REQUIRED_PACKAGES += library/readline
REQUIRED_PACKAGES += shell/ksh93
REQUIRED_PACKAGES += system/library
REQUIRED_PACKAGES += system/library/gcc-3-runtime
REQUIRED_PACKAGES += system/library/gcc-45-runtime
REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
REQUIRED_PACKAGES += system/library/math