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