Makefile revision 5680
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# CDDL HEADER START
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# The contents of this file are subject to the terms of the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Common Development and Distribution License (the "License").
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# You may not use this file except in compliance with the License.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# or http://www.opensolaris.org/os/licensing.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# See the License for the specific language governing permissions
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# and limitations under the License.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# When distributing Covered Code, include this CDDL HEADER in each
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# If applicable, add the following below this CDDL HEADER, with the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# fields enclosed by brackets "[]" replaced with your own identifying
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# information: Portions Copyright [yyyy] [name of copyright owner]
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# CDDL HEADER END
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
a1e9eea083a8f257157edb8a1efb5bbd300eb4bfSrikanth, Ramana
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteBUILD_BITS= 64_and_32
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteinclude ../ofed-component-macros.mk
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCOMPONENT_NAME= infiniband-diags
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCOMPONENT_VERSION= 1.5.8
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCOMPONENT_ARCHIVE_HASH= \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte sha256:0baf6694d54602a66dfc2b82a765c933b24534fd8e2bda7e9b89abf503b29c02
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCOMPONENT_ARCHIVE_URL= http://www.openfabrics.org/downloads/management/$(COMPONENT_ARCHIVE)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCOMPONENT_BUGDB= utility/ofuv_tools
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteINSTALL_TARGET=
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteinclude ../ofed-component.mk
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCFLAGS += -I$(PROTOUSRINCDIR)/infiniband
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteLIBS += -lopensm -losmvendor -losmcomp -libumad -libmad -libverbs -ldevinfo
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
7014882c6a3672fd0e5d60200af8643ae53c5928Richard LoweCOMPONENT_PREP_ACTION = \
7014882c6a3672fd0e5d60200af8643ae53c5928Richard Lowe cp solaris_set_nodedesc.c $(@D)/src
7014882c6a3672fd0e5d60200af8643ae53c5928Richard Lowe
7014882c6a3672fd0e5d60200af8643ae53c5928Richard LoweCOMPONENT_INSTALL_ENV += PERL=$(PERL.5.12)
7014882c6a3672fd0e5d60200af8643ae53c5928Richard Lowe
494f7e12a62129ef191a15f9dfde6b7abe3bf510Keith M WesolowskiCONFIGURE_ENV += PERL=$(PERL.5.12)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# it apears that configure is broken
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCOMPONENT_BUILD_ARGS += LIBS="$(LIBS)"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCOMPONENT_PRE_CONFIGURE_ACTION =\
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte $(SYMLINK) ../../$(COMPONENT_SRC)/include $(@D)/include
a1e9eea083a8f257157edb8a1efb5bbd300eb4bfSrikanth, Ramana
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCOMPONENT_POST_CONFIGURE_ACTION=\
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte $(SYMLINK) ../../../$(COMPONENT_SRC)/scripts/IBswcountlimits.pm $(@D)/scripts
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLEANUP_FILES =\
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte $(PROTO_DIR)/$(CONFIGURE_LIBDIR.32)/libibnetdisc.la\
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte $(PROTO_DIR)/$(CONFIGURE_LIBDIR.32)/libibnetdisc.so \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte $(PROTOUSRBINDIR)/vendstat\
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte $(PROTOUSRBINDIR)/dump_lfts.sh \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte $(PROTOUSRBINDIR)/dump_mfts.sh\
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte $(PROTOUSRBINDIR)/ibidsverify.pl \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte $(PROTOUSRBINDIR)/ibfindnodesusing.pl\
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte $(PROTOUSRSHAREMAN8DIR)/vendstat.8 \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte $(PROTOUSRSHAREMAN8DIR)/dump_lfts.8 \
a1e9eea083a8f257157edb8a1efb5bbd300eb4bfSrikanth, Ramana $(PROTOUSRSHAREMAN8DIR)/dump_mfts.8 \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte $(PROTOUSRSHAREMAN8DIR)/ibidsverify.8 \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte $(PROTOUSRSHAREMAN8DIR)/ibfindnodesusing.8 \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte $(PROTOUSRINCDIR)/infiniband/ibnetdisc.h\
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCOMPONENT_POST_INSTALL_ACTION =\
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte $(RM) $(CLEANUP_FILES);\
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte $(INSTALL) -m 644 manpages/set_nodedesc.sh.8 $(PROTOUSRSHAREMAN8DIR)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# common targets
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteinstall: $(INSTALL_32_and_64) #$(PROTOMAN8FILES)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte