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#
5680N/A
5680N/A#
5622N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
369N/A#
5706N/ABUILD_BITS= 64
5680N/Ainclude ../ofed-component-macros.mk
369N/A
369N/ACOMPONENT_NAME= opensm
5706N/ACOMPONENT_VERSION= 3.3.19
844N/ACOMPONENT_ARCHIVE_HASH= \
5706N/A sha256:2ff7729d5566e6569a387603aa188580dede20c929c0f22baf8eb6d36d8925b6
5706N/ACOMPONENT_ARCHIVE_URL= https://www.openfabrics.org/downloads/management/$(COMPONENT_ARCHIVE)
5622N/ACOMPONENT_BUGDB= library/ofuv_lib
369N/A
5680N/Ainclude ../ofed-component.mk
369N/A
369N/ACFLAGS += -std=gnu99
369N/A
5680N/ALIBS += -libverbs -libumad -libmad
369N/A
369N/ACLEANUP_FILES = \
5680N/A $(PROTOUSRLIBDIR)/libosmcomp.la \
5680N/A $(PROTOUSRLIBDIR64)/libosmcomp.la \
5680N/A $(PROTOUSRLIBDIR)/libosmvendor.la \
5680N/A $(PROTOUSRLIBDIR64)/libosmvendor.la \
5680N/A $(PROTOUSRLIBDIR)/libopensm.la \
5680N/A $(PROTOUSRLIBDIR64)/libopensm.la \
369N/A $(PROTOUSRSBINDIR)/opensm \
369N/A $(PROTOUSRSBINDIR)/osmtest \
5680N/A $(PROTOETCDIR)/init.d/opensmd \
5680N/A $(PROTOUSRSHAREMAN8DIR)/opensm.8 \
5680N/A $(PROTOUSRSHAREMAN8DIR)/osmtest.8
369N/A
369N/ACOMPONENT_POST_INSTALL_ACTION = \
369N/A $(RM) $(CLEANUP_FILES);\
5680N/A $(RM) $(PROTOUSRLIBDIR)/$(COMPONENT_NAME).la;\
5680N/A $(RM) $(PROTOUSRLIBDIR64)/$(COMPONENT_NAME).la;\
5680N/A $(RM) -r $(PROTOETCDIR)
369N/A
369N/ACOMPONENT_PRE_BUILD_ACTION =\
5680N/A $(MV) $(PROTOUSRLIBDIR)/libibverbs.la\
5680N/A $(PROTOUSRLIBDIR)/.libibverbs.la;\
5680N/A $(MV) $(PROTOUSRLIBDIR64)/libibverbs.la\
5680N/A $(PROTOUSRLIBDIR64)/.libibverbs.la
369N/A
369N/ACOMPONENT_POST_BUILD_ACTION =\
5680N/A $(MV) $(PROTOUSRLIBDIR)/.libibverbs.la\
5680N/A $(PROTOUSRLIBDIR)/libibverbs.la;\
5680N/A $(MV) $(PROTOUSRLIBDIR64)/.libibverbs.la\
5680N/A $(PROTOUSRLIBDIR64)/libibverbs.la
3477N/A