Makefile revision 4094
1333N/A#
1333N/A# CDDL HEADER START
1333N/A#
1333N/A# The contents of this file are subject to the terms of the
1333N/A# Common Development and Distribution License (the "License").
1333N/A# You may not use this file except in compliance with the License.
1333N/A#
1333N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1333N/A# or http://www.opensolaris.org/os/licensing.
1333N/A# See the License for the specific language governing permissions
1333N/A# and limitations under the License.
1333N/A#
1333N/A# When distributing Covered Code, include this CDDL HEADER in each
1333N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1333N/A# If applicable, add the following below this CDDL HEADER, with the
1333N/A# fields enclosed by brackets "[]" replaced with your own identifying
1333N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1333N/A#
1333N/A# CDDL HEADER END
1333N/A#
1333N/A
1333N/A#
3817N/A# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
1333N/A#
1333N/A
1333N/Ainclude ../../../make-rules/shared-macros.mk
1333N/A
1333N/ACOMPONENT_NAME= Imaging
1333N/ACOMPONENT_VERSION= 1.1.7
1333N/ACOMPONENT_PROJECT_URL= http://www.pythonware.com/products/pil/
1333N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
1333N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
1333N/ACOMPONENT_ARCHIVE_HASH= \
1333N/A sha256:895bc7c2498c8e1f9b99938f1a40dc86b3f149741f105cf7c7bd2e0725405211
1333N/ACOMPONENT_ARCHIVE_URL= http://effbot.org/downloads/$(COMPONENT_ARCHIVE)
1333N/ACOMPONENT_BUGDB= python-mod/pil
1333N/A
2899N/ATPNO= 7909
2899N/A
2818N/A# Syntax issues: not Python 3 ready.
2818N/APYTHON_VERSIONS = 2.7 2.6
2818N/A
3817N/Ainclude $(WS_MAKE_RULES)/prep.mk
3817N/Ainclude $(WS_MAKE_RULES)/setup.py.mk
3817N/Ainclude $(WS_MAKE_RULES)/ips.mk
1333N/A
1699N/ATEST_PYTHONPATH.32 = $(PROTO_DIR)/usr/lib/python$(PYTHON_VERSION)/vendor-packages/PIL
1699N/ATEST_PYTHONPATH.64 = $(PROTO_DIR)/usr/lib/python$(PYTHON_VERSION)/vendor-packages/PIL:$(PROTO_DIR)/usr/lib/python$(PYTHON_VERSION)/vendor-packages/PIL/64
1699N/A
1699N/ACOMPONENT_TEST_DIR= $(COMPONENT_SRC)
1699N/ACOMPONENT_TEST_ARGS= ./selftest.py
1699N/ACOMPONENT_TEST_ENV= PYTHONPATH=$(TEST_PYTHONPATH.$(BITS))
1699N/A
4094N/A# Master test results are the same for both 32-bit and 64-bit,
4094N/A# for all versions of Python, so override
4094N/A# here, rather than create multiple identical master files.
4094N/ACOMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
4094N/A
4094N/ACOMPONENT_TEST_TRANSFORMS += \
4094N/A '-e "s|\(^Binary modules loaded from \).*|\1|" '
4094N/A
1938N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
1699N/A
2790N/A# common targets
2790N/Abuild: $(BUILD_32_and_64)
1333N/A
2790N/Ainstall: $(INSTALL_32_and_64)
1333N/A
2790N/Atest: $(TEST_32_and_64)
2790N/A
1333N/A
3817N/AREQUIRED_PACKAGES += image/library/libjpeg
3817N/AREQUIRED_PACKAGES += library/zlib
3817N/AREQUIRED_PACKAGES += runtime/tcl-8
3817N/AREQUIRED_PACKAGES += runtime/tk-8
3817N/AREQUIRED_PACKAGES += system/library
3817N/AREQUIRED_PACKAGES += system/library/freetype-2