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#
5562N/A# Copyright (c) 2010, 2016, Oracle and/or its affiliates. All rights reserved.
369N/A#
5680N/Ainclude ../../make-rules/shared-macros.mk
369N/A
369N/ALD_Z_IGNORE =
369N/A
1244N/ACOMPONENT_NAME= open-fabrics
5706N/ACOMPONENT_VERSION=3.18
5680N/ACOMPONENT_SRC=
369N/A
618N/ACOMPONENT_PROJECT_URL= http://www.openfabrics.org/
5622N/ACOMPONENT_BUGDB= library/ofuv_lib
618N/A
5706N/ATPNO_IBUTILS= 24918
5706N/ATPNO_INFINIBAND_DIAGS= 24917
5706N/ATPNO_LIBIBMAD= 24856
5706N/ATPNO_LIBIBUMAD= 24914
5706N/ATPNO_LIBIBVERBS= 25232
5706N/ATPNO_LIBMLX4= 25233
5706N/ATPNO_LIBRDMACM= 25227
5706N/ATPNO_OPENSM= 24915
5706N/ATPNO_QPERF= 24916
2899N/ATPNO_LIBSDP= 5080
2899N/ATPNO_PERFTEST= 5081
2899N/ATPNO_RDS_TOOLS= 5092
2899N/A
7259N/Ainclude libsif/libsif-macros.mk
7259N/A
7259N/APKG_MACROS += LIBSIF_COMPONENT_VERSION=$(LIBSIF_COMPONENT_VERSION)
7259N/APKG_MACROS += LIBSIF_COMPONENT_ARCHIVE_URL=$(LIBSIF_COMPONENT_ARCHIVE_URL)
7259N/A
4968N/A# sensitive to kernel interface changes.
4968N/Aifeq ($(BUILD_TYPE), evaluation)
4968N/APUBLISH_STAMP=
4968N/ASUBDIRS =
4968N/Aelse
4968N/A# for now, everything with a Makefile should be built
4968N/ASUBDIRS = $(shell echo */Makefile | sed -e 's;/Makefile;;g')
4968N/Aendif
4968N/A
5680N/Ainclude ofed.mk
3817N/Ainclude $(WS_MAKE_RULES)/ips.mk
2899N/A
1498N/A# Do not apply the standard license transforms for this component. The
1498N/A# license actions in the open-fabrics.p5m file are already tagged with the
1498N/A# attributes.
1498N/ALICENSE_TRANSFORMS =
1498N/A
369N/A.PHONY: $(SUBDIRS)
369N/A
4194N/Adownload:: TARGET = download
4194N/Aunpack:: TARGET = unpack
4194N/Apatch:: TARGET = patch
4194N/Aprep:: TARGET = prep
369N/Ainstall: TARGET = install
369N/Aclean: TARGET = clean
369N/Aclobber: TARGET = clobber
369N/Atest: TARGET = test
4337N/Asystem-test: TARGET = system-test
2051N/Aparfait: TARGET = parfait
369N/A
369N/Abuild: install
369N/A
369N/A.DEFAULT: publish
369N/A
4194N/Adownload unpack patch prep:: $(SUBDIRS)
4337N/Ainstall test system-test: $(SUBDIRS)
369N/A
2051N/Aparfait:
2051N/A $(MAKE) PARFAIT_BUILD=yes install
2051N/A
4194N/Aclean:: $(SUBDIRS)
369N/A $(RM) -r prototype build
369N/A
4194N/Aclobber:: $(SUBDIRS) clean
369N/A
369N/A$(SUBDIRS): FORCE
369N/A @cd $@ && echo "$(TARGET) $@" && $(MAKE) $(TARGET)
369N/A
369N/A# declare module dependencies
369N/Alibrdmacm: libibverbs
369N/Alibmlx4: libibverbs
369N/Ards-tools: libibverbs
5706N/Aperftest: libibverbs librdmacm
369N/Aqperf: libibverbs librdmacm
369N/Alibibumad: libibverbs
369N/Alibibmad: libibumad
369N/Aopensm: libibumad libibmad
369N/Aibutils: opensm
369N/Ainfiniband-diags: libibverbs opensm
5562N/Alibsif: libibverbs
369N/A
369N/AFORCE:
3817N/A
5706N/AREQUIRED_PACKAGES += library/glib2
5795N/AREQUIRED_PACKAGES += $(PERL_PKG)
3817N/AREQUIRED_PACKAGES += runtime/tcl-8
3817N/AREQUIRED_PACKAGES += shell/bash
3817N/AREQUIRED_PACKAGES += shell/ksh93
3817N/AREQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
3817N/AREQUIRED_PACKAGES += system/library/gcc/gcc-c++-runtime
3817N/AREQUIRED_PACKAGES += system/library/math