6954N/A#
6954N/A# CDDL HEADER START
6954N/A#
6954N/A# The contents of this file are subject to the terms of the
6954N/A# Common Development and Distribution License (the "License").
6954N/A# You may not use this file except in compliance with the License.
6954N/A#
6954N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6954N/A# or http://www.opensolaris.org/os/licensing.
6954N/A# See the License for the specific language governing permissions
6954N/A# and limitations under the License.
6954N/A#
6954N/A# When distributing Covered Code, include this CDDL HEADER in each
6954N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6954N/A# If applicable, add the following below this CDDL HEADER, with the
6954N/A# fields enclosed by brackets "[]" replaced with your own identifying
6954N/A# information: Portions Copyright [yyyy] [name of copyright owner]
6954N/A#
6954N/A# CDDL HEADER END
6954N/A#
6954N/A
6954N/A#
6954N/A# Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
6954N/A#
6954N/A
6954N/Ainclude ../../../make-rules/shared-macros.mk
6954N/A
6954N/ACOMPONENT_NAME= pycparser
6954N/ACOMPONENT_VERSION= 2.14
6954N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
6954N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
6954N/ACOMPONENT_ARCHIVE_HASH= \
6954N/A sha256:7959b4a74abdc27b312fed1c21e6caf9309ce0b29ea86b591fd2e99ecdf27f73
6954N/ACOMPONENT_ARCHIVE_URL= $(call pypi_url)
6954N/ACOMPONENT_PROJECT_URL= https://github.com/eliben/pycparser
6954N/ACOMPONENT_BUGDB= python-mod/pycparser
6954N/A
6954N/ATPNO= 28876
6954N/A
6954N/Ainclude $(WS_MAKE_RULES)/prep.mk
6954N/Ainclude $(WS_MAKE_RULES)/setup.py.mk
6954N/Ainclude $(WS_MAKE_RULES)/ips.mk
6954N/A
6954N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
6954N/A
6954N/ACOMPONENT_TEST_DIR = $(SOURCE_DIR)
6954N/ACOMPONENT_TEST_CMD = py.test-$(PYTHON_VERSION)
6954N/ACOMPONENT_TEST_ARGS = --resultlog $(@D)/testresults
6954N/ACOMPONENT_TEST_ARGS += -p no:codechecker
6954N/ACOMPONENT_TEST_ENV += PATH=$$PATH:$(BUILD_DIR)/bin
6954N/A
6954N/A$(SOURCE_DIR)/pycparser/ply/lex.py: $(SOURCE_DIR)/.prep
6954N/A
6959N/A$(BUILD_DIR)/license.ply: $(SOURCE_DIR)/pycparser/ply/lex.py
6959N/A nawk '/^# Copyright / {p=1} /^# ---/ {p=0} p == 1 {print substr($$0, 3)}' $< > $@
6959N/A
6954N/A# common targets
6954N/Abuild: $(BUILD_NO_ARCH)
6954N/A
6954N/Ainstall: $(INSTALL_NO_ARCH) $(BUILD_DIR)/license.ply
6954N/A
6954N/Atest: $(TEST_NO_ARCH)
6954N/A
6954N/Asystem-test: $(SYSTEM_TESTS_NOT_IMPLEMENTED)
6954N/A
7037N/A