Makefile revision 5622
70N/A#
70N/A# CDDL HEADER START
286N/A#
70N/A# The contents of this file are subject to the terms of the
70N/A# Common Development and Distribution License (the "License").
70N/A# You may not use this file except in compliance with the License.
70N/A#
70N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
70N/A# or http://www.opensolaris.org/os/licensing.
70N/A# See the License for the specific language governing permissions
70N/A# and limitations under the License.
70N/A#
70N/A# When distributing Covered Code, include this CDDL HEADER in each
70N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
70N/A# If applicable, add the following below this CDDL HEADER, with the
70N/A# fields enclosed by brackets "[]" replaced with your own identifying
70N/A# information: Portions Copyright [yyyy] [name of copyright owner]
70N/A#
70N/A# CDDL HEADER END
70N/A#
70N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
70N/A#
70N/A
70N/A# OFED only builds with GCC
70N/ACOMPILER=gcc
70N/A
70N/Ainclude ../../../make-rules/shared-macros.mk
70N/A
70N/ACOMPONENT_NAME= librdmacm
70N/ACOMPONENT_VERSION= 1.0.14.1
472N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
70N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
70N/ACOMPONENT_ARCHIVE_HASH= \
70N/A sha256:b74d367415b4f294f3821955428f3e362b91f779042c88970f99941216c13a7c
359N/ACOMPONENT_ARCHIVE_URL= http://www.openfabrics.org/downloads/rdmacm/$(COMPONENT_ARCHIVE)
359N/ACOMPONENT_BUGDB= library/ofuv_lib
359N/A
98N/Ainclude $(WS_MAKE_RULES)/prep.mk
321N/Ainclude $(WS_MAKE_RULES)/configure.mk
321N/Ainclude ../ofed.mk
213N/A
304N/ALIBS += -libverbs -lsocket -lnsl
425N/A
425N/ACLEANUP_FILES =\
325N/A $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man1/rdma_server.1\
456N/A $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man1/rdma_client.1\
320N/A $(PROTOUSRBINDIR)/rdma_server\
332N/A $(PROTOUSRBINDIR)/rdma_client\
231N/A $(PROTOUSRBINDIR)/$(MACH64)/rdma_server\
98N/A $(PROTOUSRBINDIR)/$(MACH64)/rdma_client\
347N/A $(PROTOUSRINCDIR)/infiniband/ib.h\
463N/A $(PROTOUSRINCDIR)/rdma/rdma_cma_abi.h\
346N/A $(PROTO_DIR)/$(CONFIGURE_LIBDIR.32)/$(COMPONENT_NAME).la\
425N/A $(PROTO_DIR)/$(CONFIGURE_LIBDIR.64)/$(COMPONENT_NAME).la
472N/A
324N/ACOMPONENT_PREP_ACTION = \
347N/A $(TOUCH) $(COMPONENT_SRC)/Makefile.in
310N/A
316N/ACONFIGURE_OPTIONS += --bindir=$(USRBINDIR)
290N/A
332N/ACOMPONENT_POST_INSTALL_ACTION = \
464N/A $(RM) $(CLEANUP_FILES);
332N/A
332N/A#COMPONENT_PRE_CONFIGURE_ACTION
210N/A
128N/A# common targets
414N/Aconfigure: $(CONFIGURE_32_and_64)
326N/A
335N/Abuild: $(BUILD_32_and_64)
425N/A
370N/Ainstall: $(INSTALL_32_and_64)
70N/A
400N/Atest: $(NO_TESTS)
294N/A
435N/Asystem-test: $(NO_TESTS)
98N/A
434N/A