Makefile revision 5403
5f0e2c8913fed44e1629f1367ce54e74ce2a2eb3Michael Graff#
499b34cea04a46823d003d4c0520c8b03e8513cbBrian Wellington# CDDL HEADER START
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence#
5f0e2c8913fed44e1629f1367ce54e74ce2a2eb3Michael Graff# The contents of this file are subject to the terms of the
5f0e2c8913fed44e1629f1367ce54e74ce2a2eb3Michael Graff# Common Development and Distribution License (the "License").
5f0e2c8913fed44e1629f1367ce54e74ce2a2eb3Michael Graff# You may not use this file except in compliance with the License.
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence#
15a44745412679c30a6d022733925af70a38b715David Lawrence# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
15a44745412679c30a6d022733925af70a38b715David Lawrence# or http://www.opensolaris.org/os/licensing.
15a44745412679c30a6d022733925af70a38b715David Lawrence# See the License for the specific language governing permissions
15a44745412679c30a6d022733925af70a38b715David Lawrence# and limitations under the License.
15a44745412679c30a6d022733925af70a38b715David Lawrence#
15a44745412679c30a6d022733925af70a38b715David Lawrence# When distributing Covered Code, include this CDDL HEADER in each
15a44745412679c30a6d022733925af70a38b715David Lawrence# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15a44745412679c30a6d022733925af70a38b715David Lawrence# If applicable, add the following below this CDDL HEADER, with the
5f0e2c8913fed44e1629f1367ce54e74ce2a2eb3Michael Graff# fields enclosed by brackets "[]" replaced with your own identifying
5f0e2c8913fed44e1629f1367ce54e74ce2a2eb3Michael Graff# information: Portions Copyright [yyyy] [name of copyright owner]
97f26b88f62b10a9c26a91ebe8387d2e498c2d00Andreas Gustafsson#
9c3531d72aeaad6c5f01efe6a1c82023e1379e4dDavid Lawrence# CDDL HEADER END
b222ecd1c25197c2a04d0230504153ad6a62a666Michael Graff#
b222ecd1c25197c2a04d0230504153ad6a62a666Michael Graff
9df93ea1bf53e09fd2d7f13c899817046dd04325Michael Graff#
9df93ea1bf53e09fd2d7f13c899817046dd04325Michael Graff# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
9df93ea1bf53e09fd2d7f13c899817046dd04325Michael Graff#
9df93ea1bf53e09fd2d7f13c899817046dd04325Michael Graff
9df93ea1bf53e09fd2d7f13c899817046dd04325Michael Graffinclude ../../../make-rules/shared-macros.mk
9df93ea1bf53e09fd2d7f13c899817046dd04325Michael Graff
b222ecd1c25197c2a04d0230504153ad6a62a666Michael GraffCOMPONENT_NAME= linecache2
9df93ea1bf53e09fd2d7f13c899817046dd04325Michael GraffCOMPONENT_VERSION= 1.0.0
b222ecd1c25197c2a04d0230504153ad6a62a666Michael GraffCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
9df93ea1bf53e09fd2d7f13c899817046dd04325Michael GraffCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
9df93ea1bf53e09fd2d7f13c899817046dd04325Michael GraffCOMPONENT_ARCHIVE_HASH= \
9df93ea1bf53e09fd2d7f13c899817046dd04325Michael Graff sha256:4b26ff4e7110db76eeb6f5a7b64a82623839d595c2038eeda662f2a2db78e97c
b222ecd1c25197c2a04d0230504153ad6a62a666Michael GraffCOMPONENT_ARCHIVE_URL= $(call pypi_url)
9df93ea1bf53e09fd2d7f13c899817046dd04325Michael GraffCOMPONENT_PROJECT_URL= http://pypi.python.org/pypi/linecache2/
9df93ea1bf53e09fd2d7f13c899817046dd04325Michael GraffCOMPONENT_BUGDB= python-mod/linecache2
9df93ea1bf53e09fd2d7f13c899817046dd04325Michael Graff
9df93ea1bf53e09fd2d7f13c899817046dd04325Michael GraffTPNO= 22937
9df93ea1bf53e09fd2d7f13c899817046dd04325Michael Graff
9df93ea1bf53e09fd2d7f13c899817046dd04325Michael Graffinclude $(WS_MAKE_RULES)/prep.mk
9df93ea1bf53e09fd2d7f13c899817046dd04325Michael Graffinclude $(WS_MAKE_RULES)/setup.py.mk
9df93ea1bf53e09fd2d7f13c899817046dd04325Michael Graffinclude $(WS_MAKE_RULES)/ips.mk
9df93ea1bf53e09fd2d7f13c899817046dd04325Michael Graff
9df93ea1bf53e09fd2d7f13c899817046dd04325Michael GraffASLR_MODE = $(ASLR_NOT_APPLICABLE)
9df93ea1bf53e09fd2d7f13c899817046dd04325Michael Graff
9df93ea1bf53e09fd2d7f13c899817046dd04325Michael Graff#
9df93ea1bf53e09fd2d7f13c899817046dd04325Michael Graff# python2.7 absolutely can not compile this file. It's full of
9df93ea1bf53e09fd2d7f13c899817046dd04325Michael Graff# python3.5 things (type annotations) that cause 2.7 to puke. Since
9df93ea1bf53e09fd2d7f13c899817046dd04325Michael Graff# we don't deliver test files, just remove it from the unpacked build
9df93ea1bf53e09fd2d7f13c899817046dd04325Michael Graff# directory. Strangely, 2.6 and 3.4 have no issues with the odd new
9df93ea1bf53e09fd2d7f13c899817046dd04325Michael Graff# syntax.
9df93ea1bf53e09fd2d7f13c899817046dd04325Michael Graff#
9df93ea1bf53e09fd2d7f13c899817046dd04325Michael GraffCOMPONENT_POST_UNPACK_ACTION += \
9df93ea1bf53e09fd2d7f13c899817046dd04325Michael Graff $(RM) $(SOURCE_DIR)/linecache2/tests/inspect_fodder2.py
9df93ea1bf53e09fd2d7f13c899817046dd04325Michael Graff
bf647f10f68d5a2049f25435f5e3947e99e0e042Bob Halley# common targets
80617c8faa03b2c425e320597eb768073fd0b987Michael Graffbuild: $(BUILD_NO_ARCH)
9df93ea1bf53e09fd2d7f13c899817046dd04325Michael Graff
9df93ea1bf53e09fd2d7f13c899817046dd04325Michael Graffinstall: $(INSTALL_NO_ARCH)
9df93ea1bf53e09fd2d7f13c899817046dd04325Michael Graff
9df93ea1bf53e09fd2d7f13c899817046dd04325Michael Grafftest: $(NO_TESTS)
9df93ea1bf53e09fd2d7f13c899817046dd04325Michael Graff