Makefile revision 6954
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# CDDL HEADER START
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# The contents of this file are subject to the terms of the
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# Common Development and Distribution License (the "License").
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# You may not use this file except in compliance with the License.
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# See the License for the specific language governing permissions
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# and limitations under the License.
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# When distributing Covered Code, include this CDDL HEADER in each
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# If applicable, add the following below this CDDL HEADER, with the
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# fields enclosed by brackets "[]" replaced with your own identifying
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# information: Portions Copyright [yyyy] [name of copyright owner]
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# CDDL HEADER END
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan FosterCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster sha256:7959b4a74abdc27b312fed1c21e6caf9309ce0b29ea86b591fd2e99ecdf27f73
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan FosterCOMPONENT_PROJECT_URL= https://github.com/eliben/pycparser
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan FosterCOMPONENT_TEST_ARGS = --resultlog $(@D)/testresults
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan FosterCOMPONENT_TEST_ENV += PATH=$$PATH:$(BUILD_DIR)/bin
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster$(SOURCE_DIR)/pycparser/ply/lex.py: $(SOURCE_DIR)/.prep
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster$(BUILD_DIR)/license.ply: $(SOURCE_DIR)/pycparser/ply/lex.py
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster nawk '/^# Copyright / {p=1} /^# ---/ {p=0} p == 1 {print substr($$0, 3)}' $< > $@
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# common targets