Makefile revision 4578
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
TPNO= 11357
# Adjust the .so line in the libssh2_sftp_fstatvfs man page to correctly find
# the file it references (as we place it in the man3ssh2 section on Solaris).
#
$(GSED) -i -e 's|3|3ssh2|g' \
# Master test results are the same for both 32-bit and 64-bit, so override
# here, rather than create multiple identical master files.
# The additional libssh2 specific set of transforms to be applied to the
# test results to try to normalize them.
'-e "s|^.*$(CC).*$$|XXX_CC_XXX|g" ' \
'-e "s|^.*source=.*libtool=no.*$$|XXX_CC_XXX|g" ' \
'-e "s|^.*DEPDIR=.deps.*$$|XXX_CC_XXX|g" ' \
'-e "s|^.*make.*$$|XXX_CC_XXX|g" ' \
'-e "s|^make.*: Leaving directory.*$$|XXX_CC_XXX|g" ' \
'-e "s|^make.*: Entering directory.*$$|XXX_CC_XXX|g" ' \
'-e "/^XXX_CC_XXX$$/d" '
# Just run "gmake check" from the tests directory.
# Adjust how the simple test program is built.
$(GSED) -e "s|^simple_DEPENDENCIES.*$$|simple_DEPENDENCIES =|" \
-e "s|^LDADD.*$$|LDADD = -lssh2|" \
build: $(BUILD_32_and_64)
test: $(TEST_32_and_64)