Makefile revision 6402
3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullen# CDDL HEADER START
3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullen# The contents of this file are subject to the terms of the
3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullen# Common Development and Distribution License (the "License").
3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullen# You may not use this file except in compliance with the License.
3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullen# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullen# See the License for the specific language governing permissions
3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullen# and limitations under the License.
3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullen# When distributing Covered Code, include this CDDL HEADER in each
3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullen# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullen# If applicable, add the following below this CDDL HEADER, with the
3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullen# fields enclosed by brackets "[]" replaced with your own identifying
3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullen# information: Portions Copyright [yyyy] [name of copyright owner]
3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullen# CDDL HEADER END
3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullen# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
3ee87bca47e74aa2719352485b80973ca6e079b7Julian PullenCOMPONENT_PROJECT_URL= http://www.pythonware.com/products/pil/
3ee87bca47e74aa2719352485b80973ca6e079b7Julian PullenCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullen sha256:895bc7c2498c8e1f9b99938f1a40dc86b3f149741f105cf7c7bd2e0725405211
3ee87bca47e74aa2719352485b80973ca6e079b7Julian PullenCOMPONENT_ARCHIVE_URL= http://effbot.org/downloads/$(COMPONENT_ARCHIVE)
3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullen# Syntax issues: not Python 3 ready.
3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullen# This binary image file accompanies the test which is created along with a fix
3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullen if [ ! -e $(SOURCE_DIR)/Images/png_decompression_dos.png ]; then \
3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullen $(SOURCE_DIR)/Images/png_decompression_dos.png ; \
3ee87bca47e74aa2719352485b80973ca6e079b7Julian PullenCOMPONENT_TEST_ENV= PYTHONPATH=$(PROTO_DIR)$(PYTHON_VENDOR_PACKAGES.32)
3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullen# Master test results are the same for both 32-bit and 64-bit,
3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullen# for all versions of Python, so override
3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullen# here, rather than create multiple identical master files.
3ee87bca47e74aa2719352485b80973ca6e079b7Julian PullenCOMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullen '-e "s|^PIL [0-9]\{1,\}\(\.[0-9]\{1,\}\)\{1,\}|PIL|" ' \
3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullen '-e "s|\(^Python modules loaded from \).*|\1|" ' \
3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullen '-e "s|\(^Binary modules loaded from \).*|\1|" '
3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullen# This binary image file accompanies the test which is created along with a fix
3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullen if [ ! -e $(SOURCE_DIR)/Images/png_decompression_dos.png ]; then \
3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullen $(SOURCE_DIR)/Images/png_decompression_dos.png ; \
3ee87bca47e74aa2719352485b80973ca6e079b7Julian PullenCOMPONENT_SYSTEM_TEST_ENV= PYTHONPATH=$(PYTHON_VENDOR_PACKAGES.32)
3ee87bca47e74aa2719352485b80973ca6e079b7Julian Pullen# common targets