Makefile revision 5484
2654012f83cec5dc15b61dfe3e4a4915f186e7a6Reza Sabdar#
8c4f9701439555b41fbfe7848508f53b52166007Janice Chang# CDDL HEADER START
2654012f83cec5dc15b61dfe3e4a4915f186e7a6Reza Sabdar#
2654012f83cec5dc15b61dfe3e4a4915f186e7a6Reza Sabdar# The contents of this file are subject to the terms of the
2654012f83cec5dc15b61dfe3e4a4915f186e7a6Reza Sabdar# Common Development and Distribution License (the "License").
2654012f83cec5dc15b61dfe3e4a4915f186e7a6Reza Sabdar# You may not use this file except in compliance with the License.
2654012f83cec5dc15b61dfe3e4a4915f186e7a6Reza Sabdar#
2654012f83cec5dc15b61dfe3e4a4915f186e7a6Reza Sabdar# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2654012f83cec5dc15b61dfe3e4a4915f186e7a6Reza Sabdar# or http://www.opensolaris.org/os/licensing.
2654012f83cec5dc15b61dfe3e4a4915f186e7a6Reza Sabdar# See the License for the specific language governing permissions
2654012f83cec5dc15b61dfe3e4a4915f186e7a6Reza Sabdar# and limitations under the License.
2654012f83cec5dc15b61dfe3e4a4915f186e7a6Reza Sabdar#
2654012f83cec5dc15b61dfe3e4a4915f186e7a6Reza Sabdar# When distributing Covered Code, include this CDDL HEADER in each
2654012f83cec5dc15b61dfe3e4a4915f186e7a6Reza Sabdar# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2654012f83cec5dc15b61dfe3e4a4915f186e7a6Reza Sabdar# If applicable, add the following below this CDDL HEADER, with the
2654012f83cec5dc15b61dfe3e4a4915f186e7a6Reza Sabdar# fields enclosed by brackets "[]" replaced with your own identifying
2654012f83cec5dc15b61dfe3e4a4915f186e7a6Reza Sabdar# information: Portions Copyright [yyyy] [name of copyright owner]
2654012f83cec5dc15b61dfe3e4a4915f186e7a6Reza Sabdar#
2654012f83cec5dc15b61dfe3e4a4915f186e7a6Reza Sabdar# CDDL HEADER END
2654012f83cec5dc15b61dfe3e4a4915f186e7a6Reza Sabdar#
2654012f83cec5dc15b61dfe3e4a4915f186e7a6Reza Sabdar# Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
2654012f83cec5dc15b61dfe3e4a4915f186e7a6Reza Sabdar#
2654012f83cec5dc15b61dfe3e4a4915f186e7a6Reza Sabdarinclude ../../../make-rules/shared-macros.mk
2654012f83cec5dc15b61dfe3e4a4915f186e7a6Reza Sabdar
2654012f83cec5dc15b61dfe3e4a4915f186e7a6Reza SabdarCOMPONENT_NAME= pyasn1
2654012f83cec5dc15b61dfe3e4a4915f186e7a6Reza SabdarCOMPONENT_VERSION= 0.1.9
2654012f83cec5dc15b61dfe3e4a4915f186e7a6Reza SabdarCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
2654012f83cec5dc15b61dfe3e4a4915f186e7a6Reza SabdarCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
2654012f83cec5dc15b61dfe3e4a4915f186e7a6Reza SabdarCOMPONENT_ARCHIVE_HASH= \
2654012f83cec5dc15b61dfe3e4a4915f186e7a6Reza Sabdar sha256:853cacd96d1f701ddd67aa03ecc05f51890135b7262e922710112f12a2ed2a7f
2654012f83cec5dc15b61dfe3e4a4915f186e7a6Reza SabdarCOMPONENT_ARCHIVE_URL= $(call pypi_url)
2654012f83cec5dc15b61dfe3e4a4915f186e7a6Reza SabdarCOMPONENT_PROJECT_URL= http://pyasn1.sourceforge.net/
2654012f83cec5dc15b61dfe3e4a4915f186e7a6Reza SabdarCOMPONENT_BUGDB= python-mod/pyasn1
2654012f83cec5dc15b61dfe3e4a4915f186e7a6Reza Sabdar
2654012f83cec5dc15b61dfe3e4a4915f186e7a6Reza SabdarTPNO= 26348
2654012f83cec5dc15b61dfe3e4a4915f186e7a6Reza Sabdar
2654012f83cec5dc15b61dfe3e4a4915f186e7a6Reza Sabdarinclude $(WS_MAKE_RULES)/prep.mk
2654012f83cec5dc15b61dfe3e4a4915f186e7a6Reza Sabdarinclude $(WS_MAKE_RULES)/setup.py.mk
2654012f83cec5dc15b61dfe3e4a4915f186e7a6Reza Sabdarinclude $(WS_MAKE_RULES)/ips.mk
2654012f83cec5dc15b61dfe3e4a4915f186e7a6Reza Sabdar
2654012f83cec5dc15b61dfe3e4a4915f186e7a6Reza SabdarCOMPONENT_TEST_DIR = $(SOURCE_DIR)
2654012f83cec5dc15b61dfe3e4a4915f186e7a6Reza SabdarCOMPONENT_TEST_ARGS = setup.py test
2654012f83cec5dc15b61dfe3e4a4915f186e7a6Reza SabdarCOMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
2654012f83cec5dc15b61dfe3e4a4915f186e7a6Reza Sabdar
2654012f83cec5dc15b61dfe3e4a4915f186e7a6Reza Sabdar# The test output contains arbitrary output. Use nawk to extract just the
2654012f83cec5dc15b61dfe3e4a4915f186e7a6Reza Sabdar# sections that summarizes the test result.
2654012f83cec5dc15b61dfe3e4a4915f186e7a6Reza SabdarCOMPONENT_TEST_TRANSFORMER = $(NAWK)
2654012f83cec5dc15b61dfe3e4a4915f186e7a6Reza SabdarCOMPONENT_TEST_TRANSFORMS = "'/^Ran .+ / { sub(\" tests in .+s\", \" tests in\"); print }; /!NF/ { print }; /^OK/ { print };'"
2654012f83cec5dc15b61dfe3e4a4915f186e7a6Reza Sabdar
2654012f83cec5dc15b61dfe3e4a4915f186e7a6Reza SabdarASLR_MODE = $(ASLR_NOT_APPLICABLE)
2654012f83cec5dc15b61dfe3e4a4915f186e7a6Reza Sabdar
2654012f83cec5dc15b61dfe3e4a4915f186e7a6Reza Sabdar# common targets
2654012f83cec5dc15b61dfe3e4a4915f186e7a6Reza Sabdarbuild: $(BUILD_NO_ARCH)
2654012f83cec5dc15b61dfe3e4a4915f186e7a6Reza Sabdar
2654012f83cec5dc15b61dfe3e4a4915f186e7a6Reza Sabdarinstall: $(INSTALL_NO_ARCH)
2654012f83cec5dc15b61dfe3e4a4915f186e7a6Reza Sabdar
2654012f83cec5dc15b61dfe3e4a4915f186e7a6Reza Sabdartest: $(TEST_NO_ARCH)
2654012f83cec5dc15b61dfe3e4a4915f186e7a6Reza Sabdar
2654012f83cec5dc15b61dfe3e4a4915f186e7a6Reza Sabdarsystem-test: $(SYSTEM_TESTS_NOT_IMPLEMENTED)
2654012f83cec5dc15b61dfe3e4a4915f186e7a6Reza Sabdar
2654012f83cec5dc15b61dfe3e4a4915f186e7a6Reza Sabdar