Makefile revision 1498
5331N/A#
5331N/A# CDDL HEADER START
5331N/A#
5331N/A# The contents of this file are subject to the terms of the
5331N/A# Common Development and Distribution License (the "License").
5331N/A# You may not use this file except in compliance with the License.
5331N/A#
5331N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5331N/A# or http://www.opensolaris.org/os/licensing.
5331N/A# See the License for the specific language governing permissions
5331N/A# and limitations under the License.
5331N/A#
5331N/A# When distributing Covered Code, include this CDDL HEADER in each
5331N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5331N/A# If applicable, add the following below this CDDL HEADER, with the
5331N/A# fields enclosed by brackets "[]" replaced with your own identifying
5331N/A# information: Portions Copyright [yyyy] [name of copyright owner]
5331N/A#
5331N/A# CDDL HEADER END
5331N/A#
5331N/A# Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
5331N/A#
5331N/Ainclude ../../make-rules/shared-macros.mk
5331N/Ainclude ../../make-rules/ips.mk
5331N/Ainclude ofed.mk
5331N/A
5331N/ALD_Z_IGNORE =
5331N/A
5331N/ACOMPONENT_NAME= open-fabrics
5331N/ACOMPONENT_VERSION=1.5.3
5331N/A
5331N/ACOMPONENT_PROJECT_URL= http://www.openfabrics.org/
5331N/ACOMPONENT_BUGDB= library/ofuv_lib utility/ofuv_tools
5380N/A
5331N/A# for now, everything with a Makefile should be built
5331N/ASUBDIRS = $(shell echo */Makefile | sed -e 's;/Makefile;;g')
5331N/A
5331N/A# Do not apply the standard license transforms for this component. The
5331N/A# license actions in the open-fabrics.p5m file are already tagged with the
5331N/A# attributes.
5331N/ALICENSE_TRANSFORMS =
5331N/A
5331N/A.PHONY: $(SUBDIRS)
5331N/A
5331N/Adownload: TARGET = download
5331N/Aprep: TARGET = prep
5331N/Ainstall: TARGET = install
5331N/Aclean: TARGET = clean
5331N/Aclobber: TARGET = clobber
5331N/Atest: TARGET = test
5331N/A
5331N/Abuild: install
5331N/A
5331N/A.DEFAULT: publish
5331N/A
5331N/Adownload prep install test: $(SUBDIRS)
5331N/A
5331N/Aclean: $(SUBDIRS)
5331N/A $(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: