components/python/simplejson/Makefile
author April Chin <april.chin@oracle.com>
Wed, 22 Jan 2014 09:31:02 -0800
branchs11-update
changeset 2910 f8b8cbc43356
parent 2700 c7663c70e186
child 3661 47545fb8aed4
child 4156 4b1def16fe9b
permissions -rw-r--r--
15801420 SUNBT7180909 tag the Userland consolidation binaries for ASLR 18071044 fix ASLR settings in component Makefiles in 11.2
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
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    38
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
    39
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
    40
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
    41
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    42
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
    43
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
    44
2910
f8b8cbc43356 15801420 SUNBT7180909 tag the Userland consolidation binaries for ASLR
April Chin <april.chin@oracle.com>
parents: 2700
diff changeset
    45
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
    46
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    47
# common targets
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    48
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
    49
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    50
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
    51
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    52
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
    53
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    54
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
    55
c7663c70e186 15820220 SUNBT7202660 Move python/simplejson from Desktop consolidation to Userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    56
include $(WS_TOP)/make-rules/depend.mk