equal
deleted
inserted
replaced
20 # |
20 # |
21 # Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved. |
21 # Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved. |
22 # |
22 # |
23 |
23 |
24 # OFED only builds with GCC |
24 # OFED only builds with GCC |
25 COMPILER=gcc3 |
25 COMPILER=gcc |
26 |
26 |
27 include ../../../make-rules/shared-macros.mk |
27 include ../../../make-rules/shared-macros.mk |
28 |
28 |
29 COMPONENT_NAME= ibutils |
29 COMPONENT_NAME= ibutils |
30 COMPONENT_VERSION= 1.5.7 |
30 COMPONENT_VERSION= 1.5.7 |
38 include $(WS_MAKE_RULES)/configure.mk |
38 include $(WS_MAKE_RULES)/configure.mk |
39 include ../ofed.mk |
39 include ../ofed.mk |
40 |
40 |
41 LIBS += -lsocket -lnsl -lopensm -losmvendor -losmcomp -libumad -libmad |
41 LIBS += -lsocket -lnsl -lopensm -losmvendor -losmcomp -libumad -libmad |
42 |
42 |
|
43 LDFLAGS.64 += -L $(PROTO_DIR)/usr/lib/$(MACH64) |
|
44 |
43 # we want to use the libcheck here |
45 # we want to use the libcheck here |
44 DISABLE_LIBCHECK= |
46 DISABLE_LIBCHECK= |
45 |
47 |
46 CONFIGURE_ENV += INSTALL_DATA="$(INSTALL) -m 644" |
48 CONFIGURE_ENV += INSTALL_DATA="$(INSTALL) -m 644" |
47 |
49 |
|
50 CONFIGURE_OPTIONS += CXXFLAGS="$(CXXFLAGS)" |
48 CONFIGURE_OPTIONS += --with-osm=$(PROTO_DIR)/usr |
51 CONFIGURE_OPTIONS += --with-osm=$(PROTO_DIR)/usr |
|
52 CONFIGURE_OPTIONS += --bindir=$(USRSBINDIR) |
49 |
53 |
50 PROTOMAN = $(PROTO_DIR)/$(CONFIGURE_MANDIR) |
54 PROTOMAN = $(PROTO_DIR)/$(CONFIGURE_MANDIR) |
51 |
55 |
52 CLEANUP_FILES =\ |
56 CLEANUP_FILES =\ |
53 $(PROTOUSRLIBDIR)/libibdm.la\ |
57 $(PROTOUSRLIBDIR)/libibdm.la\ |
96 COMPONENT_POST_INSTALL_ACTION=\ |
100 COMPONENT_POST_INSTALL_ACTION=\ |
97 $(RM) $(CLEANUP_FILES);\ |
101 $(RM) $(CLEANUP_FILES);\ |
98 $(RM) -r $(CLEANUP_DIRS) |
102 $(RM) -r $(CLEANUP_DIRS) |
99 |
103 |
100 # common targets |
104 # common targets |
101 configure: $(CONFIGURE_32) |
105 configure: $(CONFIGURE_32_and_64) |
102 |
106 |
103 build: $(BUILD_32) |
107 build: $(BUILD_32_and_64) |
104 |
108 |
105 install: $(INSTALL_32) |
109 install: $(INSTALL_32_and_64) |
106 |
110 |
107 test: $(NO_TESTS) |
111 test: $(NO_TESTS) |
108 |
112 |
109 system-test: $(NO_TESTS) |
113 system-test: $(NO_TESTS) |
110 |
114 |