Makefile revision 5562
2408N/A#
2408N/A# CDDL HEADER START
2408N/A#
2408N/A# The contents of this file are subject to the terms of the
2408N/A# Common Development and Distribution License (the "License").
2408N/A# You may not use this file except in compliance with the License.
2408N/A#
2408N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2408N/A# or http://www.opensolaris.org/os/licensing.
2408N/A# See the License for the specific language governing permissions
2408N/A# and limitations under the License.
2408N/A#
2408N/A# When distributing Covered Code, include this CDDL HEADER in each
2408N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2408N/A# If applicable, add the following below this CDDL HEADER, with the
2408N/A# fields enclosed by brackets "[]" replaced with your own identifying
2408N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2408N/A#
2408N/A# CDDL HEADER END
2408N/A#
2408N/A# Copyright (c) 2010, 2016, Oracle and/or its affiliates. All rights reserved.
2408N/A#
5680N/A
2408N/ALD_Z_IGNORE =
5680N/A
2408N/ACOMPONENT_NAME= open-fabrics
2408N/ACOMPONENT_VERSION=1.5.3
2408N/A
5680N/ACOMPONENT_PROJECT_URL= http://www.openfabrics.org/
2408N/ACOMPONENT_BUGDB= library/ofuv_lib utility/ofuv_tools library/ofuv_psif
2408N/A
6744N/ATPNO_OPEN_FABRICS= 3369
2408N/ATPNO_IBUTILS= 5084
2408N/ATPNO_INFINIBAND_DIAGS= 5085
2408N/ATPNO_LIBIBMAD= 5086
2408N/ATPNO_LIBIBUMAD= 5087
6744N/ATPNO_LIBIBVERBS= 5082
2408N/ATPNO_LIBMLX4= 5088
2408N/ATPNO_LIBRDMACM= 5089
2408N/ATPNO_LIBSDP= 5080
6744N/ATPNO_OPENSM= 5091
2899N/ATPNO_PERFTEST= 5081
5680N/ATPNO_QPERF= 5083
5680N/ATPNO_RDS_TOOLS= 5092
5680N/A
2408N/Ainclude ../../make-rules/shared-macros.mk
2408N/A
2408N/A# sensitive to kernel interface changes.
2408N/Aifeq ($(BUILD_TYPE), evaluation)
5680N/APUBLISH_STAMP=
5680N/ASUBDIRS =
2408N/Aelse
6744N/A# for now, everything with a Makefile should be built
6744N/ASUBDIRS = $(shell echo */Makefile | sed -e 's;/Makefile;;g')
5680N/Aendif
5680N/A
2408N/Ainclude $(WS_MAKE_RULES)/ips.mk
2408N/Ainclude ofed.mk
3817N/A
3817N/A# Do not apply the standard license transforms for this component. The
# license actions in the open-fabrics.p5m file are already tagged with the
# attributes.
LICENSE_TRANSFORMS =
.PHONY: $(SUBDIRS)
download:: TARGET = download
unpack:: TARGET = unpack
patch:: TARGET = patch
prep:: TARGET = prep
install: TARGET = install
clean: TARGET = clean
clobber: TARGET = clobber
test: TARGET = test
system-test: TARGET = system-test
parfait: TARGET = parfait
build: install
.DEFAULT: publish
download unpack patch prep:: $(SUBDIRS)
install test system-test: $(SUBDIRS)
parfait:
$(MAKE) PARFAIT_BUILD=yes install
clean:: $(SUBDIRS)
$(RM) -r prototype build
clobber:: $(SUBDIRS) clean
$(SUBDIRS): FORCE
@cd $@ && echo "$(TARGET) $@" && $(MAKE) $(TARGET)
# declare module dependencies
librdmacm: libibverbs
libmlx4: libibverbs
rds-tools: libibverbs
perftest: libibverbs librdmacm libibverbs
qperf: libibverbs librdmacm
libibumad: libibverbs
libibmad: libibumad
opensm: libibumad libibmad
ibutils: opensm
infiniband-diags: libibverbs opensm
libsif: libibverbs
FORCE:
REQUIRED_PACKAGES += runtime/perl-512
REQUIRED_PACKAGES += runtime/perl-520
REQUIRED_PACKAGES += runtime/tcl-8
REQUIRED_PACKAGES += shell/bash
REQUIRED_PACKAGES += shell/ksh93
REQUIRED_PACKAGES += system/library
REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
REQUIRED_PACKAGES += system/library/gcc/gcc-c++-runtime
REQUIRED_PACKAGES += system/library/math