Makefile revision 6320
70N/A#
70N/A# CDDL HEADER START
286N/A#
70N/A# The contents of this file are subject to the terms of the
70N/A# Common Development and Distribution License (the "License").
70N/A# You may not use this file except in compliance with the License.
70N/A#
70N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
70N/A# or http://www.opensolaris.org/os/licensing.
70N/A# See the License for the specific language governing permissions
70N/A# and limitations under the License.
70N/A#
70N/A# When distributing Covered Code, include this CDDL HEADER in each
70N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
70N/A# If applicable, add the following below this CDDL HEADER, with the
70N/A# fields enclosed by brackets "[]" replaced with your own identifying
70N/A# information: Portions Copyright [yyyy] [name of copyright owner]
70N/A#
70N/A# CDDL HEADER END
70N/A#
70N/A# Copyright (c) 2010, 2016, Oracle and/or its affiliates. All rights reserved.
70N/A#
70N/A
70N/ATPNO_IBUTILS= 24918
70N/ATPNO_INFINIBAND_DIAGS= 24917
70N/ATPNO_LIBIBMAD= 24856
70N/ATPNO_LIBIBUMAD= 24914
70N/ATPNO_LIBIBVERBS= 25232
70N/ATPNO_LIBMLX4= 25233
70N/ATPNO_LIBRDMACM= 25227
546N/ATPNO_LIBSDP= 5080
70N/ATPNO_OPENSM= 24915
70N/ATPNO_PERFTEST= 5081
70N/ATPNO_QPERF= 24916
359N/ATPNO_RDS_TOOLS= 5092
359N/A
359N/Ainclude ../../make-rules/shared-macros.mk
98N/A
321N/A# sensitive to kernel interface changes.
493N/Aifeq ($(BUILD_TYPE), evaluation)
321N/APUBLISH_STAMP=
213N/Aendif
304N/A
530N/Ainclude $(WS_MAKE_RULES)/ips.mk
425N/Ainclude ofed.mk
425N/A
325N/ALD_Z_IGNORE =
493N/A
536N/ACOMPONENT_NAME= open-fabrics
456N/ACOMPONENT_VERSION=3.18
320N/A
332N/ACOMPONENT_PROJECT_URL= http://www.openfabrics.org/
501N/ACOMPONENT_BUGDB= library/ofuv_lib utility/ofuv_tools library/ofuv_psif
231N/A
523N/Aifeq ($(BUILD_TYPE), evaluation)
98N/ASUBDIRS =
347N/Aelse
532N/A# for now, everything with a Makefile should be built
525N/ASUBDIRS = $(shell echo */Makefile | sed -e 's;/Makefile;;g')
463N/Aendif
493N/A
425N/A# Do not apply the standard license transforms for this component. The
493N/A# license actions in the open-fabrics.p5m file are already tagged with the
472N/A# attributes.
324N/ALICENSE_TRANSFORMS =
347N/A
310N/A.PHONY: $(SUBDIRS)
316N/A
474N/Adownload: TARGET = download
290N/Aprep: TARGET = prep
332N/Ainstall: TARGET = install
464N/Aclean: TARGET = clean
332N/Aclobber: TARGET = clobber
509N/Atest: TARGET = test
332N/A
210N/Abuild: install
493N/A
128N/A.DEFAULT: publish
414N/A
484N/Adownload prep install test: $(SUBDIRS)
326N/A
493N/Aclean: $(SUBDIRS)
335N/A $(RM) -r prototype build
493N/A
493N/Aclobber: $(SUBDIRS) clean
425N/A
370N/A$(SUBDIRS): FORCE
70N/A @cd $@ && echo "$(TARGET) $@" && $(MAKE) $(TARGET)
400N/A
294N/A# declare module dependencies
435N/Alibrdmacm: libibverbs
98N/Alibmlx4: libibverbs
434N/Ards-tools: libibverbs
505N/Aperftest: libibverbs librdmacm libibverbs
277N/Aqperf: libibverbs librdmacm
433N/Alibibumad: libibverbs
546N/Alibibmad: libibumad
356N/Aopensm: libibumad libibmad
289N/Aibutils: opensm
326N/Ainfiniband-diags: libibverbs opensm
439N/Alibsif: libibverbs
501N/A
469N/AFORCE:
290N/AREQUIRED_PACKAGES += library/glib2
542N/AREQUIRED_PACKAGES += runtime/perl-512
424N/AREQUIRED_PACKAGES += runtime/tcl-8
286N/AREQUIRED_PACKAGES += shell/bash
543N/AREQUIRED_PACKAGES += shell/ksh93
90N/AREQUIRED_PACKAGES += system/library
475N/AREQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
535N/AREQUIRED_PACKAGES += system/library/gcc/gcc-c++-runtime
295N/AREQUIRED_PACKAGES += system/library/math
70N/AREQUIRED_PACKAGES += system/linker
299N/A