Makefile revision 4780
885f47576842cf3c569315b9a48bd9f0ca03f203Automatic Updater# CDDL HEADER START
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updater# The contents of this file are subject to the terms of the
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updater# Common Development and Distribution License (the "License").
2bb3422dc683c013db7042f5736240de6b86f182Automatic Updater# You may not use this file except in compliance with the License.
75b70a68aefaa17ac4e768d5ed85d2f50d471490Automatic Updater# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updater# or http://www.opensolaris.org/os/licensing.
ea854b585041ad19f70f7af15e08144ef2c2bd1bMark Andrews# See the License for the specific language governing permissions
78cb74fab4665da2e2641ba909c6f59f74cc4193Automatic Updater# and limitations under the License.
90ff38a0d8deaf5f9c2aa5916d99b2e572d28738Automatic Updater# When distributing Covered Code, include this CDDL HEADER in each
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
ac4e70ff8955669341f435bc0a734a17c01af124Mark Andrews# If applicable, add the following below this CDDL HEADER, with the
6c6a121295b30772cbf3dd75a51fb9d883051a0eAutomatic Updater# fields enclosed by brackets "[]" replaced with your own identifying
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# information: Portions Copyright [yyyy] [name of copyright owner]
bc0a53583d92309bebcf93c408e2f3247ebd3d3cAutomatic Updater# CDDL HEADER END
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# parfait is suddenly unhappy with us (21638460)
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic UpdaterCOMPONENT_PROJECT_URL= http://www.swig.org/
91216cff91b34c9ff6e846dc23f248219cafe660Andreas GustafssonCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson sha256:9f4cb9e8f213f041853646f58fe5e8428d63250d05f5c943b6fa759c77322a3c
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic UpdaterCOMPONENT_ARCHIVE_URL= http://downloads.sourceforge.net/project/swig/swig/$(COMPONENT_SRC)/$(COMPONENT_ARCHIVE)
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterPATH=$(SPRO_VROOT)/bin:$(JAVA_HOME)/bin:/usr/bin
2d2dc37599979c83495510f8af8d1756753aa2c5Automatic Updater# This is needed because the community provided 'check' target is not viewpath aware
2d2dc37599979c83495510f8af8d1756753aa2c5Automatic UpdaterCOMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterCONFIGURE_OPTIONS += CXXFLAGS="$(CXXFLAGS)"
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterCONFIGURE_OPTIONS += --with-javaincl="$(JAVA_HOME)/include"
cdfc81e048bd34c1d628380247bda6b80a89e20eAutomatic Updater# The additional swig specific set of transforms to be applied to the
cdfc81e048bd34c1d628380247bda6b80a89e20eAutomatic Updater# test results to try to normalize them.
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater '-e "/Entering directory/d" ' \
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater '-e "/Leaving directory/d" '
eabc9c3c07cd956d3c436bd7614cb162dabdda76Mark Andrews# The test-suite can be run in a partialcheck mode where just SWIG is
eabc9c3c07cd956d3c436bd7614cb162dabdda76Mark Andrews# executed, that is, the compile, link and running of the testcases is
eabc9c3c07cd956d3c436bd7614cb162dabdda76Mark Andrews# not performed. Note that the partialcheck does not require the target
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# language to be correctly configured and detected. Just execute the
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic Updater# languages that we care about and that are known to work.