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