17380N/A#
17380N/A# CDDL HEADER START
17380N/A#
17380N/A# The contents of this file are subject to the terms of the
17380N/A# Common Development and Distribution License (the "License").
17380N/A# You may not use this file except in compliance with the License.
17380N/A#
17380N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
17380N/A# or http://www.opensolaris.org/os/licensing.
17380N/A# See the License for the specific language governing permissions
17380N/A# and limitations under the License.
17380N/A#
17380N/A# When distributing Covered Code, include this CDDL HEADER in each
17380N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
17380N/A# If applicable, add the following below this CDDL HEADER, with the
17380N/A# fields enclosed by brackets "[]" replaced with your own identifying
17380N/A# information: Portions Copyright [yyyy] [name of copyright owner]
17380N/A#
17380N/A# CDDL HEADER END
17380N/A#
17380N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
17380N/A#
17380N/Ainclude ../../make-rules/shared-macros.mk
17380N/A
17380N/ACOMPONENT_NAME= swig
17380N/ACOMPONENT_VERSION= 1.3.35
17380N/ACOMPONENT_PROJECT_URL= http://www.swig.org/
17380N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
17380N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
17380N/ACOMPONENT_ARCHIVE_HASH= \
17380N/A sha256:2b03c44c8802e16ff4a493dd486de23c027fd5a46dedb08bf7561171b16cd084
17380N/ACOMPONENT_ARCHIVE_URL= http://iweb.dl.sourceforge.net/project/swig/swig/swig-1.3.35/$(COMPONENT_ARCHIVE)
17380N/ACOMPONENT_BUGDB= utility/swig
17380N/A
17380N/ATPNO= 9031
17380N/A
17380N/Ainclude $(WS_MAKE_RULES)/prep.mk
17380N/Ainclude $(WS_MAKE_RULES)/configure.mk
17380N/Ainclude $(WS_MAKE_RULES)/ips.mk
17380N/A
17380N/APATH=$(SPRO_VROOT)/bin:$(JAVA_HOME)/bin:/usr/bin
17380N/A
17380N/A# This is needed because the community provided 'check' target is not viewpath aware
17380N/ACOMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
17380N/A
17380N/ACONFIGURE_ENV += JAVA_HOME="$(JAVA_HOME)"
17380N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
17380N/ACONFIGURE_OPTIONS += CXXFLAGS="$(CXXFLAGS)"
17380N/ACONFIGURE_OPTIONS += --with-javaincl="$(JAVA_HOME)/include"
17380N/A
17380N/A# common targets
17380N/Abuild: $(BUILD_32)
17380N/A
17380N/Ainstall: $(INSTALL_32)
17380N/A
17380N/A# Fails due to deprecated OCAML example and boost library problems
17380N/Atest: $(TEST_32)
17380N/A
17380N/A
17380N/AREQUIRED_PACKAGES += library/pcre
17380N/AREQUIRED_PACKAGES += library/zlib
17380N/AREQUIRED_PACKAGES += system/library
17380N/AREQUIRED_PACKAGES += system/library/c++-runtime
17380N/AREQUIRED_PACKAGES += system/library/math
17380N/AREQUIRED_PACKAGES += system/linker
17380N/A