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