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