Makefile revision 946
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync#
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync# CDDL HEADER START
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync#
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync# The contents of this file are subject to the terms of the
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync# Common Development and Distribution License (the "License").
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync# You may not use this file except in compliance with the License.
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync#
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync# or http://www.opensolaris.org/os/licensing.
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync# See the License for the specific language governing permissions
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync# and limitations under the License.
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync#
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync# When distributing Covered Code, include this CDDL HEADER in each
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync# If applicable, add the following below this CDDL HEADER, with the
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync# fields enclosed by brackets "[]" replaced with your own identifying
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync#
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync# CDDL HEADER END
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync#
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync# Copyright (c) 2010, 2011, Oracle and/or its affiliates. All rights reserved.
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync#
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsyncinclude ../../make-rules/shared-macros.mk
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsyncinclude ../../make-rules/ips.mk
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsyncinclude ofed.mk
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync
4237d5a79f48789aacc67dc43378d2d7813a39f4vboxsyncLD_Z_IGNORE =
4237d5a79f48789aacc67dc43378d2d7813a39f4vboxsync
4237d5a79f48789aacc67dc43378d2d7813a39f4vboxsyncCOMPONENT_VERSION=1.5.3
4237d5a79f48789aacc67dc43378d2d7813a39f4vboxsync
4237d5a79f48789aacc67dc43378d2d7813a39f4vboxsyncCOMPONENT_PROJECT_URL= http://www.openfabrics.org/
4237d5a79f48789aacc67dc43378d2d7813a39f4vboxsync
4237d5a79f48789aacc67dc43378d2d7813a39f4vboxsync# for now, everything with a Makefile should be built
4237d5a79f48789aacc67dc43378d2d7813a39f4vboxsyncSUBDIRS = $(shell echo */Makefile | sed -e 's;/Makefile;;g')
4237d5a79f48789aacc67dc43378d2d7813a39f4vboxsync
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync.PHONY: $(SUBDIRS)
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsyncdownload: TARGET = download
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsyncprep: TARGET = prep
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsyncinstall: TARGET = install
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsyncclean: TARGET = clean
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsyncclobber: TARGET = clobber
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsynctest: TARGET = test
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsyncbuild: install
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync.DEFAULT: publish
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsyncdownload prep install test: $(SUBDIRS)
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsyncclean: $(SUBDIRS)
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync $(RM) -r prototype build
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsyncclobber: $(SUBDIRS) clean
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync$(SUBDIRS): FORCE
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync @cd $@ && echo "$(TARGET) $@" && $(MAKE) $(TARGET)
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync# declare module dependencies
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsynclibrdmacm: libibverbs
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsynclibmlx4: libibverbs
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsyncrds-tools: libibverbs
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsyncperftest: libibverbs librdmacm libibverbs
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsyncqperf: libibverbs librdmacm
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsynclibibumad: libibverbs
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsynclibibmad: libibumad
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsyncopensm: libibumad libibmad
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsyncibutils: opensm
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsyncinfiniband-diags: libibverbs opensm
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsyncFORCE:
058c0c53c37f5cb271aeb3c385c10766f84f4aefvboxsync