307N/A#
307N/A# CDDL HEADER START
307N/A#
307N/A# The contents of this file are subject to the terms of the
307N/A# Common Development and Distribution License (the "License").
307N/A# You may not use this file except in compliance with the License.
307N/A#
307N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
307N/A# or http://www.opensolaris.org/os/licensing.
307N/A# See the License for the specific language governing permissions
307N/A# and limitations under the License.
307N/A#
307N/A# When distributing Covered Code, include this CDDL HEADER in each
307N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
307N/A# If applicable, add the following below this CDDL HEADER, with the
307N/A# fields enclosed by brackets "[]" replaced with your own identifying
307N/A# information: Portions Copyright [yyyy] [name of copyright owner]
307N/A#
307N/A# CDDL HEADER END
307N/A#
307N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
307N/A#
3996N/Ainclude ../../../make-rules/shared-macros.mk
307N/A
307N/ACOMPONENT_NAME= libibmad
307N/ACOMPONENT_VERSION= 1.3.12
307N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
4512N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
4512N/ACOMPONENT_ARCHIVE_HASH= \
4512N/A sha256:f1bfb512b5b927496bf8214da1de1972494c7e244d1a68320924b2a933f8937b
4512N/ACOMPONENT_ARCHIVE_URL= https://www.openfabrics.org/downloads/management/$(COMPONENT_ARCHIVE)
4512N/A
307N/Ainclude $(WS_MAKE_RULES)/prep.mk
307N/Ainclude $(WS_MAKE_RULES)/configure.mk
4512N/Ainclude ../ofed.mk
4512N/A
307N/ALIBS += -lsocket -lnsl -libumad
1273N/A
307N/ACOMPONENT_POST_INSTALL_ACTION =\
4512N/A $(RM) $(PROTO_DIR)/$(CONFIGURE_LIBDIR.32)/$(COMPONENT_NAME).la;\
3661N/A $(RM) $(PROTO_DIR)/$(CONFIGURE_LIBDIR.64)/$(COMPONENT_NAME).la;\
3996N/A
307N/A# common targets
307N/Abuild: $(BUILD_32_and_64)
307N/A
307N/Ainstall: $(INSTALL_32_and_64)
307N/A
3996N/A
307N/Atest: $(NO_TESTS)
307N/A
307N/A