Makefile revision 2899
f743002678eb67b99bbc29fee116b65d9530fec0wrowe
80833bb9a1bf25dcf19e814438a4b311d2e1f4cffuankg# CDDL HEADER START
a34684a59b60a4173c25035d0c627ef17e6dc215rpluem#
d7205b1a86c51c27b71a2c458dc453fd53a261c1covener# The contents of this file are subject to the terms of the
d7205b1a86c51c27b71a2c458dc453fd53a261c1covener# Common Development and Distribution License (the "License").
d7205b1a86c51c27b71a2c458dc453fd53a261c1covener# You may not use this file except in compliance with the License.
d7205b1a86c51c27b71a2c458dc453fd53a261c1covener#
d7205b1a86c51c27b71a2c458dc453fd53a261c1covener# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
44ff304057225e944e220e981d434a046d14cf06covener# or http://www.opensolaris.org/os/licensing.
44ff304057225e944e220e981d434a046d14cf06covener# See the License for the specific language governing permissions
44ff304057225e944e220e981d434a046d14cf06covener# and limitations under the License.
44ff304057225e944e220e981d434a046d14cf06covener#
ea30bfa68d711e27206df00abb140174b4e65ed7ylavic# When distributing Covered Code, include this CDDL HEADER in each
ea30bfa68d711e27206df00abb140174b4e65ed7ylavic# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
ea30bfa68d711e27206df00abb140174b4e65ed7ylavic# If applicable, add the following below this CDDL HEADER, with the
ea30bfa68d711e27206df00abb140174b4e65ed7ylavic# fields enclosed by brackets "[]" replaced with your own identifying
291eb44b3adaf8247425286615b4f4b69fbea274minfrin# information: Portions Copyright [yyyy] [name of copyright owner]
291eb44b3adaf8247425286615b4f4b69fbea274minfrin#
291eb44b3adaf8247425286615b4f4b69fbea274minfrin# CDDL HEADER END
5d1ba75b8794925e67591c209085a49279791de9covener#
5d1ba75b8794925e67591c209085a49279791de9covener# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
5d1ba75b8794925e67591c209085a49279791de9covener#
032982212dbcc7c3cce95bf89c503bb56e185ac7kbrandinclude ../../../make-rules/shared-macros.mk
032982212dbcc7c3cce95bf89c503bb56e185ac7kbrand
032982212dbcc7c3cce95bf89c503bb56e185ac7kbrandCOMPONENT_NAME= libibverbs
032982212dbcc7c3cce95bf89c503bb56e185ac7kbrandCOMPONENT_VERSION= 1.1.4
caad2986f81ab263f7af41467dd622dc9add17f3ylavicCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
caad2986f81ab263f7af41467dd622dc9add17f3ylavicCOMPONENT_ARCHIVE= $(COMPONENT_SRC)-1.22.g7257cd3.tar.gz
caad2986f81ab263f7af41467dd622dc9add17f3ylavicCOMPONENT_ARCHIVE_HASH= \
caad2986f81ab263f7af41467dd622dc9add17f3ylavic sha256:1e04aa9d518e3dc372fdda6bd25bf072caae4c85c38d0ae095a614104aa583d4
45a10d38e6051fd7bdf9d742aaae633d97ff02abjailletcCOMPONENT_ARCHIVE_URL= http://www.openfabrics.org/downloads/libibverbs/$(COMPONENT_ARCHIVE)
f7317ff316c2b141feea31bddb74d5d3fa1584edjorton
f7317ff316c2b141feea31bddb74d5d3fa1584edjortoninclude $(WS_TOP)/make-rules/prep.mk
939a5386274c80af51ee9fff4b0ca29f0c799da5covenerinclude $(WS_TOP)/make-rules/configure.mk
939a5386274c80af51ee9fff4b0ca29f0c799da5covenerinclude ../ofed.mk
939a5386274c80af51ee9fff4b0ca29f0c799da5covener
939a5386274c80af51ee9fff4b0ca29f0c799da5covenerMAN3FILES = ibv_alloc_shpd.3 \
4472df9a373740420f81c4c14a331b54d2f91603covener ibv_reg_mr_relaxed.3 \
4472df9a373740420f81c4c14a331b54d2f91603covener ibv_share_pd.3 \
4472df9a373740420f81c4c14a331b54d2f91603covener ibv_gid_reachable.3 \
2165214331e4afafca4048f66f303d0253d7b001covener ibv_register_sm_events.3
a34684a59b60a4173c25035d0c627ef17e6dc215rpluem
a34684a59b60a4173c25035d0c627ef17e6dc215rplueminclude $(WS_TOP)/make-rules/shared-targets.mk
08e054046d0c7e5532c66769ba80c69a7b4d8245ylavic
08e054046d0c7e5532c66769ba80c69a7b4d8245ylavic# add flags to get at extra bits from other components' source trees
08e054046d0c7e5532c66769ba80c69a7b4d8245ylavicCPPFLAGS += -I$(PWD)/../libmlx4/libmlx4-1.0.1/src
9bfe773a084210dd794672fbfd3d6d401d7fe122ylavicCPPFLAGS += -I$(PWD)/../librdmacm/librdmacm-1.0.14.1/include
9bfe773a084210dd794672fbfd3d6d401d7fe122ylavic
9bfe773a084210dd794672fbfd3d6d401d7fe122ylavicLIBS += -lsocket -lnsl -lkstat
1e2d421a36999d292042a5539971070d54aa6c63ylavic
1e2d421a36999d292042a5539971070d54aa6c63ylavic# --disable-libcheck is not a supported option for this component
1e2d421a36999d292042a5539971070d54aa6c63ylavicDISABLE_LIBCHECK=
fa7ed98b9dc94c5845cf845aea0a44ecacd290c9humbedooh
fa7ed98b9dc94c5845cf845aea0a44ecacd290c9humbedoohCOMPONENT_PREP_ACTION = \
fa7ed98b9dc94c5845cf845aea0a44ecacd290c9humbedooh cp ofa_solaris.h $(@D)/include/infiniband ; \
0b67eb8568cd58bb77082703951679b42cf098actrawick cp solaris_compatibility.c $(@D)/src ; \
0b67eb8568cd58bb77082703951679b42cf098actrawick cd ../libmlx4; gmake prep; \
0b67eb8568cd58bb77082703951679b42cf098actrawick cd ../librdmacm; gmake prep
0b67eb8568cd58bb77082703951679b42cf098actrawick
06bb3e11d3e997937534ae7bd45b3631d3b5e5bacovenerCOMPONENT_POST_INSTALL_ACTION = \
06bb3e11d3e997937534ae7bd45b3631d3b5e5bacovener $(RM) $(PROTO_DIR)/$(CONFIGURE_BINDIR.$(BITS))/ibv_uc_pingpong; \
2165214331e4afafca4048f66f303d0253d7b001covener $(RM) $(PROTO_DIR)/$(CONFIGURE_BINDIR.64)/ibv_devices \
06bb3e11d3e997937534ae7bd45b3631d3b5e5bacovener $(PROTO_DIR)/$(CONFIGURE_BINDIR.64)/ibv_devinfo \
5ef3c61605a3a021ff71f488983cb0065f8e1a79covener $(PROTO_DIR)/$(CONFIGURE_BINDIR.64)/ibv_asyncwatch \
fb1985a97912b25ec6564c73e610a31e5fc6e25fcovener $(PROTO_DIR)/$(CONFIGURE_BINDIR.64)/ibv_rc_pingpong \
09c87c777bed1655621bb20e1c46cb6b1a63279dcovener $(PROTO_DIR)/$(CONFIGURE_BINDIR.64)/ibv_uc_pingpong \
cf8b985ec0a63b15a1c8f2990d96009a11e0d68ecovener $(PROTO_DIR)/$(CONFIGURE_BINDIR.64)/ibv_ud_pingpong \
cf8b985ec0a63b15a1c8f2990d96009a11e0d68ecovener $(PROTO_DIR)/$(CONFIGURE_BINDIR.64)/ibv_srq_pingpong \
cf8b985ec0a63b15a1c8f2990d96009a11e0d68ecovener $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man1/ibv_uc_pingpong.1 \
6bbcfe3fb8489d6e87770d37d97b7a5cd4fabceeylavic $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/ibv_reg_xrc_rcv_qp.3 \
6bbcfe3fb8489d6e87770d37d97b7a5cd4fabceeylavic $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/ibv_create_xrc_srq.3 \
6bbcfe3fb8489d6e87770d37d97b7a5cd4fabceeylavic $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/ibv_open_xrc_domain.3 \
6bbcfe3fb8489d6e87770d37d97b7a5cd4fabceeylavic $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/ibv_close_xrc_domain.3 \
6502b7b32f980cc2093bb3ebce37e5e4dc68fba4ylavic $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/ibv_unreg_xrc_rcv_qp.3 \
6502b7b32f980cc2093bb3ebce37e5e4dc68fba4ylavic $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/ibv_query_xrc_rcv_qp.3 \
3060ce7f798fbda7999cd4ddf89b525d2b294185covener $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/ibv_create_xrc_rcv_qp.3 \
c85eff31536e6bfef1537b2435564d48665435d3rpluem $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/ibv_modify_xrc_rcv_qp.3
c85eff31536e6bfef1537b2435564d48665435d3rpluem
c85eff31536e6bfef1537b2435564d48665435d3rpluem# common targets
c85eff31536e6bfef1537b2435564d48665435d3rpluembuild: $(BUILD_32_and_64)
c1a63b8fad09c419c1a64f75993feb8a343a6801ylavic
c1a63b8fad09c419c1a64f75993feb8a343a6801ylavicinstall: $(INSTALL_32_and_64) $(PROTOMAN3FILES)
c1a63b8fad09c419c1a64f75993feb8a343a6801ylavic
e6b4bd1113567627ab6bb6c6a7105e1e01a7d889jailletcBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
e6b4bd1113567627ab6bb6c6a7105e1e01a7d889jailletc
e466c40e1801982602ee0200c9e8b61cc148742djailletctest: $(NO_TESTS)
e466c40e1801982602ee0200c9e8b61cc148742djailletc
457468b82e59d01eba00dd9d0817309c8f5e414ejiminclude $(WS_TOP)/make-rules/depend.mk
457468b82e59d01eba00dd9d0817309c8f5e414ejim