Makefile revision 5562
236N/A#
236N/A# CDDL HEADER START
236N/A#
236N/A# The contents of this file are subject to the terms of the
236N/A# Common Development and Distribution License (the "License").
236N/A# You may not use this file except in compliance with the License.
236N/A#
236N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
236N/A# or http://www.opensolaris.org/os/licensing.
236N/A# See the License for the specific language governing permissions
236N/A# and limitations under the License.
236N/A#
236N/A# When distributing Covered Code, include this CDDL HEADER in each
236N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
236N/A# If applicable, add the following below this CDDL HEADER, with the
236N/A# fields enclosed by brackets "[]" replaced with your own identifying
236N/A# information: Portions Copyright [yyyy] [name of copyright owner]
236N/A#
236N/A# CDDL HEADER END
236N/A#
236N/A# Copyright (c) 2010, 2016, Oracle and/or its affiliates. All rights reserved.
236N/A#
3817N/A
236N/ALD_Z_IGNORE =
236N/A
236N/ACOMPONENT_NAME= open-fabrics
236N/ACOMPONENT_VERSION=1.5.3
236N/A
406N/ACOMPONENT_PROJECT_URL= http://www.openfabrics.org/
236N/ACOMPONENT_BUGDB= library/ofuv_lib utility/ofuv_tools library/ofuv_psif
236N/A
236N/ATPNO_OPEN_FABRICS= 3369
844N/ATPNO_IBUTILS= 5084
844N/ATPNO_INFINIBAND_DIAGS= 5085
406N/ATPNO_LIBIBMAD= 5086
1258N/ATPNO_LIBIBUMAD= 5087
236N/ATPNO_LIBIBVERBS= 5082
2899N/ATPNO_LIBMLX4= 5088
2899N/ATPNO_LIBRDMACM= 5089
3817N/ATPNO_LIBSDP= 5080
3817N/ATPNO_OPENSM= 5091
3817N/ATPNO_PERFTEST= 5081
236N/ATPNO_QPERF= 5083
236N/ATPNO_RDS_TOOLS= 5092
236N/A
236N/Ainclude ../../make-rules/shared-macros.mk
236N/A
236N/A# sensitive to kernel interface changes.
236N/Aifeq ($(BUILD_TYPE), evaluation)
1520N/APUBLISH_STAMP=
236N/ASUBDIRS =
236N/Aelse
3477N/A# for now, everything with a Makefile should be built
3477N/ASUBDIRS = $(shell echo */Makefile | sed -e 's;/Makefile;;g')
1530N/Aendif
236N/A
1530N/Ainclude $(WS_MAKE_RULES)/ips.mk
236N/Ainclude ofed.mk
236N/A
236N/A# Do not apply the standard license transforms for this component. The
4337N/A# license actions in the open-fabrics.p5m file are already tagged with the
4337N/A# attributes.
236N/ALICENSE_TRANSFORMS =
3817N/A
3817N/A.PHONY: $(SUBDIRS)
3817N/A
3817N/Adownload:: TARGET = download
3817N/Aunpack:: TARGET = unpack
3817N/Apatch:: TARGET = patch
3817N/Aprep:: TARGET = prep
3817N/Ainstall: TARGET = install
3817N/Aclean: 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