Makefile revision 4659
fbaa3c719d2586c59eeea0bf9995a6854106c5ffnd#
fbaa3c719d2586c59eeea0bf9995a6854106c5ffnd# CDDL HEADER START
fbaa3c719d2586c59eeea0bf9995a6854106c5ffnd#
5f5d1b4cc970b7f06ff8ef6526128e9a27303d88nd# The contents of this file are subject to the terms of the
fbaa3c719d2586c59eeea0bf9995a6854106c5ffnd# Common Development and Distribution License (the "License").
6d9c7d0283713aa8ae15fef7e9bfe2c7bfa73872nd# You may not use this file except in compliance with the License.
db479b48bd4d75423ed4a45e15b75089d1a8ad72fielding#
db479b48bd4d75423ed4a45e15b75089d1a8ad72fielding# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
db479b48bd4d75423ed4a45e15b75089d1a8ad72fielding# or http://www.opensolaris.org/os/licensing.
db479b48bd4d75423ed4a45e15b75089d1a8ad72fielding# See the License for the specific language governing permissions
db479b48bd4d75423ed4a45e15b75089d1a8ad72fielding# and limitations under the License.
db479b48bd4d75423ed4a45e15b75089d1a8ad72fielding#
6d9c7d0283713aa8ae15fef7e9bfe2c7bfa73872nd# When distributing Covered Code, include this CDDL HEADER in each
6d9c7d0283713aa8ae15fef7e9bfe2c7bfa73872nd# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6d9c7d0283713aa8ae15fef7e9bfe2c7bfa73872nd# If applicable, add the following below this CDDL HEADER, with the
6d9c7d0283713aa8ae15fef7e9bfe2c7bfa73872nd# fields enclosed by brackets "[]" replaced with your own identifying
6d9c7d0283713aa8ae15fef7e9bfe2c7bfa73872nd# information: Portions Copyright [yyyy] [name of copyright owner]
6d9c7d0283713aa8ae15fef7e9bfe2c7bfa73872nd#
6d9c7d0283713aa8ae15fef7e9bfe2c7bfa73872nd# CDDL HEADER END
6d9c7d0283713aa8ae15fef7e9bfe2c7bfa73872nd#
6d9c7d0283713aa8ae15fef7e9bfe2c7bfa73872nd# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
6d9c7d0283713aa8ae15fef7e9bfe2c7bfa73872nd#
7db9f691a00ead175b03335457ca296a33ddf31bnd
3577f1d38e53397f6b431c02011f875316b2f070nd# OFED only builds with GCC
fbaa3c719d2586c59eeea0bf9995a6854106c5ffndCOMPILER=gcc
fbaa3c719d2586c59eeea0bf9995a6854106c5ffnd
fbaa3c719d2586c59eeea0bf9995a6854106c5ffndinclude ../../../make-rules/shared-macros.mk
fbaa3c719d2586c59eeea0bf9995a6854106c5ffnd
fbaa3c719d2586c59eeea0bf9995a6854106c5ffndCOMPONENT_NAME= libibumad
fbaa3c719d2586c59eeea0bf9995a6854106c5ffndCOMPONENT_VERSION= 1.3.7
04572eae7a7bc936455d34393d9b2b47b7983d0dbnicholesCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
fbaa3c719d2586c59eeea0bf9995a6854106c5ffndCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
fbaa3c719d2586c59eeea0bf9995a6854106c5ffndCOMPONENT_ARCHIVE_HASH= \
fbaa3c719d2586c59eeea0bf9995a6854106c5ffnd sha256:4999cb9ff5c7243027d8a154d6b27d1efffaa4359b84447731c5ef545fb72229
fbaa3c719d2586c59eeea0bf9995a6854106c5ffndCOMPONENT_ARCHIVE_URL= http://www.openfabrics.org/downloads/management/$(COMPONENT_ARCHIVE)
ae382386f18506586972cdd63c09bb27a1685062nd
ae382386f18506586972cdd63c09bb27a1685062ndinclude $(WS_MAKE_RULES)/prep.mk
ae382386f18506586972cdd63c09bb27a1685062ndinclude $(WS_MAKE_RULES)/configure.mk
ae382386f18506586972cdd63c09bb27a1685062ndinclude ../ofed.mk
ae382386f18506586972cdd63c09bb27a1685062nd
ae382386f18506586972cdd63c09bb27a1685062ndLIBS += -lsocket -lnsl -libverbs
ae382386f18506586972cdd63c09bb27a1685062nd
ae382386f18506586972cdd63c09bb27a1685062ndCLEANUP_FILES = $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_free.3 \
ae382386f18506586972cdd63c09bb27a1685062nd $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_done.3 \
ae382386f18506586972cdd63c09bb27a1685062nd $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_send.3 \
ae382386f18506586972cdd63c09bb27a1685062nd $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_recv.3 \
fbaa3c719d2586c59eeea0bf9995a6854106c5ffnd $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_init.3 \
fbaa3c719d2586c59eeea0bf9995a6854106c5ffnd $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_dump.3 \
fbaa3c719d2586c59eeea0bf9995a6854106c5ffnd $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_poll.3 \
fbaa3c719d2586c59eeea0bf9995a6854106c5ffnd $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_size.3 \
fbaa3c719d2586c59eeea0bf9995a6854106c5ffnd $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_debug.3 \
fbaa3c719d2586c59eeea0bf9995a6854106c5ffnd $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_alloc.3 \
fbaa3c719d2586c59eeea0bf9995a6854106c5ffnd $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_get_ca.3 \
fbaa3c719d2586c59eeea0bf9995a6854106c5ffnd $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_get_fd.3 \
fbaa3c719d2586c59eeea0bf9995a6854106c5ffnd $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_status.3 \
fbaa3c719d2586c59eeea0bf9995a6854106c5ffnd $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_get_mad.3 \
fbaa3c719d2586c59eeea0bf9995a6854106c5ffnd $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_set_grh.3 \
fbaa3c719d2586c59eeea0bf9995a6854106c5ffnd $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_set_addr.3 \
fbaa3c719d2586c59eeea0bf9995a6854106c5ffnd $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_get_pkey.3 \
860b4efe27e7c1c9a2bf5c872b29c90f76849b51jim $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_get_port.3 \
04572eae7a7bc936455d34393d9b2b47b7983d0dbnicholes $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_set_pkey.3 \
860b4efe27e7c1c9a2bf5c872b29c90f76849b51jim $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_register.3 \
04572eae7a7bc936455d34393d9b2b47b7983d0dbnicholes $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_addr_dump.3 \
04572eae7a7bc936455d34393d9b2b47b7983d0dbnicholes $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_open_port.3 \
fbaa3c719d2586c59eeea0bf9995a6854106c5ffnd $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_release_ca.3 \
fbaa3c719d2586c59eeea0bf9995a6854106c5ffnd $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_close_port.3 \
fbaa3c719d2586c59eeea0bf9995a6854106c5ffnd $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_unregister.3 \
fbaa3c719d2586c59eeea0bf9995a6854106c5ffnd $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_set_grh_net.3 \
04572eae7a7bc936455d34393d9b2b47b7983d0dbnicholes $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_get_mad_addr.3 \
04572eae7a7bc936455d34393d9b2b47b7983d0dbnicholes $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_set_addr_net.3 \
04572eae7a7bc936455d34393d9b2b47b7983d0dbnicholes $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_release_port.3 \
860b4efe27e7c1c9a2bf5c872b29c90f76849b51jim $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_register_oui.3 \
04572eae7a7bc936455d34393d9b2b47b7983d0dbnicholes $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_get_cas_names.3 \
04572eae7a7bc936455d34393d9b2b47b7983d0dbnicholes $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_get_issm_path.3 \
fbaa3c719d2586c59eeea0bf9995a6854106c5ffnd $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_get_ca_portguids.3
fbaa3c719d2586c59eeea0bf9995a6854106c5ffnd
fbaa3c719d2586c59eeea0bf9995a6854106c5ffndCOMPONENT_POST_INSTALL_ACTION = \
fbaa3c719d2586c59eeea0bf9995a6854106c5ffnd $(RM) $(PROTO_DIR)/$(CONFIGURE_LIBDIR.32)/$(COMPONENT_NAME).la;\
fbaa3c719d2586c59eeea0bf9995a6854106c5ffnd $(RM) $(PROTO_DIR)/$(CONFIGURE_LIBDIR.64)/$(COMPONENT_NAME).la;\
fbaa3c719d2586c59eeea0bf9995a6854106c5ffnd $(RM) $(CLEANUP_FILES)
fbaa3c719d2586c59eeea0bf9995a6854106c5ffnd
fbaa3c719d2586c59eeea0bf9995a6854106c5ffnd
fbaa3c719d2586c59eeea0bf9995a6854106c5ffnd# common targets
fbaa3c719d2586c59eeea0bf9995a6854106c5ffndconfigure: $(CONFIGURE_32_and_64)
fbaa3c719d2586c59eeea0bf9995a6854106c5ffnd
04572eae7a7bc936455d34393d9b2b47b7983d0dbnicholesbuild: $(BUILD_32_and_64)
860b4efe27e7c1c9a2bf5c872b29c90f76849b51jim
04572eae7a7bc936455d34393d9b2b47b7983d0dbnicholesinstall: $(INSTALL_32_and_64)
fbaa3c719d2586c59eeea0bf9995a6854106c5ffnd
fbaa3c719d2586c59eeea0bf9995a6854106c5ffndtest: $(NO_TESTS)
fbaa3c719d2586c59eeea0bf9995a6854106c5ffnd
fbaa3c719d2586c59eeea0bf9995a6854106c5ffndsystem-test: $(NO_TESTS)
fbaa3c719d2586c59eeea0bf9995a6854106c5ffnd
fbaa3c719d2586c59eeea0bf9995a6854106c5ffnd