Makefile revision 2035
2149N/A#
2149N/A# CDDL HEADER START
2149N/A#
2149N/A# The contents of this file are subject to the terms of the
2149N/A# Common Development and Distribution License (the "License").
2149N/A# You may not use this file except in compliance with the License.
2149N/A#
2149N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2149N/A# or http://www.opensolaris.org/os/licensing.
2149N/A# See the License for the specific language governing permissions
2149N/A# and limitations under the License.
2149N/A#
2149N/A# When distributing Covered Code, include this CDDL HEADER in each
2149N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2149N/A# If applicable, add the following below this CDDL HEADER, with the
2149N/A# fields enclosed by brackets "[]" replaced with your own identifying
2149N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2149N/A#
2149N/A# CDDL HEADER END
2149N/A#
2149N/A# Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
2149N/A#
2149N/Ainclude ../../../make-rules/shared-macros.mk
2149N/A
2149N/ACOMPONENT_NAME= MarkupSafe
2149N/ACOMPONENT_VERSION= 0.18
2149N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
2149N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
2149N/ACOMPONENT_ARCHIVE_HASH= \
2149N/A sha256:b7d5d688bdd345bfa897777d297756688cf02e1b3742c56885e2e5c2b996ff82
2149N/ACOMPONENT_ARCHIVE_URL= $(call pypi_url)
2149N/ACOMPONENT_PROJECT_URL= https://pypi.python.org/pypi/markupsafe/
2149N/ACOMPONENT_BUGDB= python-mod/markupsafe
2149N/A
2149N/Ainclude $(WS_TOP)/make-rules/prep.mk
2149N/Ainclude $(WS_TOP)/make-rules/setup.py.mk
2149N/Ainclude $(WS_TOP)/make-rules/ips.mk
2149N/A
2149N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
2149N/A
2149N/A# Needed to get around a broken /usr/lib/python2.7/config/Makefile
2149N/A# See CR #16837431.
2149N/ALD=$(CC)
2149N/ALDSHARED=$(CC) -G
2149N/APYTHON_ENV += CC="$(CC)"
2149N/APYTHON_ENV += LDSHARED="$(LDSHARED)"
2149N/APYTHON_ENV += LD="$(LD)"
2149N/APYTHON_ENV += CFLAGS="$(CFLAGS)"
2149N/ACOMPONENT_INSTALL_ENV += $(PYTHON_ENV)
2149N/A
2149N/ACOMPONENT_TEST_DIR= $(COMPONENT_SRC)
2149N/ACOMPONENT_TEST_ARGS= setup.py test
2149N/ACOMPONENT_TEST_ENV= PYTHONPATH=$(PROTO_DIR)$(PYTHON_VENDOR_PACKAGES.32)
2149N/A
2149N/A# common targets
2149N/Abuild: $(BUILD_32_and_64)
2149N/A
install: $(INSTALL_32_and_64)
test: $(TEST_32_and_64)
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
include $(WS_TOP)/make-rules/depend.mk