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