components/python/pyasn1/Makefile
author John Beck <John.Beck@Oracle.COM>
Fri, 13 Jun 2014 12:36:52 -0700
changeset 1948 2d1537e7942d
parent 1472 2c6228572b4f
child 3817 30b42c38bbc4
child 3996 20c0f21bbe1e
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:
1472
2c6228572b4f 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
     1
#
2c6228572b4f 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
2c6228572b4f 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
     3
#
2c6228572b4f 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
2c6228572b4f 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").
2c6228572b4f 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.
2c6228572b4f 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
     7
#
2c6228572b4f 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
2c6228572b4f 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.
2c6228572b4f 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
2c6228572b4f 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.
2c6228572b4f 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    12
#
2c6228572b4f 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
2c6228572b4f 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.
2c6228572b4f 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
2c6228572b4f 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
2c6228572b4f 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]
2c6228572b4f 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    18
#
2c6228572b4f 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
2c6228572b4f 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    20
#
1948
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1472
diff changeset
    21
# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
1472
2c6228572b4f 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    22
#
2c6228572b4f 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
2c6228572b4f 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    24
2c6228572b4f 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    25
COMPONENT_NAME=		pyasn1
2c6228572b4f 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
2c6228572b4f 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)
2c6228572b4f 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
2c6228572b4f 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    29
COMPONENT_ARCHIVE_HASH=	\
2c6228572b4f 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    30
    sha256:e4f81d53c533f6bd9526b047f047f7b101c24ab17339c1a7ad8f98b25c101eab
2c6228572b4f 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)
2c6228572b4f 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/
2c6228572b4f 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
2c6228572b4f 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    34
1948
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1472
diff changeset
    35
TPNO=			14413
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1472
diff changeset
    36
1472
2c6228572b4f 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/prep.mk
2c6228572b4f 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    38
include $(WS_TOP)/make-rules/setup.py.mk
2c6228572b4f 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    39
include $(WS_TOP)/make-rules/ips.mk
2c6228572b4f 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    40
2c6228572b4f 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    41
COMPONENT_TEST_DIR =    $(SOURCE_DIR)/test
2c6228572b4f 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    42
COMPONENT_TEST_ARGS =   suite.py
2c6228572b4f 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    43
2c6228572b4f 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    44
ASLR_MODE = $(ASLR_NOT_APPLICABLE)
2c6228572b4f 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    45
2c6228572b4f 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    46
# common targets
2c6228572b4f 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    47
build:		$(BUILD_NO_ARCH)
2c6228572b4f 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    48
2c6228572b4f 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    49
install:	$(INSTALL_NO_ARCH)
2c6228572b4f 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    50
2c6228572b4f 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    51
test:		$(TEST_NO_ARCH)
2c6228572b4f 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    52
2c6228572b4f 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    53
BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
2c6228572b4f 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    54
2c6228572b4f 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    55
include $(WS_TOP)/make-rules/depend.mk