5126N/A# The contents of this file are subject to the terms of the 5126N/A# Common Development and Distribution License (the "License"). 5126N/A# You may not use this file except in compliance with the License. 5126N/A# See the License for the specific language governing permissions 5126N/A# and limitations under the License. 5126N/A# When distributing Covered Code, include this CDDL HEADER in each 5126N/A# If applicable, add the following below this CDDL HEADER, with the 5126N/A# fields enclosed by brackets "[]" replaced with your own identifying 5126N/A# information: Portions Copyright [yyyy] [name of copyright owner] 5680N/A# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. 5126N/A# shared libraries rather than a library archive. 5126N/A# bumped anytime upstream makes an incompatible change (that we're aware of). 5126N/A $(GSED) -i -e
's|libyasm_a_SOURCES|libyasm_la_SOURCES|g' \
5126N/A# Needed for "gmake test" to work successfully. 5126N/A# If SHELLOPTS is exported (as it is by the userland makefiles), 5126N/A# then all shell options get exported to child invocations of bash, 5126N/A# which results in test failures due to nounset and xtrace being 5126N/A# set unexpectedly, and errors such as "$1: unbound variable" and 5126N/A# diffs failing due to script tracing in output files. 5126N/A '-e "s|^.*$(CC).*$$|XXX_REMOVE_XXX|g" ' \
5126N/A '-e "s|^.*source=.*libtool=no.*$$|XXX_REMOVE_XXX|g" ' \
5126N/A '-e "s|^.*DEPDIR=.deps.*$$|XXX_REMOVE_XXX|g" ' \
5126N/A '-e "s|^make.*: Leaving directory.*$$|XXX_REMOVE_XXX|g" ' \
5126N/A '-e "s|^make.*: Entering directory.*$$|XXX_REMOVE_XXX|g" ' \
5126N/A '-e "s|^make.*: Nothing to be.*$$|XXX_REMOVE_XXX|g" ' \
5126N/A '-e "s|^.*warning:.*$$|XXX_REMOVE_XXX|g" ' \
5126N/A '-e "s|^.*s up to date.*$$|XXX_REMOVE_XXX|g" ' \
5126N/A '-e "/^XXX_REMOVE_XXX$$/d" '