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= qperf |
29 COMPONENT_NAME= qperf |
30 COMPONENT_VERSION= 0.4.6 |
30 COMPONENT_VERSION= 0.4.6 |
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 -lkstat -lrdmacm -libverbs |
41 LIBS += -lsocket -lnsl -lkstat -lrdmacm -libverbs |
42 |
42 |
|
43 CONFIGURE_OPTIONS += --bindir=$(USRBINDIR) |
|
44 |
43 COMPONENT_INSTALL_ENV += INSTALL="$(INSTALL) -m 755" |
45 COMPONENT_INSTALL_ENV += INSTALL="$(INSTALL) -m 755" |
44 |
46 |
45 COMPONENT_PRE_CONFIGURE_ACTION = \ |
47 COMPONENT_PRE_CONFIGURE_ACTION = \ |
46 (mkdir $(@D)/src ; cd $(@D)/src ; ln -s $(SOURCE_DIR)/src/help.txt ; \ |
48 (mkdir $(@D)/src ; cd $(@D)/src ; ln -s $(SOURCE_DIR)/src/help.txt ; \ |
47 ln -s $(SOURCE_DIR)/src/mkhelp ; ln -s $(SOURCE_DIR)/src/mkman) |
49 ln -s $(SOURCE_DIR)/src/mkhelp ; ln -s $(SOURCE_DIR)/src/mkman) |
48 |
50 |
49 # common targets |
51 # common targets |
50 configure: $(CONFIGURE_32_and_64) |
52 configure: $(CONFIGURE_64) |
51 |
53 |
52 build: $(BUILD_32_and_64) |
54 build: $(BUILD_64) |
53 |
55 |
54 install: $(INSTALL_32_and_64) |
56 install: $(INSTALL_64) |
55 |
57 |
56 test: $(NO_TESTS) |
58 test: $(NO_TESTS) |
57 |
59 |
58 system-test: $(NO_TESTS) |
60 system-test: $(NO_TESTS) |
59 |
61 |