Makefile revision 844
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# CDDL HEADER START
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# The contents of this file are subject to the terms of the
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Common Development and Distribution License (the "License").
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg# You may not use this file except in compliance with the License.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# or http://www.opensolaris.org/os/licensing.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# See the License for the specific language governing permissions
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# and limitations under the License.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# When distributing Covered Code, include this CDDL HEADER in each
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# If applicable, add the following below this CDDL HEADER, with the
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# fields enclosed by brackets "[]" replaced with your own identifying
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# information: Portions Copyright [yyyy] [name of copyright owner]
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# CDDL HEADER END
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesinclude ../../../make-rules/shared-macros.mk
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_NAME= libibumad
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_VERSION= 1.3.7
70953fb44a7140fe206c3a5f011e24209c8c5c6abnicholesCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
70953fb44a7140fe206c3a5f011e24209c8c5c6abnicholesCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_ARCHIVE_HASH= \
cfb941e9ad5276eef7bc8f3eedcd270f30cfec35fuankg sha256:4999cb9ff5c7243027d8a154d6b27d1efffaa4359b84447731c5ef545fb72229
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_ARCHIVE_URL= http://www.openfabrics.org/downloads/management/$(COMPONENT_ARCHIVE)
892aaf5c314ef8e7b3ba53b5c5259b729f014bc1bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesinclude $(WS_TOP)/make-rules/prep.mk
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesinclude $(WS_TOP)/make-rules/configure.mk
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesinclude ../ofed.mk
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesLIBS += -lsocket -lnsl -libverbs
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCLEANUP_FILES = $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_free.3 \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_done.3 \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_send.3 \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_recv.3 \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_init.3 \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_dump.3 \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_poll.3 \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_size.3 \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_debug.3 \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_alloc.3 \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_get_ca.3 \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_get_fd.3 \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_status.3 \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_get_mad.3 \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_set_grh.3 \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_set_addr.3 \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_get_pkey.3 \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_get_port.3 \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_set_pkey.3 \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_register.3 \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_addr_dump.3 \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_open_port.3 \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_release_ca.3 \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_close_port.3 \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_unregister.3 \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_set_grh_net.3 \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_get_mad_addr.3 \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_set_addr_net.3 \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_release_port.3 \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_register_oui.3 \
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_get_cas_names.3 \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_get_issm_path.3 \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_get_ca_portguids.3
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesCOMPONENT_POST_INSTALL_ACTION = \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(RM) $(PROTO_DIR)/$(CONFIGURE_LIBDIR.32)/$(COMPONENT_NAME).la;\
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(RM) $(PROTO_DIR)/$(CONFIGURE_LIBDIR.64)/$(COMPONENT_NAME).la;\
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(RM) $(CLEANUP_FILES)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# common targets
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesbuild: $(BUILD_32_and_64)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesinstall: $(INSTALL_32_and_64)
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholestest: $(NO_TESTS)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesinclude $(WS_TOP)/make-rules/depend.mk
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes