components/iperf3/Makefile
author Rich Burridge <rich.burridge@oracle.com>
Wed, 15 Mar 2017 12:27:11 -0700
changeset 7755 3352127505f1
parent 7687 1093e2a9adbd
permissions -rw-r--r--
25665958 Update iperf3 to version 3.1.6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6960
f00b140e6277 PSARC 2016/518 Add iperf3 and EOF iperf 2.0.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     1
#
f00b140e6277 PSARC 2016/518 Add iperf3 and EOF iperf 2.0.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
f00b140e6277 PSARC 2016/518 Add iperf3 and EOF iperf 2.0.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     3
#
f00b140e6277 PSARC 2016/518 Add iperf3 and EOF iperf 2.0.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
f00b140e6277 PSARC 2016/518 Add iperf3 and EOF iperf 2.0.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
f00b140e6277 PSARC 2016/518 Add iperf3 and EOF iperf 2.0.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
f00b140e6277 PSARC 2016/518 Add iperf3 and EOF iperf 2.0.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     7
#
f00b140e6277 PSARC 2016/518 Add iperf3 and EOF iperf 2.0.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
f00b140e6277 PSARC 2016/518 Add iperf3 and EOF iperf 2.0.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
f00b140e6277 PSARC 2016/518 Add iperf3 and EOF iperf 2.0.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
f00b140e6277 PSARC 2016/518 Add iperf3 and EOF iperf 2.0.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
f00b140e6277 PSARC 2016/518 Add iperf3 and EOF iperf 2.0.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    12
#
f00b140e6277 PSARC 2016/518 Add iperf3 and EOF iperf 2.0.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
f00b140e6277 PSARC 2016/518 Add iperf3 and EOF iperf 2.0.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
f00b140e6277 PSARC 2016/518 Add iperf3 and EOF iperf 2.0.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
f00b140e6277 PSARC 2016/518 Add iperf3 and EOF iperf 2.0.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
f00b140e6277 PSARC 2016/518 Add iperf3 and EOF iperf 2.0.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
f00b140e6277 PSARC 2016/518 Add iperf3 and EOF iperf 2.0.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    18
#
f00b140e6277 PSARC 2016/518 Add iperf3 and EOF iperf 2.0.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
f00b140e6277 PSARC 2016/518 Add iperf3 and EOF iperf 2.0.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    20
#
f00b140e6277 PSARC 2016/518 Add iperf3 and EOF iperf 2.0.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    21
f00b140e6277 PSARC 2016/518 Add iperf3 and EOF iperf 2.0.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    22
#
7687
1093e2a9adbd 25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents: 6960
diff changeset
    23
# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
6960
f00b140e6277 PSARC 2016/518 Add iperf3 and EOF iperf 2.0.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    24
#
f00b140e6277 PSARC 2016/518 Add iperf3 and EOF iperf 2.0.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    25
BUILD_BITS= 64
f00b140e6277 PSARC 2016/518 Add iperf3 and EOF iperf 2.0.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    26
include ../../make-rules/shared-macros.mk
f00b140e6277 PSARC 2016/518 Add iperf3 and EOF iperf 2.0.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    27
f00b140e6277 PSARC 2016/518 Add iperf3 and EOF iperf 2.0.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    28
COMPONENT_NAME=		iperf
7755
3352127505f1 25665958 Update iperf3 to version 3.1.6
Rich Burridge <rich.burridge@oracle.com>
parents: 7687
diff changeset
    29
COMPONENT_VERSION=	3.1.6
3352127505f1 25665958 Update iperf3 to version 3.1.6
Rich Burridge <rich.burridge@oracle.com>
parents: 7687
diff changeset
    30
COMPONENT_PROJECT_URL=	http://software.es.net/iperf/
6960
f00b140e6277 PSARC 2016/518 Add iperf3 and EOF iperf 2.0.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    31
COMPONENT_ARCHIVE_HASH=	\
7755
3352127505f1 25665958 Update iperf3 to version 3.1.6
Rich Burridge <rich.burridge@oracle.com>
parents: 7687
diff changeset
    32
    sha256:70f0c72d9e60c6ecb2c478ed17e4fd81d3b827d57896fee43bcd0c53abccb29d
6960
f00b140e6277 PSARC 2016/518 Add iperf3 and EOF iperf 2.0.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    33
COMPONENT_ARCHIVE_URL=	http://downloads.es.net/pub/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
f00b140e6277 PSARC 2016/518 Add iperf3 and EOF iperf 2.0.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    34
COMPONENT_BUGDB=	utility/iperf
7687
1093e2a9adbd 25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents: 6960
diff changeset
    35
COMPONENT_ANITYA_ID=	1389
6960
f00b140e6277 PSARC 2016/518 Add iperf3 and EOF iperf 2.0.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    36
7755
3352127505f1 25665958 Update iperf3 to version 3.1.6
Rich Burridge <rich.burridge@oracle.com>
parents: 7687
diff changeset
    37
TPNO=			34069
6960
f00b140e6277 PSARC 2016/518 Add iperf3 and EOF iperf 2.0.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    38
f00b140e6277 PSARC 2016/518 Add iperf3 and EOF iperf 2.0.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    39
# There is no easy way to do automated testing that produce consistent
f00b140e6277 PSARC 2016/518 Add iperf3 and EOF iperf 2.0.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    40
# results independent of what machine there are run on, but the following
f00b140e6277 PSARC 2016/518 Add iperf3 and EOF iperf 2.0.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    41
# can be done manually.
f00b140e6277 PSARC 2016/518 Add iperf3 and EOF iperf 2.0.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    42
#
f00b140e6277 PSARC 2016/518 Add iperf3 and EOF iperf 2.0.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    43
# In one terminal window, start the iperf3 server with:
f00b140e6277 PSARC 2016/518 Add iperf3 and EOF iperf 2.0.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    44
#
f00b140e6277 PSARC 2016/518 Add iperf3 and EOF iperf 2.0.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    45
# $ cd .../components/iperf3/build/[amd64,sparcv9]/src
f00b140e6277 PSARC 2016/518 Add iperf3 and EOF iperf 2.0.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    46
# $ ./iperf3 -s
f00b140e6277 PSARC 2016/518 Add iperf3 and EOF iperf 2.0.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    47
#
f00b140e6277 PSARC 2016/518 Add iperf3 and EOF iperf 2.0.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    48
# In another terminal window, start the script to test various commands with:
f00b140e6277 PSARC 2016/518 Add iperf3 and EOF iperf 2.0.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    49
#
f00b140e6277 PSARC 2016/518 Add iperf3 and EOF iperf 2.0.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    50
# $ cd .../components/iperf3/build/[amd64,sparcv9]/
f00b140e6277 PSARC 2016/518 Add iperf3 and EOF iperf 2.0.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    51
# $ ./test_commands.sh localhost
f00b140e6277 PSARC 2016/518 Add iperf3 and EOF iperf 2.0.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    52
#
f00b140e6277 PSARC 2016/518 Add iperf3 and EOF iperf 2.0.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    53
TEST_TARGET= $(NO_TESTS)
f00b140e6277 PSARC 2016/518 Add iperf3 and EOF iperf 2.0.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    54
f00b140e6277 PSARC 2016/518 Add iperf3 and EOF iperf 2.0.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    55
include $(WS_MAKE_RULES)/common.mk
f00b140e6277 PSARC 2016/518 Add iperf3 and EOF iperf 2.0.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    56
f00b140e6277 PSARC 2016/518 Add iperf3 and EOF iperf 2.0.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    57
# Needed to successfully run the test_commands.sh script in a built workspace.
f00b140e6277 PSARC 2016/518 Add iperf3 and EOF iperf 2.0.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    58
COMPONENT_PRE_CONFIGURE_ACTION = \
f00b140e6277 PSARC 2016/518 Add iperf3 and EOF iperf 2.0.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    59
	($(CLONEY) $(SOURCE_DIR) $(@D))
f00b140e6277 PSARC 2016/518 Add iperf3 and EOF iperf 2.0.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    60
f00b140e6277 PSARC 2016/518 Add iperf3 and EOF iperf 2.0.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    61
REQUIRED_PACKAGES += system/library/math