Makefile revision 5345
1c57c3f79db0bf0358bbe6d7b5ad650c0c852f4bTinderbox User# CDDL HEADER START
1c57c3f79db0bf0358bbe6d7b5ad650c0c852f4bTinderbox User# The contents of this file are subject to the terms of the
1c57c3f79db0bf0358bbe6d7b5ad650c0c852f4bTinderbox User# Common Development and Distribution License (the "License").
1c57c3f79db0bf0358bbe6d7b5ad650c0c852f4bTinderbox User# You may not use this file except in compliance with the License.
1c57c3f79db0bf0358bbe6d7b5ad650c0c852f4bTinderbox User# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1c57c3f79db0bf0358bbe6d7b5ad650c0c852f4bTinderbox User# See the License for the specific language governing permissions
1c57c3f79db0bf0358bbe6d7b5ad650c0c852f4bTinderbox User# and limitations under the License.
1c57c3f79db0bf0358bbe6d7b5ad650c0c852f4bTinderbox User# When distributing Covered Code, include this CDDL HEADER in each
1c57c3f79db0bf0358bbe6d7b5ad650c0c852f4bTinderbox User# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1c57c3f79db0bf0358bbe6d7b5ad650c0c852f4bTinderbox User# If applicable, add the following below this CDDL HEADER, with the
1c57c3f79db0bf0358bbe6d7b5ad650c0c852f4bTinderbox User# fields enclosed by brackets "[]" replaced with your own identifying
1c57c3f79db0bf0358bbe6d7b5ad650c0c852f4bTinderbox User# information: Portions Copyright [yyyy] [name of copyright owner]
1c57c3f79db0bf0358bbe6d7b5ad650c0c852f4bTinderbox User# CDDL HEADER END
1c57c3f79db0bf0358bbe6d7b5ad650c0c852f4bTinderbox User# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# OFED only builds with GCC
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox UserCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox UserCOMPONENT_ARCHIVE= $(COMPONENT_SRC)-0.42.gf350d3d.tar.gz
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt sha256:164d32753ab87ba3152c84f69bf16bb592d77b922e66e753bd9ad0e229675793
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox UserCOMPONENT_ARCHIVE_URL= http://www.openfabrics.org/downloads/perftest/$(COMPONENT_ARCHIVE)
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntLIBS += -lsocket -lnsl -lkstat -lrdmacm -libverbs -libumad -libmad
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox UserLDFLAGS += -L$(PROTO_DIR)/$(CONFIGURE_LIBDIR.$(BITS))
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# need to translate ctrl-M in downloaded send_bw.c
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User /usr/bin/tr -d '\r' < send_bw.c > send_bw.c.tmp; \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox UserCOMPONENT_PREP_ACTION = $(TOUCH) $(@D)/configure
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox UserCOMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# common targets