46 CPPFLAGS += -I$(PWD)/../libmlx4/libmlx4-1.0.1/src |
46 CPPFLAGS += -I$(PWD)/../libmlx4/libmlx4-1.0.1/src |
47 CPPFLAGS += -I$(PWD)/../librdmacm/librdmacm-1.0.14.1/include |
47 CPPFLAGS += -I$(PWD)/../librdmacm/librdmacm-1.0.14.1/include |
48 |
48 |
49 LIBS += -lsocket -lnsl -lkstat |
49 LIBS += -lsocket -lnsl -lkstat |
50 |
50 |
|
51 CONFIGURE_OPTIONS += --bindir=$(USRBINDIR) |
|
52 |
51 # --disable-libcheck is not a supported option for this component |
53 # --disable-libcheck is not a supported option for this component |
52 DISABLE_LIBCHECK= |
54 DISABLE_LIBCHECK= |
53 |
55 |
54 COMPONENT_PREP_ACTION = \ |
56 COMPONENT_PREP_ACTION = \ |
55 cp ofa_solaris.h $(@D)/include/infiniband ; \ |
57 cp ofa_solaris.h $(@D)/include/infiniband ; \ |
57 cd ../libmlx4; gmake prep; \ |
59 cd ../libmlx4; gmake prep; \ |
58 cd ../librdmacm; gmake prep |
60 cd ../librdmacm; gmake prep |
59 |
61 |
60 COMPONENT_POST_INSTALL_ACTION = \ |
62 COMPONENT_POST_INSTALL_ACTION = \ |
61 $(RM) $(PROTO_DIR)/$(CONFIGURE_BINDIR.$(BITS))/ibv_uc_pingpong; \ |
63 $(RM) $(PROTO_DIR)/$(CONFIGURE_BINDIR.$(BITS))/ibv_uc_pingpong; \ |
62 $(RM) $(PROTO_DIR)/$(CONFIGURE_BINDIR.64)/ibv_devices \ |
64 $(RM) $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man1/ibv_uc_pingpong.1 \ |
63 $(PROTO_DIR)/$(CONFIGURE_BINDIR.64)/ibv_devinfo \ |
|
64 $(PROTO_DIR)/$(CONFIGURE_BINDIR.64)/ibv_asyncwatch \ |
|
65 $(PROTO_DIR)/$(CONFIGURE_BINDIR.64)/ibv_rc_pingpong \ |
|
66 $(PROTO_DIR)/$(CONFIGURE_BINDIR.64)/ibv_uc_pingpong \ |
|
67 $(PROTO_DIR)/$(CONFIGURE_BINDIR.64)/ibv_ud_pingpong \ |
|
68 $(PROTO_DIR)/$(CONFIGURE_BINDIR.64)/ibv_srq_pingpong \ |
|
69 $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man1/ibv_uc_pingpong.1 \ |
|
70 $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/ibv_reg_xrc_rcv_qp.3 \ |
65 $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/ibv_reg_xrc_rcv_qp.3 \ |
71 $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/ibv_create_xrc_srq.3 \ |
66 $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/ibv_create_xrc_srq.3 \ |
72 $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/ibv_open_xrc_domain.3 \ |
67 $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/ibv_open_xrc_domain.3 \ |
73 $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/ibv_close_xrc_domain.3 \ |
68 $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/ibv_close_xrc_domain.3 \ |
74 $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/ibv_unreg_xrc_rcv_qp.3 \ |
69 $(PROTO_DIR)/$(CONFIGURE_MANDIR)/man3/ibv_unreg_xrc_rcv_qp.3 \ |