Makefile revision 844
148N/A#
148N/A# CDDL HEADER START
148N/A#
148N/A# The contents of this file are subject to the terms of the
148N/A# Common Development and Distribution License (the "License").
148N/A# You may not use this file except in compliance with the License.
148N/A#
148N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
148N/A# or http://www.opensolaris.org/os/licensing.
148N/A# See the License for the specific language governing permissions
148N/A# and limitations under the License.
148N/A#
148N/A# When distributing Covered Code, include this CDDL HEADER in each
148N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
148N/A# If applicable, add the following below this CDDL HEADER, with the
148N/A# fields enclosed by brackets "[]" replaced with your own identifying
148N/A# information: Portions Copyright [yyyy] [name of copyright owner]
148N/A#
148N/A# CDDL HEADER END
148N/A#
148N/A# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
148N/A#
3817N/Ainclude ../../../make-rules/shared-macros.mk
148N/A
148N/ACOMPONENT_NAME= libibverbs
148N/ACOMPONENT_VERSION= 1.1.4
148N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
148N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC)-1.22.g7257cd3.tar.gz
5134N/ACOMPONENT_ARCHIVE_HASH= \
618N/A sha256:1e04aa9d518e3dc372fdda6bd25bf072caae4c85c38d0ae095a614104aa583d4
148N/ACOMPONENT_ARCHIVE_URL= http://www.openfabrics.org/downloads/libibverbs/$(COMPONENT_ARCHIVE)
148N/A
844N/Ainclude $(WS_TOP)/make-rules/prep.mk
5134N/Ainclude $(WS_TOP)/make-rules/configure.mk
148N/Ainclude ../ofed.mk
1258N/A
148N/A# add flags to get at extra bits from other components' source trees
1002N/ACPPFLAGS += -I$(PWD)/../libmlx4/libmlx4-1.0.1/src
1239N/ACPPFLAGS += -I$(PWD)/../librdmacm/librdmacm-1.0.14.1/include
1002N/A
1239N/ALIBS += -lsocket -lnsl -lkstat
1002N/A
1002N/A# --disable-libcheck is not a supported option for this component
5134N/ADISABLE_LIBCHECK=
2899N/A
3817N/ACOMPONENT_PREP_ACTION = \
3817N/A cp ofa_solaris.h $(@D)/include/infiniband ; \
3817N/A cp solaris_compatibility.c $(@D)/src ; \
3817N/A cd ../libmlx4; gmake prep; \
148N/A cd ../librdmacm; gmake prep
3494N/A
3494N/ACOMPONENT_POST_INSTALL_ACTION = \
148N/A $(RM) $(PROTO_DIR)/$(CONFIGURE_BINDIR.$(BITS))/ibv_uc_pingpong; \
148N/A $(RM) $(PROTO_DIR)/$(CONFIGURE_BINDIR.64)/ibv_devices \
148N/A $(PROTO_DIR)/$(CONFIGURE_BINDIR.64)/ibv_devinfo \
148N/A $(PROTO_DIR)/$(CONFIGURE_BINDIR.64)/ibv_asyncwatch \
148N/A $(PROTO_DIR)/$(CONFIGURE_BINDIR.64)/ibv_rc_pingpong \
148N/A $(PROTO_DIR)/$(CONFIGURE_BINDIR.64)/ibv_uc_pingpong \
148N/A $(PROTO_DIR)/$(CONFIGURE_BINDIR.64)/ibv_ud_pingpong \
3403N/A $(PROTO_DIR)/$(CONFIGURE_BINDIR.64)/ibv_srq_pingpong \
1239N/A $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man1/ibv_uc_pingpong.1 \
1239N/A $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/ibv_reg_xrc_rcv_qp.3 \
148N/A $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/ibv_create_xrc_srq.3 \
148N/A $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/ibv_open_xrc_domain.3 \
148N/A $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/ibv_close_xrc_domain.3 \
690N/A $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/ibv_unreg_xrc_rcv_qp.3 \
148N/A $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/ibv_query_xrc_rcv_qp.3 \
3056N/A $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/ibv_create_xrc_rcv_qp.3 \
3056N/A $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/ibv_modify_xrc_rcv_qp.3
3056N/A
3056N/A# common targets
4982N/Abuild: $(BUILD_32_and_64)
4982N/A
3056N/Ainstall: $(INSTALL_32_and_64)
3056N/A
3056N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
3056N/A
3056N/Atest: $(NO_TESTS)
3127N/A
3127N/Ainclude $(WS_TOP)/make-rules/depend.mk
3056N/A