Makefile revision 4339
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# CDDL HEADER START
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# The contents of this file are subject to the terms of the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Common Development and Distribution License (the "License").
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# You may not use this file except in compliance with the License.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# See the License for the specific language governing permissions
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# and limitations under the License.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# When distributing Covered Code, include this CDDL HEADER in each
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# If applicable, add the following below this CDDL HEADER, with the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# fields enclosed by brackets "[]" replaced with your own identifying
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# information: Portions Copyright [yyyy] [name of copyright owner]
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# CDDL HEADER END
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCOMPONENT_PROJECT_URL= http://www.gnu.org/software/bison/
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte sha256:52f78aa4761a74ceb7fdf770f3554dd84308c3b93c4255e3a5c17558ecda293e
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/bison/$(COMPONENT_ARCHIVE)
a1e9eea083a8f257157edb8a1efb5bbd300eb4bfSrikanth, RamanaCONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
a1e9eea083a8f257157edb8a1efb5bbd300eb4bfSrikanth, RamanaCOMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
a1e9eea083a8f257157edb8a1efb5bbd300eb4bfSrikanth, Ramana# the test suite actually generates a script
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# that runs the just-built bison against the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# just-built files. to make it run the system
a1e9eea083a8f257157edb8a1efb5bbd300eb4bfSrikanth, Ramana# one, we can just replace that script with
a1e9eea083a8f257157edb8a1efb5bbd300eb4bfSrikanth, Ramana# a simpler one
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte (cd $(@D)/tests; rm -f bison; mv bison.orig bison)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Strip compilation lines from test output
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte '-e "s|^.*$(CC).*$$|XXX_CC_XXX|g" ' \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte '-e "s|^.*$(CXX).*$$|XXX_CC_XXX|g" ' \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte '-e "s|^.*source=.*libtool=no.*$$|XXX_CC_XXX|g" ' \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte '-e "s|^.*DEPDIR=.deps.*$$|XXX_CC_XXX|g" ' \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte '-e "s|^config.status: .*$$|XXX_CC_XXX|g" ' \
test: $(TEST_64)