Makefile revision 4337
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz#
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz# CDDL HEADER START
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz#
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz# The contents of this file are subject to the terms of the
bb25c06cca41ca78e5fb87fbb8e81d55beb18c95jg# Common Development and Distribution License (the "License").
bb25c06cca41ca78e5fb87fbb8e81d55beb18c95jg# You may not use this file except in compliance with the License.
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz#
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz# or http://www.opensolaris.org/os/licensing.
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz# See the License for the specific language governing permissions
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz# and limitations under the License.
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz#
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz# When distributing Covered Code, include this CDDL HEADER in each
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz# If applicable, add the following below this CDDL HEADER, with the
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz# fields enclosed by brackets "[]" replaced with your own identifying
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz# information: Portions Copyright [yyyy] [name of copyright owner]
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz#
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz# CDDL HEADER END
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz#
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz#
bb25c06cca41ca78e5fb87fbb8e81d55beb18c95jg
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz# OFED only builds with GCC
60b08185ce63023f22fd6b2ed0db8c0d119b2023yzCOMPILER=gcc3
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz
60b08185ce63023f22fd6b2ed0db8c0d119b2023yzinclude ../../../make-rules/shared-macros.mk
bb25c06cca41ca78e5fb87fbb8e81d55beb18c95jg
60b08185ce63023f22fd6b2ed0db8c0d119b2023yzCOMPONENT_NAME= libibumad
60b08185ce63023f22fd6b2ed0db8c0d119b2023yzCOMPONENT_VERSION= 1.3.7
60b08185ce63023f22fd6b2ed0db8c0d119b2023yzCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
60b08185ce63023f22fd6b2ed0db8c0d119b2023yzCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
60b08185ce63023f22fd6b2ed0db8c0d119b2023yzCOMPONENT_ARCHIVE_HASH= \
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz sha256:4999cb9ff5c7243027d8a154d6b27d1efffaa4359b84447731c5ef545fb72229
60b08185ce63023f22fd6b2ed0db8c0d119b2023yzCOMPONENT_ARCHIVE_URL= http://www.openfabrics.org/downloads/management/$(COMPONENT_ARCHIVE)
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz
60b08185ce63023f22fd6b2ed0db8c0d119b2023yzinclude $(WS_MAKE_RULES)/prep.mk
60b08185ce63023f22fd6b2ed0db8c0d119b2023yzinclude $(WS_MAKE_RULES)/configure.mk
60b08185ce63023f22fd6b2ed0db8c0d119b2023yzinclude ../ofed.mk
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz
60b08185ce63023f22fd6b2ed0db8c0d119b2023yzLIBS += -lsocket -lnsl -libverbs
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz
60b08185ce63023f22fd6b2ed0db8c0d119b2023yzCLEANUP_FILES = $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_free.3 \
4ebb14b236958cfe1ef4ff3b7a50216d9e51f997frits $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_done.3 \
4ebb14b236958cfe1ef4ff3b7a50216d9e51f997frits $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_send.3 \
4ebb14b236958cfe1ef4ff3b7a50216d9e51f997frits $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_recv.3 \
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_init.3 \
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_dump.3 \
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_poll.3 \
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_size.3 \
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_debug.3 \
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_alloc.3 \
c138f478d2bc94e73ab8f6a084e323bec25e62f5yz $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_get_ca.3 \
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_get_fd.3 \
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_status.3 \
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_get_mad.3 \
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_set_grh.3 \
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_set_addr.3 \
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_get_pkey.3 \
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_get_port.3 \
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_set_pkey.3 \
bb25c06cca41ca78e5fb87fbb8e81d55beb18c95jg $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_register.3 \
bb25c06cca41ca78e5fb87fbb8e81d55beb18c95jg $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_addr_dump.3 \
bb25c06cca41ca78e5fb87fbb8e81d55beb18c95jg $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_open_port.3 \
bb25c06cca41ca78e5fb87fbb8e81d55beb18c95jg $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_release_ca.3 \
bb25c06cca41ca78e5fb87fbb8e81d55beb18c95jg $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_close_port.3 \
bb25c06cca41ca78e5fb87fbb8e81d55beb18c95jg $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_unregister.3 \
bb25c06cca41ca78e5fb87fbb8e81d55beb18c95jg $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_set_grh_net.3 \
bb25c06cca41ca78e5fb87fbb8e81d55beb18c95jg $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_get_mad_addr.3 \
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_set_addr_net.3 \
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_release_port.3 \
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_register_oui.3 \
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_get_cas_names.3 \
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_get_issm_path.3 \
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/umad_get_ca_portguids.3
4ebb14b236958cfe1ef4ff3b7a50216d9e51f997frits
4ebb14b236958cfe1ef4ff3b7a50216d9e51f997fritsCOMPONENT_POST_INSTALL_ACTION = \
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz $(RM) $(PROTO_DIR)/$(CONFIGURE_LIBDIR.32)/$(COMPONENT_NAME).la;\
4ebb14b236958cfe1ef4ff3b7a50216d9e51f997frits $(RM) $(PROTO_DIR)/$(CONFIGURE_LIBDIR.64)/$(COMPONENT_NAME).la;\
4ebb14b236958cfe1ef4ff3b7a50216d9e51f997frits $(RM) $(CLEANUP_FILES)
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz# common targets
60b08185ce63023f22fd6b2ed0db8c0d119b2023yzconfigure: $(CONFIGURE_32_and_64)
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz
60b08185ce63023f22fd6b2ed0db8c0d119b2023yzbuild: $(BUILD_32_and_64)
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz
60b08185ce63023f22fd6b2ed0db8c0d119b2023yzinstall: $(INSTALL_32_and_64)
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz
60b08185ce63023f22fd6b2ed0db8c0d119b2023yztest: $(NO_TESTS)
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz
60b08185ce63023f22fd6b2ed0db8c0d119b2023yzsystem-test: $(NO_TESTS)
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz
4ebb14b236958cfe1ef4ff3b7a50216d9e51f997frits