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