Makefile revision 3817
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updater# CDDL HEADER START
18920d790825d96ca3943aa2dcb6eb80dc611c5fTinderbox User# The contents of this file are subject to the terms of the
ab496cc3df1648e9ad992a87c35c2c0870fdc69dTinderbox User# Common Development and Distribution License (the "License").
7c1468ed500356839a4a222517364e6ce18cb1a2Tinderbox User# You may not use this file except in compliance with the License.
a7c412f37cc73d0332887a746e81220cbf09dd00Mark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews# See the License for the specific language governing permissions
8de3f14f1c300c3e1ed99084cc03485b42c92bf1Tinderbox User# and limitations under the License.
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User# When distributing Covered Code, include this CDDL HEADER in each
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
e676a596869d8a80a644c99a848afb53d1c5975eMark Andrews# If applicable, add the following below this CDDL HEADER, with the
e676a596869d8a80a644c99a848afb53d1c5975eMark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
a7c412f37cc73d0332887a746e81220cbf09dd00Mark Andrews# CDDL HEADER END
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# OFED only builds with GCC
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox UserCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark AndrewsCOMPONENT_ARCHIVE= $(COMPONENT_SRC)-0.42.gf350d3d.tar.gz
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User sha256:164d32753ab87ba3152c84f69bf16bb592d77b922e66e753bd9ad0e229675793
0eb371ca0dab50ae3462e98794a6126198c52f4bMark AndrewsCOMPONENT_ARCHIVE_URL= http://www.openfabrics.org/downloads/perftest/$(COMPONENT_ARCHIVE)
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan HuntLIBS += -lsocket -lnsl -lkstat -lrdmacm -libverbs -libumad -libmad
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterLDFLAGS += -L$(PROTO_DIR)/$(CONFIGURE_LIBDIR.$(BITS))
0eb371ca0dab50ae3462e98794a6126198c52f4bMark AndrewsCOMMON_ARGS += BINDIR=$(CONFIGURE_BINDIR.$(BITS))
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# need to translate ctrl-M in downloaded send_bw.c
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater /usr/bin/tr -d '\r' < send_bw.c > send_bw.c.tmp; \
0eb371ca0dab50ae3462e98794a6126198c52f4bMark AndrewsCOMPONENT_PREP_ACTION = $(TOUCH) $(@D)/configure
0eb371ca0dab50ae3462e98794a6126198c52f4bMark AndrewsCOMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
2ae159b376dac23870d8005563c585acf85a4b5aEvan Hunt# common targets