Makefile revision 844
0N/A#
0N/A# CDDL HEADER START
0N/A#
0N/A# The contents of this file are subject to the terms of the
0N/A# Common Development and Distribution License (the "License").
0N/A# You may not use this file except in compliance with the License.
0N/A#
0N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0N/A# or http://www.opensolaris.org/os/licensing.
0N/A# See the License for the specific language governing permissions
0N/A# and limitations under the License.
0N/A#
0N/A# When distributing Covered Code, include this CDDL HEADER in each
0N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0N/A# If applicable, add the following below this CDDL HEADER, with the
0N/A# fields enclosed by brackets "[]" replaced with your own identifying
0N/A# information: Portions Copyright [yyyy] [name of copyright owner]
0N/A#
0N/A# CDDL HEADER END
0N/A#
1067N/A# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
1185N/A#
1185N/Ainclude ../../../make-rules/shared-macros.mk
0N/A
0N/ACOMPONENT_NAME= perftest
0N/ACOMPONENT_VERSION= 1.3.0
850N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
850N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC)-0.42.gf350d3d.tar.gz
850N/ACOMPONENT_ARCHIVE_HASH= \
850N/A sha256:164d32753ab87ba3152c84f69bf16bb592d77b922e66e753bd9ad0e229675793
0N/ACOMPONENT_ARCHIVE_URL= http://www.openfabrics.org/downloads/perftest/$(COMPONENT_ARCHIVE)
0N/A
0N/A$(BUILD_32): BITS=32
0N/A$(BUILD_64): BITS=64
0N/A$(INSTALL_32): BITS=32
850N/A$(INSTALL_64): BITS=64
0N/A
0N/Ainclude $(WS_TOP)/make-rules/prep.mk
850N/Ainclude $(WS_TOP)/make-rules/configure.mk
1185N/Ainclude ../ofed.mk
1185N/A
1185N/AMAN1FILES = ib_clock_test.1 \
0N/A ib_write_bw.1 \
1020N/A ib_read_bw.1 \
0N/A ib_send_bw.1 \
1281N/A rdma_bw.1
1281N/A
1281N/Ainclude $(WS_TOP)/make-rules/shared-targets.mk
1020N/A
974N/ALIBS += -lsocket -lnsl -lkstat -lrdmacm -libverbs -libumad -libmad
974N/A
974N/ALDFLAGS += -L$(PROTO_DIR)/$(CONFIGURE_LIBDIR.$(BITS))
0N/ACFLAGS += $(SHARED_INCLUDES)
1020N/A
1020N/ACOMMON_ARGS += CC="$(CC)"
1020N/ACOMMON_ARGS += CFLAGS="$(CFLAGS)"
1020N/ACOMMON_ARGS += LDFLAGS="$(LDFLAGS) $(LIBS)"
1020N/ACOMMON_ARGS += INSTALL=$(INSTALL)
1020N/ACOMMON_ARGS += BINDIR=$(CONFIGURE_BINDIR.$(BITS))
1185N/ACOMPONENT_BUILD_ARGS += $(COMMON_ARGS)
1185N/ACOMPONENT_INSTALL_ARGS += $(COMMON_ARGS)
1185N/A
1281N/ACOMPONENT_PREP_ACTION = $(TOUCH) $(@D)/configure
1281N/A
1281N/ACOMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
1281N/A
1185N/A# common targets
1185N/Abuild: $(BUILD_32_and_64)
1281N/A
1281N/Ainstall: $(INSTALL_32_and_64) $(PROTOMAN1FILES)
1281N/A
1281N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
1185N/A
1185N/Atest: $(NO_TESTS)
1281N/A
1281N/Ainclude $(WS_TOP)/make-rules/depend.mk
1281N/A