Makefile revision 369
f743002678eb67b99bbc29fee116b65d9530fec0wrowe#
415bb21f281e9b4f905d5893fede9165bdf1491bjim# CDDL HEADER START
415bb21f281e9b4f905d5893fede9165bdf1491bjim#
f743002678eb67b99bbc29fee116b65d9530fec0wrowe# The contents of this file are subject to the terms of the
f743002678eb67b99bbc29fee116b65d9530fec0wrowe# Common Development and Distribution License (the "License").
f743002678eb67b99bbc29fee116b65d9530fec0wrowe# You may not use this file except in compliance with the License.
f743002678eb67b99bbc29fee116b65d9530fec0wrowe#
2cd2891cea784de97020bcada4e834e224428d0ccovener# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2cd2891cea784de97020bcada4e834e224428d0ccovener# or http://www.opensolaris.org/os/licensing.
2cd2891cea784de97020bcada4e834e224428d0ccovener# See the License for the specific language governing permissions
2cd2891cea784de97020bcada4e834e224428d0ccovener# and limitations under the License.
1f9c3dc1ba4b56b2c14f40db86f532114504b5cfwrowe#
1f9c3dc1ba4b56b2c14f40db86f532114504b5cfwrowe# When distributing Covered Code, include this CDDL HEADER in each
2cd2891cea784de97020bcada4e834e224428d0ccovener# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
675e4332325dd31c8188c23608828f69d30e9906sf# If applicable, add the following below this CDDL HEADER, with the
675e4332325dd31c8188c23608828f69d30e9906sf# fields enclosed by brackets "[]" replaced with your own identifying
675e4332325dd31c8188c23608828f69d30e9906sf# information: Portions Copyright [yyyy] [name of copyright owner]
fa8e640eeec5c0b3db42e13f1df0bafd0d89d56fsf#
fa8e640eeec5c0b3db42e13f1df0bafd0d89d56fsf# CDDL HEADER END
fa8e640eeec5c0b3db42e13f1df0bafd0d89d56fsf#
9fb3d1792a78003c60a8f0fdbef30a372b39452esf# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
9fb3d1792a78003c60a8f0fdbef30a372b39452esf#
9fb3d1792a78003c60a8f0fdbef30a372b39452esfinclude ../../../make-rules/shared-macros.mk
9fb3d1792a78003c60a8f0fdbef30a372b39452esf
2c238b83c08ac2d040d9057b1ba83ba7f71138b7kbrandCOMPONENT_NAME= qperf
2c238b83c08ac2d040d9057b1ba83ba7f71138b7kbrandCOMPONENT_VERSION= 0.4.6
2c238b83c08ac2d040d9057b1ba83ba7f71138b7kbrandCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
2c238b83c08ac2d040d9057b1ba83ba7f71138b7kbrandCOMPONENT_ARCHIVE= $(COMPONENT_SRC)-0.1.gb81434e.tar.gz
067fc2710958d8d2a276cd8e54284a178d232a8bsfCOMPONENT_ARCHIVE_HASH= sha1:9f9d8fcc06ac8393ed74498ca391bbb5c76a7798
067fc2710958d8d2a276cd8e54284a178d232a8bsfCOMPONENT_ARCHIVE_URL= http://www.openfabrics.org/downloads/qperf/$(COMPONENT_ARCHIVE)
067fc2710958d8d2a276cd8e54284a178d232a8bsf
40a9ce7a0e17b10b08693f98ed4f64e456ef69a1kbrandinclude $(WS_TOP)/make-rules/prep.mk
40a9ce7a0e17b10b08693f98ed4f64e456ef69a1kbrandinclude $(WS_TOP)/make-rules/configure.mk
40a9ce7a0e17b10b08693f98ed4f64e456ef69a1kbrandinclude ../ofed.mk
3a59bb90be3bc6246632384c3d885b875ae507d5sf
3a59bb90be3bc6246632384c3d885b875ae507d5sfLIBS += -lsocket -lnsl -lkstat -lrdmacm -libverbs
3a59bb90be3bc6246632384c3d885b875ae507d5sf
3a59bb90be3bc6246632384c3d885b875ae507d5sfCOMPONENT_INSTALL_ENV += INSTALL="$(INSTALL) -m 755"
c9d1b78375e7ce7c2ccd7162d48da0eb84631bd3covener
c9d1b78375e7ce7c2ccd7162d48da0eb84631bd3covenerCOMPONENT_PRE_CONFIGURE_ACTION = \
c9d1b78375e7ce7c2ccd7162d48da0eb84631bd3covener (mkdir $(@D)/src ; cd $(@D)/src ; ln -s $(SOURCE_DIR)/src/help.txt ; \
f7407ba6bea5ed1151cfcefcfa774b531c26eecdrpluem ln -s $(SOURCE_DIR)/src/mkhelp ; ln -s $(SOURCE_DIR)/src/mkman)
f7407ba6bea5ed1151cfcefcfa774b531c26eecdrpluem
f7407ba6bea5ed1151cfcefcfa774b531c26eecdrpluem# common targets
f7407ba6bea5ed1151cfcefcfa774b531c26eecdrpluembuild: $(BUILD_32_and_64)
650d8321b62cccd1830684935bb5362b4c495b17sf
650d8321b62cccd1830684935bb5362b4c495b17sfinstall: $(INSTALL_32_and_64)
650d8321b62cccd1830684935bb5362b4c495b17sf
7bf4eb9638a127fbfbc402d2c0e4ec0085934cf0sfBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
7bf4eb9638a127fbfbc402d2c0e4ec0085934cf0sf
f7acc4b00a8bf92fea10fce6ac09aa57eafec0ecjimtest: $(NO_TESTS)
f7acc4b00a8bf92fea10fce6ac09aa57eafec0ecjim
f7acc4b00a8bf92fea10fce6ac09aa57eafec0ecjiminclude $(WS_TOP)/make-rules/depend.mk
f7acc4b00a8bf92fea10fce6ac09aa57eafec0ecjim