Makefile revision 369
888N/A#
888N/A# CDDL HEADER START
888N/A#
888N/A# The contents of this file are subject to the terms of the
888N/A# Common Development and Distribution License (the "License").
888N/A# You may not use this file except in compliance with the License.
888N/A#
888N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
888N/A# or http://www.opensolaris.org/os/licensing.
888N/A# See the License for the specific language governing permissions
888N/A# and limitations under the License.
888N/A#
888N/A# When distributing Covered Code, include this CDDL HEADER in each
888N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
888N/A# If applicable, add the following below this CDDL HEADER, with the
888N/A# fields enclosed by brackets "[]" replaced with your own identifying
888N/A# information: Portions Copyright [yyyy] [name of copyright owner]
888N/A#
888N/A# CDDL HEADER END
888N/A#
888N/A# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
888N/A#
888N/Ainclude ../../../make-rules/shared-macros.mk
888N/A
888N/ACOMPONENT_NAME= qperf
888N/ACOMPONENT_VERSION= 0.4.6
888N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
888N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC)-0.1.gb81434e.tar.gz
888N/ACOMPONENT_ARCHIVE_HASH= sha1:9f9d8fcc06ac8393ed74498ca391bbb5c76a7798
888N/ACOMPONENT_ARCHIVE_URL= http://www.openfabrics.org/downloads/qperf/$(COMPONENT_ARCHIVE)
888N/A
888N/Ainclude $(WS_TOP)/make-rules/prep.mk
888N/Ainclude $(WS_TOP)/make-rules/configure.mk
888N/Ainclude ../ofed.mk
888N/A
1298N/ALIBS += -lsocket -lnsl -lkstat -lrdmacm -libverbs
888N/A
888N/ACOMPONENT_INSTALL_ENV += INSTALL="$(INSTALL) -m 755"
888N/A
888N/ACOMPONENT_PRE_CONFIGURE_ACTION = \
888N/A (mkdir $(@D)/src ; cd $(@D)/src ; ln -s $(SOURCE_DIR)/src/help.txt ; \
888N/A ln -s $(SOURCE_DIR)/src/mkhelp ; ln -s $(SOURCE_DIR)/src/mkman)
888N/A
888N/A# common targets
888N/Abuild: $(BUILD_32_and_64)
888N/A
888N/Ainstall: $(INSTALL_32_and_64)
888N/A
888N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
888N/A
888N/Atest: $(NO_TESTS)
include $(WS_TOP)/make-rules/depend.mk