Makefile revision 4994
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#
3661N/A# Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved.
369N/A#
3661N/A
3661N/ATPNO_OPEN_FABRICS= 3369
3661N/ATPNO_IBUTILS= 5084
3661N/ATPNO_INFINIBAND_DIAGS= 5085
3661N/ATPNO_LIBIBMAD= 5086
3661N/ATPNO_LIBIBUMAD= 5087
3661N/ATPNO_LIBIBVERBS= 5082
3661N/ATPNO_LIBMLX4= 5088
3661N/ATPNO_LIBRDMACM= 5089
3661N/ATPNO_LIBSDP= 5080
3661N/ATPNO_OPENSM= 5091
3661N/ATPNO_PERFTEST= 5081
3661N/ATPNO_QPERF= 5083
3661N/ATPNO_RDS_TOOLS= 5092
3661N/A
369N/Ainclude ../../make-rules/shared-macros.mk
4561N/A
4561N/A# sensitive to kernel interface changes.
4561N/Aifeq ($(BUILD_TYPE), evaluation)
4561N/APUBLISH_STAMP=
4561N/Aendif
4561N/A
3996N/Ainclude $(WS_MAKE_RULES)/ips.mk
369N/Ainclude ofed.mk
369N/A
369N/ALD_Z_IGNORE =
369N/A
1273N/ACOMPONENT_NAME= open-fabrics
369N/ACOMPONENT_VERSION=1.5.3
369N/A
618N/ACOMPONENT_PROJECT_URL= http://www.openfabrics.org/
1273N/ACOMPONENT_BUGDB= library/ofuv_lib utility/ofuv_tools
618N/A
4561N/Aifeq ($(BUILD_TYPE), evaluation)
4561N/ASUBDIRS =
4561N/Aelse
369N/A# for now, everything with a Makefile should be built
369N/ASUBDIRS = $(shell echo */Makefile | sed -e 's;/Makefile;;g')
4561N/Aendif
369N/A
1574N/A# Do not apply the standard license transforms for this component. The
1574N/A# license actions in the open-fabrics.p5m file are already tagged with the
1574N/A# attributes.
1574N/ALICENSE_TRANSFORMS =
1574N/A
369N/A.PHONY: $(SUBDIRS)
369N/A
369N/Adownload: TARGET = download
369N/Aprep: TARGET = prep
369N/Ainstall: TARGET = install
369N/Aclean: TARGET = clean
369N/Aclobber: TARGET = clobber
369N/Atest: TARGET = test
369N/A
369N/Abuild: install
369N/A
369N/A.DEFAULT: publish
369N/A
369N/Adownload prep install test: $(SUBDIRS)
369N/A
369N/Aclean: $(SUBDIRS)
369N/A $(RM) -r prototype build
369N/A
369N/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
369N/Aperftest: libibverbs librdmacm libibverbs
369N/Aqperf: libibverbs librdmacm
369N/Alibibumad: libibverbs
369N/Alibibmad: libibumad
369N/Aopensm: libibumad libibmad
369N/Aibutils: opensm
369N/Ainfiniband-diags: libibverbs opensm
369N/A
369N/AFORCE:
3996N/AREQUIRED_PACKAGES += runtime/perl-512
3996N/AREQUIRED_PACKAGES += runtime/tcl-8
3996N/AREQUIRED_PACKAGES += shell/bash
3996N/AREQUIRED_PACKAGES += shell/ksh93
3996N/AREQUIRED_PACKAGES += system/library
4994N/AREQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
4994N/AREQUIRED_PACKAGES += system/library/gcc/gcc-c++-runtime
3996N/AREQUIRED_PACKAGES += system/library/math
3996N/AREQUIRED_PACKAGES += system/linker