369N/A#
369N/A# CDDL HEADER START
369N/A#
369N/A# The contents of this file are subject to the terms of the
369N/A# Common Development and Distribution License (the "License").
369N/A# You may not use this file except in compliance with the License.
369N/A#
369N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
369N/A# or http://www.opensolaris.org/os/licensing.
369N/A# See the License for the specific language governing permissions
369N/A# and limitations under the License.
369N/A#
369N/A# When distributing Covered Code, include this CDDL HEADER in each
369N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
369N/A# If applicable, add the following below this CDDL HEADER, with the
369N/A# fields enclosed by brackets "[]" replaced with your own identifying
369N/A# information: Portions Copyright [yyyy] [name of copyright owner]
369N/A#
369N/A# CDDL HEADER END
369N/A#
5680N/A
5680N/A#
5345N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
369N/A#
5680N/ABUILD_BITS= 64
5680N/Ainclude ../ofed-component-macros.mk
369N/A
369N/ACOMPONENT_NAME= perftest
369N/ACOMPONENT_VERSION= 1.3.0
369N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC)-0.42.gf350d3d.tar.gz
844N/ACOMPONENT_ARCHIVE_HASH= \
844N/A sha256:164d32753ab87ba3152c84f69bf16bb592d77b922e66e753bd9ad0e229675793
5622N/ACOMPONENT_BUGDB= utility/ofuv_tools
369N/A
5680N/AINSTALL_TARGET=
5680N/Ainclude ../ofed-component.mk
369N/A
736N/AMAN1FILES = ib_clock_test.1 \
736N/A ib_write_bw.1 \
736N/A ib_read_bw.1 \
736N/A ib_send_bw.1 \
736N/A rdma_bw.1
369N/A
3817N/Ainclude $(WS_MAKE_RULES)/shared-targets.mk
369N/A
5680N/ALIBS += -lkstat -lrdmacm -libverbs -libumad -libmad
369N/A
369N/ALDFLAGS += -L$(PROTO_DIR)/$(CONFIGURE_LIBDIR.$(BITS))
5345N/ACFLAGS += $(SHARED_INCLUDES) -fgnu89-inline
369N/A
369N/ACOMMON_ARGS += CC="$(CC)"
369N/ACOMMON_ARGS += CFLAGS="$(CFLAGS)"
369N/ACOMMON_ARGS += LDFLAGS="$(LDFLAGS) $(LIBS)"
369N/ACOMMON_ARGS += INSTALL=$(INSTALL)
5680N/ACOMMON_ARGS += BINDIR=$(CONFIGURE_BINDIR.$(BITS))
369N/ACOMPONENT_BUILD_ARGS += $(COMMON_ARGS)
369N/ACOMPONENT_INSTALL_ARGS += $(COMMON_ARGS)
369N/A
2164N/A# need to translate ctrl-M in downloaded send_bw.c
2164N/ACOMPONENT_POST_UNPACK_ACTION= \
2164N/A cd $(@D); \
2164N/A /usr/bin/tr -d '\r' < send_bw.c > send_bw.c.tmp; \
2164N/A mv send_bw.c.tmp send_bw.c; \
2164N/A cd ..;
2164N/A
369N/ACOMPONENT_PREP_ACTION = $(TOUCH) $(@D)/configure
369N/A
369N/ACOMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
369N/A
369N/A# common targets
4659N/Ainstall: $(INSTALL_64) $(PROTOMAN1FILES)
369N/A