Makefile revision 4745
4117N/A# The contents of this file are subject to the terms of the 4117N/A# Common Development and Distribution License (the "License"). 4117N/A# You may not use this file except in compliance with the License. 4117N/A# See the License for the specific language governing permissions 4117N/A# and limitations under the License. 4117N/A# When distributing Covered Code, include this CDDL HEADER in each 4117N/A# If applicable, add the following below this CDDL HEADER, with the 4117N/A# fields enclosed by brackets "[]" replaced with your own identifying 4117N/A# information: Portions Copyright [yyyy] [name of copyright owner] 4117N/A# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. 4156N/A# By default, tests in each GSL sub-directory are linked statically against 4156N/A# a set of .la files. We don't deliver those in the GSL package, so we 4156N/A# adjust all the tests to link against the dynamic GSL library instead. 4156N/A 's|^test_LDADD.*$$|test_LDFLAGS = -L`pwd`/../.libs/ -R`pwd`/../.libs/\ntest_LDADD = -lgsl|' \ 4156N/A# Recreate configure and top-level Makefile to pickup libsunperf changes. 4117N/A# Master test results are different not only between 32-bit and 64-bit, but 4117N/A# also between x86 and SPARC (different # of tests run). 4117N/A '-e "s|^.*$(CC).*$$|XXX_CC_XXX|g" ' \
4117N/A '-e "s|^.*source=.*libtool=no.*$$|XXX_CC_XXX|g" ' \
4117N/A '-e "s|^.*DEPDIR=.deps.*$$|XXX_CC_XXX|g" ' \
4745N/A '-e "s|^make.*: Leaving directory.*$$|XXX_CC_XXX|g" ' \
4745N/A '-e "s|^make.*: Entering directory.*$$|XXX_CC_XXX|g" ' \
4745N/A '-e "s|^make.*: Nothing to be.*$$|XXX_CC_XXX|g" ' \
4745N/A '-e "s|^.*warning:.*$$|XXX_CC_XXX|g" ' \
4745N/A '-e "s|^.*s up to date.*$$|XXX_CC_XXX|g" ' \
4117N/A# Needed for "gmake test" to work successfully. 4117N/A# If SHELLOPTS is exported (as it is by the userland makefiles), 4117N/A# then all shell options get exported to child invocations of bash, 4117N/A# which results in test failures due to nounset and xtrace being 4117N/A# set unexpectedly, and errors such as "$1: unbound variable" and 4117N/A# diffs failing due to script tracing in output files. 4156N/A# There are known problems in libsunperf that are causing GSL test failures 4156N/A# in Solaris 12 with Studio 12.4 just on the x86 platform: 4156N/A# linalg: FAIL: LQ_update m(5,3) [88] (32-bit) 4156N/A# caused by 20914954 cblas_gemm differences between x86 and sparcv7 4156N/A# linalg: FAIL: cholesky_invert hilbert(4) (64-bit) 4156N/A# caused by 20909151 cblas_dsymm differences between amd64 and sparcv9.