Makefile revision 867
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# CDDL HEADER START
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# The contents of this file are subject to the terms of the
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# Common Development and Distribution License (the "License").
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# You may not use this file except in compliance with the License.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# or http://www.opensolaris.org/os/licensing.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# See the License for the specific language governing permissions
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# and limitations under the License.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# When distributing Covered Code, include this CDDL HEADER in each
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# If applicable, add the following below this CDDL HEADER, with the
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# fields enclosed by brackets "[]" replaced with your own identifying
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# information: Portions Copyright [yyyy] [name of copyright owner]
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# CDDL HEADER END
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellingtoninclude ../../../make-rules/shared-macros.mk
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonCOMPONENT_ARCHIVE= $(COMPONENT_SRC)-1.22.g7257cd3.tar.gz
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington sha256:1e04aa9d518e3dc372fdda6bd25bf072caae4c85c38d0ae095a614104aa583d4
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonCOMPONENT_ARCHIVE_URL= http://www.openfabrics.org/downloads/libibverbs/$(COMPONENT_ARCHIVE)
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellingtoninclude $(WS_TOP)/make-rules/shared-targets.mk
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# add flags to get at extra bits from other components' source trees
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonCPPFLAGS += -I$(PWD)/../libmlx4/libmlx4-1.0.1/src
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonCPPFLAGS += -I$(PWD)/../librdmacm/librdmacm-1.0.14.1/include
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# --disable-libcheck is not a supported option for this component
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington cp ofa_solaris.h $(@D)/include/infiniband ; \
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington $(RM) $(PROTO_DIR)/$(CONFIGURE_BINDIR.$(BITS))/ibv_uc_pingpong; \
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington $(RM) $(PROTO_DIR)/$(CONFIGURE_BINDIR.64)/ibv_devices \
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington $(PROTO_DIR)/$(CONFIGURE_BINDIR.64)/ibv_devinfo \
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington $(PROTO_DIR)/$(CONFIGURE_BINDIR.64)/ibv_asyncwatch \
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington $(PROTO_DIR)/$(CONFIGURE_BINDIR.64)/ibv_rc_pingpong \
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington $(PROTO_DIR)/$(CONFIGURE_BINDIR.64)/ibv_uc_pingpong \
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington $(PROTO_DIR)/$(CONFIGURE_BINDIR.64)/ibv_ud_pingpong \
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington $(PROTO_DIR)/$(CONFIGURE_BINDIR.64)/ibv_srq_pingpong \
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man1/ibv_uc_pingpong.1 \
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/ibv_reg_xrc_rcv_qp.3 \
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/ibv_create_xrc_srq.3 \
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/ibv_open_xrc_domain.3 \
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/ibv_close_xrc_domain.3 \
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/ibv_unreg_xrc_rcv_qp.3 \
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/ibv_query_xrc_rcv_qp.3 \
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/ibv_create_xrc_rcv_qp.3 \
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/ibv_modify_xrc_rcv_qp.3
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# common targets