Makefile revision 6901
34841cc2abc43146ada78560d5f179be666acbdaYu Wu - Sun Microsystems - Beijing China# The contents of this file are subject to the terms of the
34841cc2abc43146ada78560d5f179be666acbdaYu Wu - Sun Microsystems - Beijing China# Common Development and Distribution License (the "License").
34841cc2abc43146ada78560d5f179be666acbdaYu Wu - Sun Microsystems - Beijing China# You may not use this file except in compliance with the License.
34841cc2abc43146ada78560d5f179be666acbdaYu Wu - Sun Microsystems - Beijing China# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
34841cc2abc43146ada78560d5f179be666acbdaYu Wu - Sun Microsystems - Beijing China# or http://www.opensolaris.org/os/licensing.
34841cc2abc43146ada78560d5f179be666acbdaYu Wu - Sun Microsystems - Beijing China# See the License for the specific language governing permissions
34841cc2abc43146ada78560d5f179be666acbdaYu Wu - Sun Microsystems - Beijing China# and limitations under the License.
34841cc2abc43146ada78560d5f179be666acbdaYu Wu - Sun Microsystems - Beijing China# When distributing Covered Code, include this CDDL HEADER in each
34841cc2abc43146ada78560d5f179be666acbdaYu Wu - Sun Microsystems - Beijing China# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
34841cc2abc43146ada78560d5f179be666acbdaYu Wu - Sun Microsystems - Beijing China# If applicable, add the following below this CDDL HEADER, with the
34841cc2abc43146ada78560d5f179be666acbdaYu Wu - Sun Microsystems - Beijing China# fields enclosed by brackets "[]" replaced with your own identifying
34841cc2abc43146ada78560d5f179be666acbdaYu Wu - Sun Microsystems - Beijing China# information: Portions Copyright [yyyy] [name of copyright owner]
34841cc2abc43146ada78560d5f179be666acbdaYu Wu - Sun Microsystems - Beijing China# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
34841cc2abc43146ada78560d5f179be666acbdaYu Wu - Sun Microsystems - Beijing Chinainclude ../../../make-rules/shared-macros.mk
34841cc2abc43146ada78560d5f179be666acbdaYu Wu - Sun Microsystems - Beijing ChinaCOMPONENT_NAME= Python
34841cc2abc43146ada78560d5f179be666acbdaYu Wu - Sun Microsystems - Beijing ChinaCOMPONENT_VERSION= 3.5.2
34841cc2abc43146ada78560d5f179be666acbdaYu Wu - Sun Microsystems - Beijing ChinaCOMPONENT_PROJECT_URL= http://python.org/
34841cc2abc43146ada78560d5f179be666acbdaYu Wu - Sun Microsystems - Beijing ChinaCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
34841cc2abc43146ada78560d5f179be666acbdaYu Wu - Sun Microsystems - Beijing ChinaCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
34841cc2abc43146ada78560d5f179be666acbdaYu Wu - Sun Microsystems - Beijing ChinaCOMPONENT_ARCHIVE_HASH= \
34841cc2abc43146ada78560d5f179be666acbdaYu Wu - Sun Microsystems - Beijing China sha256:0010f56100b9b74259ebcd5d4b295a32324b58b517403a10d1a2aa7cb22bca40
34841cc2abc43146ada78560d5f179be666acbdaYu Wu - Sun Microsystems - Beijing ChinaCOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)ftp/python/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
34841cc2abc43146ada78560d5f179be666acbdaYu Wu - Sun Microsystems - Beijing ChinaCOMPONENT_SIG_URL= $(COMPONENT_ARCHIVE_URL).asc
34841cc2abc43146ada78560d5f179be666acbdaYu Wu - Sun Microsystems - Beijing ChinaCOMPONENT_BUGDB= utility/python
34841cc2abc43146ada78560d5f179be666acbdaYu Wu - Sun Microsystems - Beijing Chinainclude $(WS_MAKE_RULES)/prep.mk
34841cc2abc43146ada78560d5f179be666acbdaYu Wu - Sun Microsystems - Beijing Chinainclude $(WS_MAKE_RULES)/configure.mk
34841cc2abc43146ada78560d5f179be666acbdaYu Wu - Sun Microsystems - Beijing Chinainclude $(WS_MAKE_RULES)/ips.mk
ENV += -i
COMPONENT_INSTALL_ARGS += -e
# Strip build machine paths from _sysconfigdata.py & config/Makefile,
# then (re)compile _sysconfigdata.py since we just updated it.
COMPONENT_TEST_TRANSFORMS = "'/tests OK./ {results = 1}; /Re-running failed tests in verbose mode/ {results = 0} {if (results) print $0 } '"
test: $(TEST_64)