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