components/python/simplejson/Makefile
author John Beck <John.Beck@Oracle.COM>
Sat, 17 Jan 2015 09:17:37 -0800
branchs11-update
changeset 3661 47545fb8aed4
parent 2910 f8b8cbc43356
child 3778 35735ffdda43
permissions -rw-r--r--
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2700
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     1
#
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     2
# CDDL HEADER START
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     3
#
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     7
#
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    11
# and limitations under the License.
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    12
#
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    18
#
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    19
# CDDL HEADER END
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    20
#
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    21
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    22
#
2910
f8b8cbc43356 15801420 SUNBT7180909 tag the Userland consolidation binaries for ASLR
April Chin <april.chin@oracle.com>
parents: 2700
diff changeset
    23
# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
2700
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    24
#
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    25
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    26
include ../../../make-rules/shared-macros.mk
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    27
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    28
COMPONENT_NAME=		simplejson
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    29
COMPONENT_VERSION=	2.1.2
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    30
COMPONENT_PROJECT_URL=	http://undefined.org/python/#simplejson
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    31
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    32
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    33
COMPONENT_ARCHIVE_HASH= \
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    34
    sha256:d196d78af44acdf47078e320124bfe4cd2cb3bd7b9be7f5587b2e149124cb49c
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    35
COMPONENT_ARCHIVE_URL=	http://pypi.python.org/packages/source/s/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    36
COMPONENT_BUGDB=	python-mod/simplejson
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    37
3661
47545fb8aed4 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 2910
diff changeset
    38
TPNO=			5929
47545fb8aed4 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 2910
diff changeset
    39
2700
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    40
include $(WS_TOP)/make-rules/prep.mk
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    41
include $(WS_TOP)/make-rules/setup.py.mk
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    42
include $(WS_TOP)/make-rules/ips.mk
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    43
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    44
COMPONENT_TEST_DIR= $(COMPONENT_SRC) 
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    45
COMPONENT_TEST_ARGS= ./setup.py test
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    46
2910
f8b8cbc43356 15801420 SUNBT7180909 tag the Userland consolidation binaries for ASLR
April Chin <april.chin@oracle.com>
parents: 2700
diff changeset
    47
ASLR_MODE = $(ASLR_NOT_APPLICABLE)
2700
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    48
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    49
# common targets
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    50
build:          $(BUILD_32_and_64)
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    51
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    52
install:        $(INSTALL_32_and_64)
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    53
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    54
test:           $(TEST_32_and_64)
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    55
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    56
BUILD_PKG_DEPENDENCIES =        $(BUILD_TOOLS)
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    57
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    58
include $(WS_TOP)/make-rules/depend.mk