Makefile revision 6958
236N/A#
236N/A# CDDL HEADER START
236N/A#
236N/A# The contents of this file are subject to the terms of the
236N/A# Common Development and Distribution License (the "License").
236N/A# You may not use this file except in compliance with the License.
236N/A#
236N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
236N/A# or http://www.opensolaris.org/os/licensing.
236N/A# See the License for the specific language governing permissions
236N/A# and limitations under the License.
236N/A#
236N/A# When distributing Covered Code, include this CDDL HEADER in each
236N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
236N/A# If applicable, add the following below this CDDL HEADER, with the
236N/A# fields enclosed by brackets "[]" replaced with your own identifying
236N/A# information: Portions Copyright [yyyy] [name of copyright owner]
236N/A#
236N/A# CDDL HEADER END
236N/A#
236N/A
236N/A#
5680N/A# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
236N/A#
5680N/ABUILD_BITS= 64
236N/Ainclude ../../make-rules/shared-macros.mk
236N/A
236N/ACOMPONENT_NAME= iperf
5008N/ACOMPONENT_VERSION= 3.1.3
236N/ACOMPONENT_PROJECT_URL= https://iperf.fr/
236N/ACOMPONENT_ARCHIVE_HASH= \
844N/A sha256:60d8db69b1d74a64d78566c2317c373a85fef691b8d277737ee5d29f448595bf
5008N/ACOMPONENT_ARCHIVE_URL= http://downloads.es.net/pub/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
5008N/ACOMPONENT_BUGDB= utility/iperf
236N/A
5008N/ATPNO= 31583
2899N/A
5680N/A# There is no easy way to do automated testing that produce consistent
5680N/A# results independent of what machine there are run on, but the following
236N/A# can be done manually.
236N/A#
236N/A# In one terminal window, start the iperf3 server with:
5680N/A#
236N/A# $ cd .../components/iperf3/build/[amd64,sparcv9]/src
236N/A# $ ./iperf3 -s
3817N/A#
5092N/A# In another terminal window, start the script to test various commands with:
3817N/A#
5008N/A# $ cd .../components/iperf3/build/[amd64,sparcv9]/
5795N/A# $ ./test_commands.sh localhost
3817N/A#
3817N/ATEST_TARGET= $(NO_TESTS)
3817N/A
include $(WS_MAKE_RULES)/common.mk
# Needed to successfully run the test_commands.sh script in a built workspace.
COMPONENT_PRE_CONFIGURE_ACTION = \
($(CLONEY) $(SOURCE_DIR) $(@D))
REQUIRED_PACKAGES += system/library/math