Makefile revision 7144
3N/A#
3N/A# CDDL HEADER START
3N/A#
3N/A# The contents of this file are subject to the terms of the
3N/A# Common Development and Distribution License (the "License").
3N/A# You may not use this file except in compliance with the License.
3N/A#
3N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3N/A# or http://www.opensolaris.org/os/licensing.
3N/A# See the License for the specific language governing permissions
3N/A# and limitations under the License.
3N/A#
3N/A# When distributing Covered Code, include this CDDL HEADER in each
3N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3N/A# If applicable, add the following below this CDDL HEADER, with the
3N/A# fields enclosed by brackets "[]" replaced with your own identifying
3N/A# information: Portions Copyright [yyyy] [name of copyright owner]
3N/A#
873N/A# CDDL HEADER END
3N/A#
3N/A
3N/A#
3N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
3N/A#
733N/A
3N/A# parfait is suddenly unhappy with us (21638460)
1182N/Aexport PARFAIT_BUILD=no
3N/ABUILD_BITS= 64
1322N/Ainclude ../../make-rules/shared-macros.mk
1322N/A
1280N/ACOMPONENT_NAME= swig
1322N/ACOMPONENT_VERSION= 3.0.10
583N/ACOMPONENT_PROJECT_URL= http://www.swig.org/
775N/ACOMPONENT_ARCHIVE_HASH= \
1423N/A sha256:2939aae39dec06095462f1b95ce1c958ac80d07b926e48871046d17c0094f44c
583N/ACOMPONENT_ARCHIVE_URL= http://prdownloads.sourceforge.net/swig/$(COMPONENT_ARCHIVE)
583N/A
583N/ATPNO= 30244
1322N/A
583N/Ainclude $(WS_MAKE_RULES)/common.mk
583N/A
775N/APATH=$(SPRO_VROOT)/bin:$(JAVA_HOME)/bin:$(USRBINDIR)
775N/A
583N/A# This is needed because the community provided 'check' target is not viewpath aware
3N/ACOMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
177N/A
1182N/ACONFIGURE_ENV += JAVA_HOME="$(JAVA_HOME)"
1191N/ACONFIGURE_OPTIONS += --with-javaincl="$(JAVA_HOME)/include"
1423N/A
1182N/A# The additional swig specific set of transforms to be applied to the
1322N/A# test results to try to normalize them.
775N/ACOMPONENT_TEST_TRANSFORMS += \
1322N/A '-e "/Entering directory/d" ' \
1322N/A '-e "/Leaving directory/d" '
583N/A
583N/A# The test-suite can be run in a partialcheck mode where just SWIG is
583N/A# executed, that is, the compile, link and running of the testcases is
775N/A# not performed. Note that the partialcheck does not require the target
775N/A# language to be correctly configured and detected. Just execute the
583N/A# languages that we care about and that are known to work.
583N/ACOMPONENT_TEST_TARGETS = \
775N/A partialcheck-guile-test-suite \
1121N/A partialcheck-lua-test-suite \
1121N/A partialcheck-perl5-test-suite \
1322N/A partialcheck-php-test-suite \
1322N/A partialcheck-python-test-suite \
1322N/A partialcheck-ruby-test-suite
1322N/A
775N/AREQUIRED_PACKAGES += library/pcre
775N/AREQUIRED_PACKAGES += library/zlib
775N/AREQUIRED_PACKAGES += system/library/c++-runtime
775N/AREQUIRED_PACKAGES += system/library/gcc/gcc-c++-runtime
775N/AREQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
775N/AREQUIRED_PACKAGES += system/library/math
1330N/A