gcc-6: use $(GNU_ARCH) in manifest
[unleashed-userland.git] / components / open-fabrics / Makefile
blob9c6407478515abda3edff3caff91b8eac9b5587a
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
19 # CDDL HEADER END
21 # Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
23 include ../../make-rules/shared-macros.mk
24 include ../../make-rules/ips.mk
25 include ofed.mk
27 LD_Z_IGNORE =
29 COMPONENT_NAME= open-fabrics
30 COMPONENT_VERSION=1.5.3
32 COMPONENT_PROJECT_URL= http://www.openfabrics.org/
33 COMPONENT_BUGDB= library/ofuv_lib utility/ofuv_tools
35 # for now, everything with a Makefile should be built
36 SUBDIRS = $(shell echo */Makefile | sed -e 's;/Makefile;;g')
38 # Do not apply the standard license transforms for this component. The
39 # license actions in the open-fabrics.p5m file are already tagged with the
40 # attributes.
41 LICENSE_TRANSFORMS =
43 .PHONY: $(SUBDIRS)
45 download: TARGET = download
46 prep: TARGET = prep
47 install: TARGET = install
48 clean: TARGET = clean
49 clobber: TARGET = clobber
50 test: TARGET = test
52 build: install
54 .DEFAULT: publish
56 download prep install test: $(SUBDIRS)
58 clean: $(SUBDIRS)
59 $(RM) -r prototype build
61 clobber: $(SUBDIRS) clean
63 $(SUBDIRS): FORCE
64 @cd $@ && echo "$(TARGET) $@" && $(MAKE) $(TARGET)
66 # declare module dependencies
67 librdmacm: libibverbs
68 libmlx4: libibverbs
69 rds-tools: libibverbs
70 perftest: libibverbs librdmacm libibverbs
71 qperf: libibverbs librdmacm
72 libibumad: libibverbs
73 libibmad: libibumad
74 opensm: libibumad libibmad
75 ibutils: opensm
76 infiniband-diags: libibverbs opensm
78 FORCE: