Makefile revision 2790
394N/A#
394N/A# CDDL HEADER START
394N/A#
394N/A# The contents of this file are subject to the terms of the
394N/A# Common Development and Distribution License (the "License").
394N/A# You may not use this file except in compliance with the License.
394N/A#
394N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
394N/A# or http://www.opensolaris.org/os/licensing.
394N/A# See the License for the specific language governing permissions
394N/A# and limitations under the License.
394N/A#
394N/A# When distributing Covered Code, include this CDDL HEADER in each
394N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
394N/A# If applicable, add the following below this CDDL HEADER, with the
394N/A# fields enclosed by brackets "[]" replaced with your own identifying
394N/A# information: Portions Copyright [yyyy] [name of copyright owner]
394N/A#
394N/A# CDDL HEADER END
394N/A#
1938N/A
394N/A#
394N/A# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
394N/A#
394N/A
394N/Ainclude ../../../make-rules/shared-macros.mk
394N/A
445N/ACOMPONENT_NAME= coverage
618N/ACOMPONENT_VERSION= 3.5
394N/ACOMPONENT_PROJECT_URL= http://nedbatchelder.com/code/coverage/
394N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
844N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
844N/ACOMPONENT_ARCHIVE_HASH= \
394N/A sha256:b181d5ec72baf7478942fd600503d9f32bb525cfca413b1c73ebfa7ff1b95ae9
1258N/ACOMPONENT_ARCHIVE_URL= http://pypi.python.org/packages/source/c/coverage/$(COMPONENT_ARCHIVE)
394N/ACOMPONENT_BUGDB= python-mod/coverage
394N/A
394N/Ainclude $(WS_TOP)/make-rules/prep.mk
394N/Ainclude $(WS_TOP)/make-rules/setup.py.mk
394N/Ainclude $(WS_TOP)/make-rules/ips.mk
1938N/A
1938N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
394N/A
394N/A# Needed to get around a broken /usr/lib/python2.7/config/Makefile
394N/A# See CR #16837431.
783N/ALD=$(CC)
783N/ALDSHARED=$(CC) -G
783N/APYTHON_ENV += CC="$(CC)"
394N/APYTHON_ENV += LDSHARED="$(LDSHARED)"
394N/APYTHON_ENV += LD="$(LD)"
394N/APYTHON_ENV += CFLAGS="$(CFLAGS)"
394N/ACOMPONENT_INSTALL_ENV += $(PYTHON_ENV)
394N/A
394N/A# common targets
394N/Abuild: $(BUILD_32_and_64)
COMPONENT_POST_INSTALL_ACTION = \
(cd $(PROTO_DIR)/usr/bin ; $(MV) -f coverage coverage$(PYTHON_VERSION))
install: $(INSTALL_32_and_64)
test: $(NO_TESTS)
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
include $(WS_TOP)/make-rules/depend.mk