components/python/pyasn1/Makefile
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Thu, 08 Sep 2016 12:41:54 -0700
changeset 6865 1cc50ab79b8c
parent 5682 94c0ca64c022
child 7687 1093e2a9adbd
permissions -rw-r--r--
22471212 daq fails to build with Studio 12.5 beta 22481259 snort fails to build with Studio 12.5 beta
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
#
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5486
diff changeset
    21
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5486
diff changeset
    22
#
5486
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents: 4339
diff changeset
    23
# Copyright (c) 2013, 2016, 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
    24
#
2c6228572b4f 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    25
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
    26
2c6228572b4f 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    27
COMPONENT_NAME=		pyasn1
5486
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents: 4339
diff changeset
    28
COMPONENT_VERSION=	0.1.9
1472
2c6228572b4f 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    29
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
    30
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
    31
COMPONENT_ARCHIVE_HASH=	\
5486
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents: 4339
diff changeset
    32
    sha256:853cacd96d1f701ddd67aa03ecc05f51890135b7262e922710112f12a2ed2a7f
1472
2c6228572b4f 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    33
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
    34
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
    35
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
    36
5486
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents: 4339
diff changeset
    37
TPNO=			26348
1948
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1472
diff changeset
    38
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 1948
diff changeset
    39
include $(WS_MAKE_RULES)/prep.mk
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 1948
diff changeset
    40
include $(WS_MAKE_RULES)/setup.py.mk
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 1948
diff changeset
    41
include $(WS_MAKE_RULES)/ips.mk
1472
2c6228572b4f 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    42
5486
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents: 4339
diff changeset
    43
COMPONENT_TEST_DIR =    $(SOURCE_DIR)
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents: 4339
diff changeset
    44
COMPONENT_TEST_ARGS =   setup.py test
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents: 4339
diff changeset
    45
COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents: 4339
diff changeset
    46
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents: 4339
diff changeset
    47
# The test output contains arbitrary output. Use nawk to extract just the
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents: 4339
diff changeset
    48
# sections that summarizes the test result.
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents: 4339
diff changeset
    49
COMPONENT_TEST_TRANSFORMER = $(NAWK)
fc535b316139 PSARC/2015/489 idna - Python Internationalised Domain Names in Applications module
Yiteng Zhang <yiteng.zhang@oracle.com>
parents: 4339
diff changeset
    50
COMPONENT_TEST_TRANSFORMS = "'/^Ran .+ / { sub(\" tests in .+s\", \" tests in\"); print }; /!NF/ { print }; /^OK/ { print };'"
1472
2c6228572b4f 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    51
2c6228572b4f 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    52
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
    53
2c6228572b4f 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    54
# common targets
2c6228572b4f 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    55
build:		$(BUILD_NO_ARCH)
2c6228572b4f 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    56
2c6228572b4f 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    57
install:	$(INSTALL_NO_ARCH)
2c6228572b4f 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    58
2c6228572b4f 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    59
test:		$(TEST_NO_ARCH)
2c6228572b4f 16757993 The Python pyasn1 module should be added to Userland
Erik Trauschke <Erik.Trauschke@oracle.com>
parents:
diff changeset
    60
4339
6501cf9c29f9 21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents: 3817
diff changeset
    61
system-test:    $(SYSTEM_TESTS_NOT_IMPLEMENTED)
6501cf9c29f9 21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents: 3817
diff changeset
    62