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