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