Makefile revision 369
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#
369N/A# Copyright (c) 2010, 2011, Oracle and/or its affiliates. All rights reserved.
369N/A#
369N/Ainclude ../../make-rules/shared-macros.mk
369N/Ainclude ../../make-rules/ips.mk
369N/Ainclude ofed.mk
369N/A
369N/ALD_Z_IGNORE =
369N/A
369N/ACOMPONENT_VERSION=1.5.3
369N/ACOMPONENT_ARCHIVE_URL=http://www.openfabrics/org/downloads/OFED/ofed-1.5.3/OFED-1.5.3.tgz
369N/A
369N/A# for now, everything with a Makefile should be built
369N/ASUBDIRS = $(shell echo */Makefile | sed -e 's;/Makefile;;g')
369N/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/Alibmthca: 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: