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