311N/A#
311N/A# CDDL HEADER START
311N/A#
311N/A# The contents of this file are subject to the terms of the
311N/A# Common Development and Distribution License (the "License").
311N/A# You may not use this file except in compliance with the License.
311N/A#
311N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
311N/A# or http://www.opensolaris.org/os/licensing.
311N/A# See the License for the specific language governing permissions
311N/A# and limitations under the License.
311N/A#
311N/A# When distributing Covered Code, include this CDDL HEADER in each
311N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
311N/A# If applicable, add the following below this CDDL HEADER, with the
311N/A# fields enclosed by brackets "[]" replaced with your own identifying
311N/A# information: Portions Copyright [yyyy] [name of copyright owner]
311N/A#
311N/A# CDDL HEADER END
311N/A#
311N/A
311N/A#
3996N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
311N/A#
311N/A
311N/Ainclude ../../make-rules/shared-macros.mk
311N/A
311N/ACOMPONENT_NAME= iperf
311N/ACOMPONENT_VERSION= 2.0.4
311N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
618N/ACOMPONENT_PROJECT_URL= http://sourceforge.net/projects/iperf/
311N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
844N/ACOMPONENT_ARCHIVE_HASH= \
844N/A sha256:3b52f1c178d6a99c27114929d5469c009197d15379c967b329bafb956f397944
311N/ACOMPONENT_ARCHIVE_URL= http://downloads.sourceforge.net/iperf/$(COMPONENT_ARCHIVE)
1273N/ACOMPONENT_BUGDB= utility/iperf
311N/A
3661N/ATPNO= 5730
3661N/A
3996N/Ainclude $(WS_MAKE_RULES)/prep.mk
3996N/Ainclude $(WS_MAKE_RULES)/configure.mk
3996N/Ainclude $(WS_MAKE_RULES)/ips.mk
311N/A
600N/ACOMPONENT_PRE_CONFIGURE_ACTION = \
600N/A ($(CLONEY) $(SOURCE_DIR) $(@D))
600N/A
311N/ACONFIGURE_OPTIONS += PTHREAD_CFLAGS=-pthreads
311N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
311N/ACONFIGURE_OPTIONS += CXXFLAGS="$(CXXFLAGS)"
311N/A
311N/A# these default to unnecessary gcc options, which
311N/A# are all that prevents us from using studio. so null them.
311N/ACOMPONENT_BUILD_ARGS += AM_CXXFLAGS=""
311N/ACOMPONENT_BUILD_ARGS += AM_CFLAGS=""
311N/A
311N/A
311N/A# common targets
311N/Abuild: $(BUILD_32)
311N/A
311N/Ainstall: $(INSTALL_32)
311N/A
311N/Atest: $(NO_TESTS)
311N/A
311N/A
3996N/AREQUIRED_PACKAGES += system/library
3996N/AREQUIRED_PACKAGES += system/library/c++-runtime
3996N/AREQUIRED_PACKAGES += system/library/math