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