equal
deleted
inserted
replaced
16 # fields enclosed by brackets "[]" replaced with your own identifying |
16 # fields enclosed by brackets "[]" replaced with your own identifying |
17 # information: Portions Copyright [yyyy] [name of copyright owner] |
17 # information: Portions Copyright [yyyy] [name of copyright owner] |
18 # |
18 # |
19 # CDDL HEADER END |
19 # CDDL HEADER END |
20 # |
20 # |
21 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved. |
21 # Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved. |
22 # |
22 # |
23 include ../../../make-rules/shared-macros.mk |
23 include ../../../make-rules/shared-macros.mk |
24 |
24 |
25 COMPONENT_NAME= infiniband-diags |
25 COMPONENT_NAME= infiniband-diags |
26 COMPONENT_VERSION= 1.5.8 |
26 COMPONENT_VERSION= 1.5.8 |
28 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
28 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
29 COMPONENT_ARCHIVE_HASH= \ |
29 COMPONENT_ARCHIVE_HASH= \ |
30 sha256:0baf6694d54602a66dfc2b82a765c933b24534fd8e2bda7e9b89abf503b29c02 |
30 sha256:0baf6694d54602a66dfc2b82a765c933b24534fd8e2bda7e9b89abf503b29c02 |
31 COMPONENT_ARCHIVE_URL= http://www.openfabrics.org/downloads/management/$(COMPONENT_ARCHIVE) |
31 COMPONENT_ARCHIVE_URL= http://www.openfabrics.org/downloads/management/$(COMPONENT_ARCHIVE) |
32 |
32 |
33 include $(WS_TOP)/make-rules/prep.mk |
33 include $(WS_MAKE_RULES)/prep.mk |
34 include $(WS_TOP)/make-rules/configure.mk |
34 include $(WS_MAKE_RULES)/configure.mk |
35 include ../ofed.mk |
35 include ../ofed.mk |
36 |
36 |
37 MAN1MFILES = set_nodedesc.sh.1m |
37 MAN1MFILES = set_nodedesc.sh.1m |
38 |
|
39 include $(WS_TOP)/make-rules/shared-targets.mk |
|
40 |
38 |
41 CFLAGS += -I$(PROTO_DIR)/usr/include/infiniband |
39 CFLAGS += -I$(PROTO_DIR)/usr/include/infiniband |
42 LIBS += -lsocket -lnsl -lopensm -losmvendor -losmcomp -libumad -libmad -libverbs -ldevinfo |
40 LIBS += -lsocket -lnsl -lopensm -losmvendor -losmcomp -libumad -libmad -libverbs -ldevinfo |
43 |
41 |
44 COMPONENT_PREP_ACTION = \ |
42 COMPONENT_PREP_ACTION = \ |
81 # common targets |
79 # common targets |
82 build: $(BUILD_32) |
80 build: $(BUILD_32) |
83 |
81 |
84 install: $(INSTALL_32) $(PROTOMAN1MFILES) |
82 install: $(INSTALL_32) $(PROTOMAN1MFILES) |
85 |
83 |
86 BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS) |
|
87 |
84 |
88 test: $(NO_TESTS) |
85 test: $(NO_TESTS) |
89 |
86 |
90 include $(WS_TOP)/make-rules/depend.mk |
|