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