components/python/pyasn1/Makefile
author Petr Sumbera <petr.sumbera@oracle.com>
Thu, 20 Mar 2014 07:05:00 -0700
branchs11-update
changeset 2993 2d33c9c7a5a3
parent 2790 bb5739f8126c
child 1948 2d1537e7942d
permissions -rw-r--r--
18054012 Upgrade gtar to version 1.27.1 18054038 Update gtar to ASLR + 64b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2790
bb5739f8126c 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
     1
#
bb5739f8126c 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
bb5739f8126c 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
     3
#
bb5739f8126c 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
bb5739f8126c 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
bb5739f8126c 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
bb5739f8126c 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
     7
#
bb5739f8126c 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
bb5739f8126c 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
bb5739f8126c 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
bb5739f8126c 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
bb5739f8126c 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    12
#
bb5739f8126c 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
bb5739f8126c 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
bb5739f8126c 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
bb5739f8126c 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
bb5739f8126c 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
bb5739f8126c 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    18
#
bb5739f8126c 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
bb5739f8126c 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    20
#
bb5739f8126c 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    21
# Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
bb5739f8126c 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    22
#
bb5739f8126c 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    23
include ../../../make-rules/shared-macros.mk
bb5739f8126c 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    24
bb5739f8126c 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    25
COMPONENT_NAME=		pyasn1
bb5739f8126c 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    26
COMPONENT_VERSION=	0.1.7
bb5739f8126c 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    27
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
bb5739f8126c 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    28
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
bb5739f8126c 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    29
COMPONENT_ARCHIVE_HASH=	\
bb5739f8126c 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    30
    sha256:e4f81d53c533f6bd9526b047f047f7b101c24ab17339c1a7ad8f98b25c101eab
bb5739f8126c 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    31
COMPONENT_ARCHIVE_URL=	$(call pypi_url)
bb5739f8126c 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    32
COMPONENT_PROJECT_URL=	http://pyasn1.sourceforge.net/
bb5739f8126c 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    33
COMPONENT_BUGDB=	python-mod/pyasn1
bb5739f8126c 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    34
bb5739f8126c 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    35
include $(WS_TOP)/make-rules/prep.mk
bb5739f8126c 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    36
include $(WS_TOP)/make-rules/setup.py.mk
bb5739f8126c 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    37
include $(WS_TOP)/make-rules/ips.mk
bb5739f8126c 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    38
bb5739f8126c 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    39
COMPONENT_TEST_DIR =    $(SOURCE_DIR)/test
bb5739f8126c 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    40
COMPONENT_TEST_ARGS =   suite.py
bb5739f8126c 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    41
bb5739f8126c 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    42
ASLR_MODE = $(ASLR_NOT_APPLICABLE)
bb5739f8126c 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    43
bb5739f8126c 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    44
# common targets
bb5739f8126c 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    45
build:		$(BUILD_NO_ARCH)
bb5739f8126c 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    46
bb5739f8126c 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    47
install:	$(INSTALL_NO_ARCH)
bb5739f8126c 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    48
bb5739f8126c 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    49
test:		$(TEST_NO_ARCH)
bb5739f8126c 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    50
bb5739f8126c 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    51
BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
bb5739f8126c 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    52
bb5739f8126c 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    53
include $(WS_TOP)/make-rules/depend.mk