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