Makefile revision 5622
369N/A#
369N/A# CDDL HEADER START
369N/A#
369N/A# The contents of this file are subject to the terms of the
369N/A# Common Development and Distribution License (the "License").
369N/A# You may not use this file except in compliance with the License.
369N/A#
369N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
369N/A# or http://www.opensolaris.org/os/licensing.
369N/A# See the License for the specific language governing permissions
369N/A# and limitations under the License.
369N/A#
369N/A# When distributing Covered Code, include this CDDL HEADER in each
369N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
369N/A# If applicable, add the following below this CDDL HEADER, with the
369N/A# fields enclosed by brackets "[]" replaced with your own identifying
369N/A# information: Portions Copyright [yyyy] [name of copyright owner]
369N/A#
369N/A# CDDL HEADER END
369N/A#
5622N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
369N/A#
3817N/A
3817N/A# OFED only builds with GCC
4659N/ACOMPILER=gcc
3817N/A
369N/Ainclude ../../../make-rules/shared-macros.mk
369N/A
369N/ACOMPONENT_NAME= libibumad
369N/ACOMPONENT_VERSION= 1.3.7
369N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
369N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
844N/ACOMPONENT_ARCHIVE_HASH= \
844N/A sha256:4999cb9ff5c7243027d8a154d6b27d1efffaa4359b84447731c5ef545fb72229
369N/ACOMPONENT_ARCHIVE_URL= http://www.openfabrics.org/downloads/management/$(COMPONENT_ARCHIVE)
5622N/ACOMPONENT_BUGDB= library/ofuv_lib
369N/A
3817N/Ainclude $(WS_MAKE_RULES)/prep.mk
3817N/Ainclude $(WS_MAKE_RULES)/configure.mk
369N/Ainclude ../ofed.mk
369N/A
369N/ALIBS += -lsocket -lnsl -libverbs
369N/A
369N/ACLEANUP_FILES = $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_free.3 \
369N/A $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_done.3 \
369N/A $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_send.3 \
369N/A $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_recv.3 \
369N/A $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_init.3 \
369N/A $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_dump.3 \
369N/A $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_poll.3 \
369N/A $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_size.3 \
369N/A $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_debug.3 \
369N/A $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_alloc.3 \
369N/A $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_get_ca.3 \
369N/A $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_get_fd.3 \
369N/A $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_status.3 \
369N/A $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_get_mad.3 \
369N/A $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_set_grh.3 \
369N/A $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_set_addr.3 \
369N/A $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_get_pkey.3 \
369N/A $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_get_port.3 \
369N/A $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_set_pkey.3 \
369N/A $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_register.3 \
369N/A $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_addr_dump.3 \
369N/A $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_open_port.3 \
369N/A $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_release_ca.3 \
369N/A $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_close_port.3 \
369N/A $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_unregister.3 \
369N/A $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_set_grh_net.3 \
369N/A $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_get_mad_addr.3 \
369N/A $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_set_addr_net.3 \
369N/A $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_release_port.3 \
369N/A $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_register_oui.3 \
369N/A $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_get_cas_names.3 \
369N/A $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_get_issm_path.3 \
369N/A $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_get_ca_portguids.3
369N/A
369N/ACOMPONENT_POST_INSTALL_ACTION = \
369N/A $(RM) $(PROTO_DIR)/$(CONFIGURE_LIBDIR.32)/$(COMPONENT_NAME).la;\
369N/A $(RM) $(PROTO_DIR)/$(CONFIGURE_LIBDIR.64)/$(COMPONENT_NAME).la;\
369N/A $(RM) $(CLEANUP_FILES)
369N/A
369N/A
369N/A# common targets
3477N/Aconfigure: $(CONFIGURE_32_and_64)
3477N/A
369N/Abuild: $(BUILD_32_and_64)
369N/A
369N/Ainstall: $(INSTALL_32_and_64)
369N/A
369N/Atest: $(NO_TESTS)
369N/A
4337N/Asystem-test: $(NO_TESTS)
4337N/A