Makefile revision 3661
70N/A#
70N/A# CDDL HEADER START
729N/A#
729N/A# The contents of this file are subject to the terms of the
70N/A# Common Development and Distribution License (the "License").
70N/A# You may not use this file except in compliance with the License.
70N/A#
70N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
70N/A# or http://www.opensolaris.org/os/licensing.
70N/A# See the License for the specific language governing permissions
70N/A# and limitations under the License.
70N/A#
70N/A# When distributing Covered Code, include this CDDL HEADER in each
70N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
70N/A# If applicable, add the following below this CDDL HEADER, with the
70N/A# fields enclosed by brackets "[]" replaced with your own identifying
70N/A# information: Portions Copyright [yyyy] [name of copyright owner]
70N/A#
70N/A# CDDL HEADER END
70N/A#
70N/A# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
70N/A#
70N/Ainclude ../../make-rules/shared-macros.mk
70N/A
70N/ACOMPONENT_NAME= swig
70N/ACOMPONENT_VERSION= 1.3.35
70N/ACOMPONENT_PROJECT_URL= http://www.swig.org/
70N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
70N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
70N/ACOMPONENT_ARCHIVE_HASH= \
851N/A sha256:2b03c44c8802e16ff4a493dd486de23c027fd5a46dedb08bf7561171b16cd084
70N/ACOMPONENT_ARCHIVE_URL= http://iweb.dl.sourceforge.net/project/swig/swig/swig-1.3.35/$(COMPONENT_ARCHIVE)
70N/ACOMPONENT_BUGDB= utility/swig
70N/A
851N/ATPNO= 9031
851N/A
851N/Ainclude ../../make-rules/prep.mk
851N/Ainclude ../../make-rules/configure.mk
851N/Ainclude ../../make-rules/ips.mk
98N/A
551N/APATH=$(SPRO_VROOT)/bin:$(JAVA_HOME)/bin:/usr/bin
321N/A
321N/A# This is needed because the community provided 'check' target is not viewpath aware
550N/ACOMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
550N/A
213N/ACONFIGURE_ENV += JAVA_HOME="$(JAVA_HOME)"
649N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
304N/ACONFIGURE_OPTIONS += CXXFLAGS="$(CXXFLAGS)"
530N/ACONFIGURE_OPTIONS += --with-javaincl="$(JAVA_HOME)/include"
425N/A# keep swig building with ruby 1.8 for now
425N/ACONFIGURE_OPTIONS += --with-ruby=$(RUBY.1.8)
325N/A
493N/A# common targets
536N/Abuild: $(BUILD_32)
456N/A
320N/Ainstall: $(INSTALL_32)
332N/A
501N/A# Fails due to deprecated OCAML example and boost library problems
231N/Atest: $(TEST_32)
550N/A
347N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
532N/A
525N/Ainclude ../../make-rules/depend.mk
463N/A