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