Makefile revision 1273
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# CDDL HEADER START
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# The contents of this file are subject to the terms of the
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# Common Development and Distribution License (the "License").
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# You may not use this file except in compliance with the License.
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# or http://www.opensolaris.org/os/licensing.
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# See the License for the specific language governing permissions
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# and limitations under the License.
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# When distributing Covered Code, include this CDDL HEADER in each
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# If applicable, add the following below this CDDL HEADER, with the
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# fields enclosed by brackets "[]" replaced with your own identifying
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# information: Portions Copyright [yyyy] [name of copyright owner]
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# CDDL HEADER END
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes#
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesinclude ../../../make-rules/shared-macros.mk
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesCOMPONENT_NAME= qperf
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesCOMPONENT_VERSION= 0.4.6
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesCOMPONENT_ARCHIVE= $(COMPONENT_SRC)-0.1.gb81434e.tar.gz
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesCOMPONENT_ARCHIVE_HASH= \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes sha256:304b89d1b006c959cad3b132346a6d061526fe626953ef99c764df396e43f959
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesCOMPONENT_ARCHIVE_URL= http://www.openfabrics.org/downloads/qperf/$(COMPONENT_ARCHIVE)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesinclude $(WS_TOP)/make-rules/prep.mk
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesinclude $(WS_TOP)/make-rules/configure.mk
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesinclude ../ofed.mk
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesLIBS += -lsocket -lnsl -lkstat -lrdmacm -libverbs
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesCOMPONENT_INSTALL_ENV += INSTALL="$(INSTALL) -m 755"
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesCOMPONENT_PRE_CONFIGURE_ACTION = \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes (mkdir $(@D)/src ; cd $(@D)/src ; ln -s $(SOURCE_DIR)/src/help.txt ; \
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes ln -s $(SOURCE_DIR)/src/mkhelp ; ln -s $(SOURCE_DIR)/src/mkman)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes# common targets
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesbuild: $(BUILD_32_and_64)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesinstall: $(INSTALL_32_and_64)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholestest: $(NO_TESTS)
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholesinclude $(WS_TOP)/make-rules/depend.mk
3c937b528ca923d5b51e63def9f888af4a77bb40bnicholes