Makefile revision 4194
219N/A#
219N/A# CDDL HEADER START
219N/A#
219N/A# The contents of this file are subject to the terms of the
219N/A# Common Development and Distribution License (the "License").
219N/A# You may not use this file except in compliance with the License.
219N/A#
219N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
219N/A# or http://www.opensolaris.org/os/licensing.
219N/A# See the License for the specific language governing permissions
219N/A# and limitations under the License.
219N/A#
219N/A# When distributing Covered Code, include this CDDL HEADER in each
219N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
219N/A# If applicable, add the following below this CDDL HEADER, with the
219N/A# fields enclosed by brackets "[]" replaced with your own identifying
219N/A# information: Portions Copyright [yyyy] [name of copyright owner]
219N/A#
219N/A# CDDL HEADER END
219N/A#
219N/A# Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved.
219N/A#
219N/A
219N/ALD_Z_IGNORE =
219N/A
219N/ACOMPONENT_NAME= open-fabrics
219N/ACOMPONENT_VERSION=1.5.3
219N/A
219N/ACOMPONENT_PROJECT_URL= http://www.openfabrics.org/
219N/ACOMPONENT_BUGDB= library/ofuv_lib utility/ofuv_tools
219N/A
219N/ATPNO_OPEN_FABRICS= 3369
219N/ATPNO_IBUTILS= 5084
219N/ATPNO_INFINIBAND_DIAGS= 5085
219N/ATPNO_LIBIBMAD= 5086
219N/ATPNO_LIBIBUMAD= 5087
219N/ATPNO_LIBIBVERBS= 5082
219N/ATPNO_LIBMLX4= 5088
219N/ATPNO_LIBRDMACM= 5089
219N/ATPNO_LIBSDP= 5080
219N/ATPNO_OPENSM= 5091
219N/ATPNO_PERFTEST= 5081
219N/ATPNO_QPERF= 5083
219N/ATPNO_RDS_TOOLS= 5092
219N/A
219N/Ainclude ../../make-rules/shared-macros.mk
219N/Ainclude $(WS_MAKE_RULES)/ips.mk
219N/Ainclude ofed.mk
219N/A
219N/A# for now, everything with a Makefile should be built
219N/ASUBDIRS = $(shell echo */Makefile | sed -e 's;/Makefile;;g')
219N/A
219N/A# Do not apply the standard license transforms for this component. The
219N/A# license actions in the open-fabrics.p5m file are already tagged with the
219N/A# attributes.
219N/ALICENSE_TRANSFORMS =
219N/A
219N/A.PHONY: $(SUBDIRS)
219N/A
219N/Adownload:: TARGET = download
219N/Aunpack:: TARGET = unpack
219N/Apatch:: TARGET = patch
219N/Aprep:: TARGET = prep
219N/Ainstall: TARGET = install
219N/Aclean: TARGET = clean
219N/Aclobber: TARGET = clobber
219N/Atest: TARGET = test
219N/Aparfait: TARGET = parfait
219N/A
219N/Abuild: install
219N/A
219N/A.DEFAULT: publish
219N/A
219N/Adownload unpack patch prep:: $(SUBDIRS)
219N/Ainstall test: $(SUBDIRS)
219N/A
219N/Aparfait:
219N/A $(MAKE) PARFAIT_BUILD=yes install
219N/A
219N/Aclean:: $(SUBDIRS)
219N/A $(RM) -r prototype build
219N/A
219N/Aclobber:: $(SUBDIRS) clean
219N/A
219N/A$(SUBDIRS): FORCE
219N/A @cd $@ && echo "$(TARGET) $@" && $(MAKE) $(TARGET)
219N/A
219N/A# declare module dependencies
219N/Alibrdmacm: libibverbs
219N/Alibmlx4: libibverbs
219N/Ards-tools: libibverbs
219N/Aperftest: libibverbs librdmacm libibverbs
219N/Aqperf: libibverbs librdmacm
219N/Alibibumad: libibverbs
219N/Alibibmad: libibumad
219N/Aopensm: libibumad libibmad
219N/Aibutils: opensm
219N/Ainfiniband-diags: libibverbs opensm
219N/A
219N/AFORCE:
219N/A
219N/AREQUIRED_PACKAGES += runtime/perl-512
219N/AREQUIRED_PACKAGES += runtime/perl-516
219N/AREQUIRED_PACKAGES += runtime/tcl-8
219N/AREQUIRED_PACKAGES += shell/bash
219N/AREQUIRED_PACKAGES += shell/ksh93
219N/AREQUIRED_PACKAGES += system/library
219N/AREQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
219N/AREQUIRED_PACKAGES += system/library/gcc/gcc-c++-runtime
219N/AREQUIRED_PACKAGES += system/library/math
219N/AREQUIRED_PACKAGES += system/linker
219N/A